techtree.tec entry example:-
Code: Select all
S i l i c o b i o l o g y . . .
53 69 6c 69 63 6f 62 69 6f 6c 6f 67 79 00 00 00
. . . . . . . . . . . . . . . .
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. . . . . . . .
00 00 00 00 00 00 00 00
11th techtree.tec index (little endian)
0b 00 *this column must be in order 00 01 02...
b i o . . . . . . . . . .
62 69 6f 00 00 00 00 00 00 00 00 00 00
Biotech Science area:-
00 00=biotech,
01=computer,
02=construction,
03=energy,
04=propulsion,
05=weapons,
06=sociology
11th science area index
0b
Always the same for every entry (unknown)
17 40 00
28580 RP's research points cost (8byte long little endian)
a4 6f 00 00 00 00 00 00
0x810c techdesc.tec address (4byte little endian)
0c 81 00 00
Trek.exe changes needed:
the following is an example for an extra 5 technologies in each science area. ie. techs 0-15
if you want to have a differing number choose the following appropriately
09 is one less than highest technology level requires
0A is the highest technology level requires
0B is the start of Future Technology or one more than the highest technology level required
ie if you want 12 technology levels then 09->0B, 0A->0C & 0B->0D
The following changes are assuming an extra 5 technologies (NOTE: You must add all techs to all fields for this to work)
Code: Select all
0x23816 replace 66 83 FA 0B with 66 83 FA 10
0x239c5 replace 80 FB 0B with 80 FB 10
0x51bf0 replace 66 83 FB 0B with 66 83 FB 10
0x51f9f replace 83 FD 0B with 83 FD 10
0x5202a replace 66 83 FE 0B with 66 83 FE 10
0x520f8 replace 66 83 FB 0B with 66 83 FB 10
0x521a7 replace BA 0A 00 00 00 with BA 0F 00 00 00
0x521b3 replace 8D 45 F6 with 8D 45 F1
0x521b6 replace 83 ED 09 with 83 ED 0E
0x52267 replace 83 E9 0A with 83 E9 0F
0x522b7 replace 83 E9 0A with 83 E9 0F
0x52427 replace 66 83 FA 0A with 66 83 FA 0F
0x5242d replace BA 09 00 00 00 with BA 0E 00 00 00
0x5268a replace 83 F8 0B with 83 F8 10
0x526e7 replace BA 0A 00 00 00 with BA 0F 00 00 00
0x526F7 replace 8D 41 F6 with 8D 41 F1
0x526FA replace 83 E9 09 with 83 E9 0E
0x529e7 replace 83 FA 0B with 83 FA 10
0x52bce replace 80 FB 0B with 80 FB 10
0x52dbf replace 80 FB 0B with 80 FB 10
0x530A3 replace 4D with 71 *this is the total number of technologies
0x534ac replace 88 C2 8D 04 with 0F B6 C0 6B
95 00 00 00 with C0 10 90 90 *use 10 for 15 technology levels
00 29 D0 C1 with 90 90 90 90
E0 02 29 D0 with 90 90 90 90
0x54608 replace 66 83 FB 0B with 66 83 FB 10
0xd1e17 replace 66 83 FA 0A with 66 83 FA 0F
0xd1e27 replace 83 E8 09 with 83 E8 0E
0xd1e46 replace BA 0A 00 00 00 with BA 0F 00 00 00
0xd5778 replace 80 FB 0B with 80 FB 10
Code: Select all
0x23816 replace 66 83 FA 0B with 66 83 FA 15
0x239c5 replace 80 FB 0B with 80 FB 15
0x51bf0 replace 66 83 FB 0B with 66 83 FB 15
0x51f9f replace 83 FD 0B with 83 FD 15
0x5202a replace 66 83 FE 0B with 66 83 FE 15
0x520f8 replace 66 83 FB 0B with 66 83 FB 15
0x521a7 replace BA 0A 00 00 00 with BA 14 00 00 00
0x521b3 replace 8D 45 F6 with 8D 45 F1
0x521b6 replace 83 ED 09 with 83 ED 13
0x52267 replace 83 E9 0A with 83 E9 14
0x522b7 replace 83 E9 0A with 83 E9 14
0x52427 replace 66 83 FA 0A with 66 83 FA 14
0x5242d replace BA 09 00 00 00 with BA 13 00 00 00
0x5268a replace 83 F8 0B with 83 F8 15
0x526e7 replace BA 0A 00 00 00 with BA 14 00 00 00
0x526F7 replace 8D 41 F6 with 8D 41 F1
0x526FA replace 83 E9 09 with 83 E9 13
0x529e7 replace 83 FA 0B with 83 FA 15
0x52bce replace 80 FB 0B with 80 FB 15
0x52dbf replace 80 FB 0B with 80 FB 15
0x530A3 replace 4D with 7F *(might also be unknown, as 7F does NOT = total Techs)
0x534ac replace 88 C2 8D 04 with 0F B6 C0 6B
95 00 00 00 with C0 15 90 90 *use 15 for 20 technology levels
00 29 D0 C1 with 90 90 90 90
E0 02 29 D0 with 90 90 90 90
0x54608 replace 66 83 FB 0B with 66 83 FB 15
0xd1e17 replace 66 83 FA 0A with 66 83 FA 14
0xd1e27 replace 83 E8 09 with 83 E8 13
0xd1e46 replace BA 0A 00 00 00 with BA 14 00 00 00
0xd5778 replace 80 FB 0B with 80 FB 15
EDIT: wrt map range see HERE.