shipname.bin
Moderator: thunderchero
-
- Site Administrator aka Fleet Admiral
- Posts: 7970
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
shipname.bin
Hi everyone,
I have been tring to edit shipname.bin so it has more groups since we can now can add more models?
all my efforts have failed
there are 62 groups that can be edited I would like to have 75 -100 groups if possible
the first 248 Bytes hold info of how many entrys for each group 4 Bytes per group.
next is "FC 00 00 00" I thought this was for pointer for start of name list but changing this has no effect
after that it is only each name entry of 44 Bytes.
so is it possible to have more groups?
thunderchero
I have been tring to edit shipname.bin so it has more groups since we can now can add more models?
all my efforts have failed
there are 62 groups that can be edited I would like to have 75 -100 groups if possible
the first 248 Bytes hold info of how many entrys for each group 4 Bytes per group.
next is "FC 00 00 00" I thought this was for pointer for start of name list but changing this has no effect
after that it is only each name entry of 44 Bytes.
so is it possible to have more groups?
thunderchero
-
- Code Master
- Posts: 1962
- Joined: Sun Apr 27, 2008 2:00 am
Re: shipname.bin
Not tested yet, but try this:thunderchero wrote:next is "FC 00 00 00" I thought this was for pointer for start of name list but changing this has no effect
In trek.exe at 0x749C8 (F8 00 00 00) seems to be offset of pointer for start of name list (FC 00 00 00) in shipname.bin.
Good luck!
EDIT:
I added in shipname.bin the new name group 0x3E and it worked fine.
But for some reason letters of ships begin with "B" instead of "A".
Btw it would be nice if ships start without letter (i.e. a space) instead of "A" for first ship with the name.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
-
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
Has anything been done with this? Asking in referenece to my post in "Modding Help Please"
I will play around with the values I suppose and see what come up with
I will play around with the values I suppose and see what come up with
-
- Code Master
- Posts: 1962
- Joined: Sun Apr 27, 2008 2:00 am
Name groups without appendix (A, B, C,...):
47560D test bx, bx -> (same as cmp bx, 0)
475612 cmp bx, 32h
475618 cmp bx, 33h
This can be controlled via removing of the jump statments or usage of "lower/greater or equal".
Offset of pointer for start of name list (FC 00 00 00) in shipname.bin:
4755C6 mov esi, [ebx+0F8h]
An increasing of both each by 4*[number of new name groups] should work.
So you need to find out (via code analysis of sub_475440 and try & error) the cause for the strange behavior.
Maybe these values have something to do with it:
dbl_596E18 ( 3E5h)
508189 cmp eax, 14Eh
47560D test bx, bx -> (same as cmp bx, 0)
475612 cmp bx, 32h
475618 cmp bx, 33h
This can be controlled via removing of the jump statments or usage of "lower/greater or equal".
Offset of pointer for start of name list (FC 00 00 00) in shipname.bin:
4755C6 mov esi, [ebx+0F8h]
An increasing of both each by 4*[number of new name groups] should work.
So you need to find out (via code analysis of sub_475440 and try & error) the cause for the strange behavior.
Maybe these values have something to do with it:
dbl_596E18 ( 3E5h)
508189 cmp eax, 14Eh
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
-
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
-
- Site Administrator aka Fleet Admiral
- Posts: 7970
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
these values are assembly locations you can use UE to convert them to hex values 0047560D and 00475440Tethys wrote:Those arent Hex are they... if you could explain this a little bit better I may be able to work with it but I have no clue what/where 47560D or sub_475440 is...
Thank you for the reply, I just wish I could understand it a bit better
thunderchero
-
- Rear-Admiral
- Posts: 1118
- Joined: Tue May 06, 2008 2:00 am
- Location: England
-
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
I was thinking the same thing last week, but i didnt wanna post again, since i had already tried to get new slots with no luck. i set the offset pointer in trek.exe to read F8 00 00 00 ( instead of FC 00 00 00 ) as the starting point of name list just so i could add 1 extra group to the end, no luck.
even tried to copy existing name group to end of shipname.bin group 3E (62) no luck either
even tried to copy existing name group to end of shipname.bin group 3E (62) no luck either
-
- Rear-Admiral
- Posts: 1118
- Joined: Tue May 06, 2008 2:00 am
- Location: England
-
- Rear-Admiral
- Posts: 1118
- Joined: Tue May 06, 2008 2:00 am
- Location: England
SCT wrote:-
this will give me 100 name groups? but i didn't understand the problem with
so SCT at 0x749C8 F8 00 00 00 change to 09 01 00 00 (400dec - 100 groups of 4)In trek.exe at 0x749C8 (F8 00 00 00) seems to be offset of pointer for start of name list (FC 00 00 00) in shipname.bin.
Good luck!
I added in shipname.bin the new name group 0x3E and it worked fine.
this will give me 100 name groups? but i didn't understand the problem with
But for some reason letters of ships begin with "B" instead of "A"
-
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
-
- Rear-Admiral
- Posts: 1118
- Joined: Tue May 06, 2008 2:00 am
- Location: England
-
- Rear-Admiral
- Posts: 1118
- Joined: Tue May 06, 2008 2:00 am
- Location: England
Just to let you know what i'm upto...
changes in shipname.bin
FC 00 00 00 -> 94 01 00 00
added 38 new indicies (01 00 00 00)
added 38 new Names one for each index (44 bytes) 2byte index (e.g. 5a 00) the FF FF and a single letter as a name diffrent for each new ship index.
changes to trek.exe
at 0x749C8 F8 00 00 00 [62*4=248 dec] -> 90 01 00 00 [100*4=400 dec]
Upon loading the latest version of UE the shipnames only list 0 to 61? does anyone know if UE supports extra shipname.bin indices?
EDIT:- CTD no crash.log HELP any ideas lads?
changes in shipname.bin
FC 00 00 00 -> 94 01 00 00
added 38 new indicies (01 00 00 00)
added 38 new Names one for each index (44 bytes) 2byte index (e.g. 5a 00) the FF FF and a single letter as a name diffrent for each new ship index.
changes to trek.exe
at 0x749C8 F8 00 00 00 [62*4=248 dec] -> 90 01 00 00 [100*4=400 dec]
Upon loading the latest version of UE the shipnames only list 0 to 61? does anyone know if UE supports extra shipname.bin indices?
EDIT:- CTD no crash.log HELP any ideas lads?
-
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
last time i checked my name was Tethys lolPeter1981 wrote:thanks thunderchero for your responce
and i think you need to multiply it by the # of NEW groups (eg 4*38 and not 4*100)
edit: another thing u can try is use older UE versions for example UE 6.7 - that seemed to be a big release for quite some time, perhaps there was something in it of value that is not in the newer versions, just go to DCER's 4shared folder