Difference between revisions of "Talk:TACTICAL.EXE"
Jump to navigation
Jump to search
m (→English2.dat: forgot to sign) |
m (→English2.dat: cleaned up explanation formatting) |
||
Line 5: | Line 5: | ||
0 1 2 3 4 |
0 1 2 3 4 |
||
− | 0x7B (or really 0x007B) is 123, which in English2.dat is Pistol |
+ | * 0x7B (or really 0x007B) is 123, which in English2.dat is Pistol |
For further Proof: |
For further Proof: |
||
Line 13: | Line 13: | ||
26 27 28 29 |
26 27 28 29 |
||
− | 0x0095 = 149; english2.dat[149] = 'Stun Rod' (OBDATA[26] Is info for Stun Rod) |
+ | * 0x0095 = 149; english2.dat[149] = 'Stun Rod' (OBDATA[26] Is info for Stun Rod) |
− | 0x00B0 = 176; english2.dat[176] = 'Electro-flare' (OBDATA[27] is info for electro-flare) |
+ | * 0x00B0 = 176; english2.dat[176] = 'Electro-flare' (OBDATA[27] is info for electro-flare) |
− | OBDATA[28-30] are 'empty' unused obdata slots |
+ | * OBDATA[28-30] are 'empty' unused obdata slots |
(OFFSET 5F94E, 62 byte from begining, so 62/2 = 31) |
(OFFSET 5F94E, 62 byte from begining, so 62/2 = 31) |
||
Line 21: | Line 21: | ||
31 32 33 34 |
31 32 33 34 |
||
− | 0x00AE = 174; english2.dat[174] = 'Corpse', Obdata[31-33] are all corpses (with different armor) |
+ | * 0x00AE = 174; english2.dat[174] = 'Corpse', Obdata[31-33] are all corpses (with different armor) |
− | 0x0096 = 150; english2.dat[150] = 'Heavy Plasma', Obdata[34] is info for Heavy Plasma |
+ | * 0x0096 = 150; english2.dat[150] = 'Heavy Plasma', Obdata[34] is info for Heavy Plasma |
[[User:Pi Masta|Pi Masta]] 19:19, 9 February 2007 (PST) |
[[User:Pi Masta|Pi Masta]] 19:19, 9 February 2007 (PST) |
Revision as of 20:26, 14 March 2007
English2.dat
Hey I think I found the lookup table for English2.dat (or german2, etc) in TACTICAL.EXE. It's at offset 0x5F910, each entry is 2 bytes long. It corresponds with the entry in OBDATA.DAT. The index in obdata is the offset in this array of 2 bytes. Let me give an example:
(AT OFFSET 5F910) 7B 00 | 7C 00 | 7D 00 | 7E 00 | 7F 00 0 1 2 3 4
- 0x7B (or really 0x007B) is 123, which in English2.dat is Pistol
For further Proof:
(OFFSET 5F944, 52 bytes from begining, so 52/2 = 26) 95 00 | B0 00 | 00 00 | 00 00 26 27 28 29
- 0x0095 = 149; english2.dat[149] = 'Stun Rod' (OBDATA[26] Is info for Stun Rod)
- 0x00B0 = 176; english2.dat[176] = 'Electro-flare' (OBDATA[27] is info for electro-flare)
- OBDATA[28-30] are 'empty' unused obdata slots
(OFFSET 5F94E, 62 byte from begining, so 62/2 = 31) AE 00 | AE 00 | AE 00 | 96 00 31 32 33 34
- 0x00AE = 174; english2.dat[174] = 'Corpse', Obdata[31-33] are all corpses (with different armor)
- 0x0096 = 150; english2.dat[150] = 'Heavy Plasma', Obdata[34] is info for Heavy Plasma
Pi Masta 19:19, 9 February 2007 (PST)