Obsticals on adding additional minors to BotF [i.e. >35]

This forum is for outdated or irrelevant Modding Information that may or may not be 3 months old.

Moderator: thunderchero

Post Reply
User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Obsticals on adding additional minors to BotF [i.e. >35]

Post by Peter1981 »

Quote: Jigalypuff
This is great, now new minors can actually be added without replaceing old ones, well done man
( viewtopic.php?name=Forums&file=viewtopic&t=1599 )

I've split the discussion of minors off to this topic:-

sorry Jigalypuff I don't understand... the minors are hard coded into the trek.exe game however there is a spare 13 bit in the race bit map so an extra 13 minors might be possible check out structure Offset 0x0068 to 0x006F in edifice.bst
User avatar
jigalypuff
Past Administrator
Past Administrator
Posts: 238
Joined: Sat Apr 26, 2008 2:00 am

Post by jigalypuff »

I have added new minors in the past but could never add new structures. The minor attitudes are also an issue. I will try to do this tommorow and if succesfull shall post the results here
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2071
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Post by Tethys »

DCER told me that minor attitudes are stored somewhere in aiminor.wtf if that helps
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Post by Peter1981 »

I'm just gonna list a few things to change here (including trek.exe)

1. Race.rst - this is reonably understood so should not present many problems ;) see here viewtopic.php?name=Forums&file=viewtopi ... inor#20640

2. Aiminor.wtf - anyone got a concise description of this file?

3. I thought the list would be longer befor i got to trek.exe :~

0x1746e8 asm_5768e8 there is a list of the major and minor names (in my trek.exe only 72 bytes spare for new minor names ie 72 letters (maybe 6-10 new minors if thrifty with sort names)

0x189440 asm_58B640 35x 4bytes offsets no spare code space for new minors after this you might get 9x4byte befor the code at asm_4081AC would therefor need to be adapted? this is part of sub_4080F0 :(
User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Post by Peter1981 »

thanks tethys -- sadly it looks like asm_58b640 is gonna be the stumbling block as there is (maybe) space for 9 new minors (assuming) the 36 bytes (00) are not being used for someother purpose! but again this will require a rewrite of the offset at asm_4081AC
User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Post by Peter1981 »

afaik if we do get more minors in to BotF then we'll need to analise loads of FD's and FF03's (30's & 35's) (and maybe 29/31 & 34/36's)
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2071
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Post by Tethys »

nIne is always better then nOne so keep that in mind ;)
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
Post Reply

Return to “Modding Information Archive”