Page 1 of 1
Obsticals on adding additional minors to BotF [i.e. >35]
Posted: Thu Jul 15, 2010 3:08 pm
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
Posted: Thu Jul 15, 2010 3:15 pm
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
Posted: Thu Jul 15, 2010 3:27 pm
by Tethys
DCER told me that minor attitudes are stored somewhere in aiminor.wtf if that helps
Posted: Thu Jul 15, 2010 3:49 pm
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
Posted: Thu Jul 15, 2010 3:54 pm
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
Posted: Thu Jul 15, 2010 3:57 pm
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)
Posted: Thu Jul 15, 2010 7:47 pm
by Tethys
nIne is always better then nOne so keep that in mind