Hi Everyone,
I got the change list created.
this list is a list of all the locations (88 loctions) that would be required to be changed if anyone was interested in increasing build queue.
I have sorted the list into the type of change with original values. current value (after patch is applied) is at top of each section with the amount per new slot to add.
some values were moved into reloc section due to they required to be 4 byte so they would not go negative.
Code: Select all
6C -> CC change locations +18h per slot added
4378BD 0x36cbd B9 6C 00 00 00 mov ecx, 6Ch
0x00036cbe 6c
4378DB 0x36cdb 83 C0 6C add eax, 6Ch
0x01a0461 6C
4378DE 0x36cde 83 C5 6C add ebp, 6Ch
0x01a0467 6C
437BFB 0x36ffb B9 6C 00 00 00 mov ecx, 6Ch
0x01a0491 6C
437C18 0x37018 83 C3 6C add ebx, 6Ch
0x01a04af 6C
437F49 0x37349 83 C0 6C add eax, 6Ch
0x01a0421 6C
44D51F 0x4c91f B9 6C 00 00 00 mov ecx, 6Ch
0x004c920 6C
44D537 0x4c937 83 E9 6C sub ecx, 6Ch
0x01a0432 6C
44D53A 0x4c93a 83 C5 6C add ebp, 6Ch
0x01a0438 6C
44D6DB 0x4cadb B9 6C 00 00 00 mov ecx, 6Ch
0x004cadc 6C
44DD34 0x4d134 B8 6C 00 00 00 mov eax, 6Ch
0x004d135 6C
44DD39 0x4d139 BB 6C 00 00 00 mov ebx, 6Ch
0x004d13a 6C
60 -> C0 change locations +18h per slot added
44D04B 0x4c44b 83 C7 60 add edi, 60h
0x01a0606 60
44D37D 0x4c77d 89 43 60 mov [ebx+60h], eax
0x01a05fc 60
44D382 0x4c782 8D 53 60 lea edx, [ebx+60h]
0x004c781 60
44D7DC 0x4cbdc C7 42 60 00 00 00 00 mov [dword ptr edx+60h], 0
0x01a05d2 60
44D7EC 0x4cbec 83 C2 60 add edx, 60h
0x004cbeb 60
44D84B 0x4cc4b 8B 53 60 mov edx, [ebx+60h]
0x01a05c9 60
44D870 0x4cc70 C7 43 60 01 00 00 00 mov [dword ptr ebx+60h], 1
0x01a05b2 60
44D8D5 0x4ccd5 8B 53 60 mov edx, [ebx+60h]
0x01a05a2 60
44D905 0x4cd05 FF 43 60 inc [dword ptr ebx+60h]
0x004cd07 60
44DA06 0x4ce06 83 7E 60 00 cmp [dword ptr esi+60h], 0
0x01a0582 60
44DA10 0x4ce10 3B 4E 60 cmp ecx, [esi+60h]
0x004ce0f 60
44DA38 0x4ce38 8B 7E 60 mov edi, [esi+60h]
0x01a0552 60
44DA71 0x4ce71 8B 56 60 mov edx, [esi+60h]
0x01a0527 60
44DA86 0x4ce86 8B 46 60 mov eax, [esi+60h]
0x004ce7f 60
44DA9C 0x4ce9c FF 4E 60 dec [dword ptr esi+60h]
0x004ce98 60
44DB1D 0x4cf1d FF 4E 60 dec [dword ptr esi+60h]
0x004cf19 60
44DB5A 0x4cf5a 8B 42 60 mov eax, [edx+60h]
0x004cf5c 60
44DB88 0x4cf88 83 79 60 00 cmp [dword ptr ecx+60h], 0
0x004cf87 60
44DB98 0x4cf98 8B 71 60 mov esi, [ecx+60h]
0x01a04c2 60
44DBC0 0x4cfc0 8B 41 60 mov eax, [ecx+60h]
0x01a0511 60
44DBD7 0x4cfd7 8B 41 60 mov eax, [ecx+60h]
0x004cfd3 60
44DBED 0x4cfed FF 49 60 dec [dword ptr ecx+60h]
0x004cfec 60
44DC12 0x4d012 FF 49 60 dec [dword ptr ecx+60h]
0x004d014 60
44DC4C 0x4d04c 83 7A 60 04 cmp [dword ptr edx+60h], 4
0x004d04e 60 ; À
44DC85 0x4d085 83 78 60 00 cmp [dword ptr eax+60h], 0
0x004d087 60
44DD4E 0x4d14e C7 41 60 00 00 00 00 mov [dword ptr ecx+60h], 0
0x01a04e2 60
44DD65 0x4d165 8D 51 60 lea edx, [ecx+60h]
0x004d164 60
64 -> C4 change locations +18h per slot added
44D376 0x4c776 C7 43 64 01 00 00 00 mov [dword ptr ebx+64h], 1
0x01a05f2 64
44D7E5 0x4cbe5 C7 42 64 01 00 00 00 mov [dword ptr edx+64h], 1
0x01a05de 64
44D87C 0x4cc7c C7 43 64 01 00 00 00 mov [dword ptr ebx+64h], 1
0x004cc7b 64
44D8BB 0x4ccbb C7 43 64 01 00 00 00 mov [dword ptr ebx+64h], 1
0x01a0595 64
44D90D 0x4cd0d C7 43 64 01 00 00 00 mov [dword ptr ebx+64h], 1
0x004cd12 64
44DA9F 0x4ce9f C7 46 64 01 00 00 00 mov [dword ptr esi+64h], 1
0x004ce9e 64
44DB20 0x4cf20 C7 46 64 01 00 00 00 mov [dword ptr esi+64h], 1
0x004cf1f 64
44DB33 0x4cf33 C7 46 64 01 00 00 00 mov [dword ptr esi+64h], 1
0x01a0572 64
44DBF1 0x4cff1 C7 41 64 01 00 00 00 mov [dword ptr ecx+64h], 1
0x01a0502 64
44DC16 0x4d016 C7 41 64 01 00 00 00 mov [dword ptr ecx+64h], 1
0x004d01b 64
44DD55 0x4d155 C7 41 64 01 00 00 00 mov [dword ptr ecx+64h], 1
0x01a04ec 64
68 -> C8 change locations +18h per slot added
44D005 0x4c405 8B 40 68 mov eax, [eax+68h]
0x004c407 68
44D025 0x4c425 89 50 68 mov [eax+68h], edx
0x004c427 68
44DB9B 0x4cf9b C7 41 68 00 00 00 00 mov [dword ptr ecx+68h], 0
0x01a04c8 68
44DD5E 0x4d15e C7 41 68 00 00 00 00 mov [dword ptr ecx+68h], 0
0x004d15a 68
; È
cmp 4 -> cmp 8 change locations +1 per slot added
44D0BC 0x4c4bc 83 F9 04 cmp ecx, 4
0x004c4be 04
44D169 0x4c569 83 FA 04 cmp edx, 4
0x004c56b 04
44D9C7 0x4cdc7 83 F9 04 cmp ecx, 4 PRODUCTION_QUEUE_MAXSIZE
0x004cdc9 04
44DC4C 0x4d04c 83 7A 60 04 cmp [dword ptr edx+60h], 4 limit production is full
0x004d052 04
4FD5E3 0xfc9e3 3B 41 04 cmp eax, [ecx+4]
0x00fc9e5 04
4FDF5F 0xfd35f 83 F9 04 cmp ecx, 4
0x00fd361 04
cmp 10 -> 20 +4 per slot added
4FDE5F 0xfd25f 8D 58 10 lea ebx, [eax+10h]
0x00fd261 10
4FDEBA 0xfd2ba 8D 78 10 lea edi, [eax+10h] // hidden cmp 4 -> 20
0x00fd2bc 10
cmp last entry of sysinfo file +18h per slot added
44DC57 0x4d057 83 C2 48 add edx, 48h
0x01a04d6 48
New table # of widgets +1 per slot added
0x01a0406 04
24 -> 34, 28 -> 38, 2C -> 3C, 30 -> 40 change locations +4 per slot added
note: locations did not change.
4FDF36 0xfd336 C7 45 24 00 00 00 00 mov dword ptr [ebp+24h], 0
4FDF9D 0xfd39d 89 45 28 mov [ebp+28h], eax
4FDFA5 0xfd3a5 C7 45 2C 00 00 00 00 mov dword ptr [ebp+2Ch], 0
4FDFAE 0xfd3ae C7 45 30 00 00 00 00 mov dword ptr [ebp+30h], 0
4FD5D3 0xfc9d3 89 50 24 mov [eax+24h], edx
4FD5D8 0xfc9d8 8B 48 24 mov ecx, [eax+24h]
4FD5F3 0xfc9f3 83 78 2C 00 cmp dword ptr [eax+2Ch], 0
4FD5FE 0xfc9fe FF 51 2C call dword ptr [ecx+2Ch]
4FDE30 0xfd230 89 50 2C mov [eax+2Ch], edx
4FDE90 0xfd290 C7 40 30 01 00 00 00 mov dword ptr [eax+30h], 1
4FDEA0 0xfd2a0 C7 40 30 00 00 00 00 mov dword ptr [eax+30h], 0
4FDECB 0xfd2cb 8B 45 28 mov eax, [ebp+28h]
4FDC8D 0xfd08d 8B 55 24 mov edx, [ebp+24h]
4FDC76 0xfd076 8B 55 24 mov edx, [ebp+24h]
4FDC67 0xfd067 8B 55 24 mov edx, [ebp+24h]
4FD7D9 0xfcbd9 8B 5D 30 mov ebx, [ebp+30h]
4FD807 0xfcc07 8B 55 24 mov edx, [ebp+24h]
4FD87D 0xfcc7d 8B 45 24 mov eax, [ebp+24h]
4FD98F 0xfcd8f 8B 45 24 mov eax, [ebp+24h]
4FD9F5 0xfcdf5 8B 45 24 mov eax, [ebp+24h]
4FDA97 0xfce97 8B 4D 24 mov ecx, [ebp+24h]
start of new table +0Ch per slot added
0x19f720
new entry for the table +0Ch per slot added
0D 00 00 00 09 08 00 00 38 02 00 00
first 4 bytes is always "0D 00 00 00" this is for slot type "picture place holder"
second 4 bytes "09 08 00 00" this is for the new id that is in *solar.wdf file and must be unique.
third 4 byte "38 02 00 00" is the trek.exe id this value must be +4 from last id.
as for editing wdfs see this topic
viewtopic.php?p=29870#p29870
and this topic
viewtopic.php?p=29528#p29528