14-09-22, 15:31 | #21 |
Member
Joined: Dec 2010
Posts: 2,773
|
Maybe the TR4 PC Review buiild has interesting differences too? I didn't notice any though...
|
14-09-22, 17:15 | #22 |
Member
Joined: Oct 2017
Posts: 1,502
|
|
16-09-22, 05:09 | #23 |
Member
Joined: Apr 2010
Posts: 998
|
Hi, I come to clarify the TR3 blood color. I read the document and checked. The result is:
TR3 blood color is hard coded inside the exe file. The exe file doesn't need to be different to do this. The exe file reads the ./data/tombpc.dat to find the Language ID. If it is German, the exe uses purple as the blood color, otherwise it uses magenta. To see this, open ./data/tombpc.dat, and find the following line, as shown below. Code:
00000170h: 00 00 00 00 00 00 00 03 00 00 00 00 00 00 A6 00 ; 0: English 1: French 2: German 3: American 4: Japanese We change it to 2, as shown below. Code:
00000170h: 00 00 00 00 00 00 00 03 00 00 00 00 00 00 A6 02 ; I tried all other options, i.e. 0, 1, 3, 4, the blood colors are all magenta. |
16-09-22, 07:21 | #24 | |
Member
Joined: Jan 2006
Posts: 7,001
|
Quote:
|
|
17-09-22, 05:13 | #25 |
Member
Joined: Oct 2017
Posts: 1,502
|
correct
The only other instance the exe checks for gameflow language is when printing the string "Assault Course" and "Quadbike Track" strings in Lara's home. This string is a bit special, it's not in tombpc.dat. it's baked directly in the executable |
18-09-22, 19:28 | #26 |
Golden
Joined: Apr 2013
Posts: 1,421
|
I don’t even get why they bothered with tombpc.dat, given that a huge amount of things in the game are hardcoded to specific levels. If you were to change the order of the script inside tombpc.dat, loads of things would break. Someone tried re-ordering the game so that it would play backwards in this thread and they discovered just how much is hardcoded .
Actually, I do get it. It’s because they were under so much pressure to finish the game in under a year, they just had to make things… work, for the final product. |
19-09-22, 05:57 | #27 |
Member
Joined: Apr 2010
Posts: 998
|
Yes. I don't know why, but a lot of things have been hard coded.
I remembered I once replace the level files to Antarctica, then the level has snows and temperature meters. https://www.tombraiderforums.com/sho...65#post6613765 I think for a good programmer, these things should be placed in the level file, not the exe file. |
19-09-22, 20:51 | #28 | |
Golden
Joined: Apr 2013
Posts: 1,421
|
Quote:
|
|
Thread Tools | |
|
|