Page 1 of 1

shiplist.sst info needed

Posted: Fri Jun 14, 2013 5:38 pm
by thunderchero
Hi Everyone,

I was looking at the shiplist.sst and noticed some areas are not list/explained. So I created a new table with all the info I could find.

I hope to find/get some help with the unknown lines in image below.

I know some of the hex type is not exactly described correctly (1 byte unsigned ect) I just used term from UE.

old image https://www.armadafleetcommand.com/lib/b ... iplist.png
Image


thunderchero

Re: shiplist.sst info needed

Posted: Thu Jul 18, 2013 4:08 pm
by Dr_Breen
offset 0xc8:
Did you notice that the Galaxy II (command cruiser II) is the only ship that has a 01 in the first byte (followed by 11 bytes with 00). all the other ships have 12 bytes filled with 00. perhaps they planed something there but never used it. or is there anything special about the Galaxy II?

Re: shiplist.sst info needed

Posted: Thu Jul 18, 2013 4:56 pm
by thunderchero
Dr_Breen wrote: or is there anything special about the Galaxy II?
yup there is
Spocks-cuddly-tribble wrote:-GalaxyII 640points beam bug (DCER)

shiplist.sst - relative offsets of GalaxyII (replace the following values with zeros):

+0xB4 (01), +0xB8 (96), +0xBC (08 ), +0xC0 (50), +0xC4 (0C), +0xC8 (01)
and at +0x101-103 (E0 75 40)
just +0xC8 (01) was never explained.

thunderchero

Re: shiplist.sst info needed

Posted: Wed Jun 03, 2015 12:46 am
by Raider Echo3
Since the min plasma range is missing maybe +0xC8 is min range for plasma weapon? ;)

Re: shiplist.sst info needed

Posted: Fri Dec 13, 2019 4:01 pm
by Spocks-cuddly-tribble
thunderchero wrote:
Fri Jun 14, 2013 5:38 pm
I hope to find/get some help with the unknown lines in image below.
Better late than never.... :wink:


Shiplist.sst [+9Ch](dword) gets tested for AI Colony & TT ships to set combat ability bit for AI taskforces i.e. unlock 'Engage' (sub_42B988).


Sub_479D10 reads shiplist.sst [+9Ch] and [+A0h] for some funny AI combat calculations. See also 'Combat.bin bug': viewtopic.php?f=272&t=566#p19075


Compare unkonwn shiplist.sst values i.e. sort ships first by value from sub_4797C0 and subordinate by:

([+9Ch] * 100 / 15868) + 10 * crew experience level

([+A0h] * 100 / 5862) + 10 * crew experience level


And of course the code has a bug...


Sorting / Selection of AI Ships (Task Forces) Crew Experience Bug-Fix

Code: Select all

0x791CF change 01 C2 89 94 -> 8B F8 01 84

0x7921A change 08 -> 38

00479DCF   8BF8              MOV EDI, EAX             // store 10 * crew experience level ship 1
00479DD1   018424 40020000   ADD [ESP+240], EAX

00479E18   8D1C38            LEA EBX, [EAX+EDI]       // use for ship 1 [+A0h]