06-01-17, 20:10 | #1 |
Member
Joined: Dec 2016
Posts: 17
|
[Release]Complete TR5 Psx Sdk Structure
Last edited by Nightshades; 07-01-17 at 20:43. |
06-01-17, 20:56 | #2 |
Member
Joined: Oct 2006
Posts: 2,372
|
I'm not a programmer ( I only know web design stuff) but I'm curious - is this some source code you reverse engineered from the leaked SDK stuff or what exactly is the aim here?
Of course, any code is welcome - hopefully someone will find a use for it. |
06-01-17, 21:03 | #3 | |
Member
Joined: Dec 2016
Posts: 17
|
Quote:
So for exemple if you find where is the "Light" function or just a Light entity in a room, then you will refer to the "ILIGHT" (ItemLight) structure, so you will know that the first 2bytes are X, the next 2bytes y, then Z, and finally a "char" (1byte) that is R then G, then B, so in the end you have a quick overview. |
|
06-01-17, 21:12 | #4 | |
Member
Joined: Oct 2006
Posts: 2,372
|
Quote:
|
|
06-01-17, 21:24 | #5 | |
Member
Joined: Dec 2016
Posts: 17
|
Quote:
Again i have an empty .IDB (Ida Database) and i'm too lazy hell to reverse the game but (i believe) some people here have a nice reversed tr5 engine, so this might help or not i just posted that and wondered if this could help someone in any way, i might discontinue if it's not usefull at all but still having retail structure readable isn't that bad even if it's from psx it might change or not on the PC version. An exemple: You use cheat engine and breakpoint your health on tomb raider 5 (pc version) you will access the opcode that calculate the health, and there is the place where you will land in "DrawHealthBar" I know that it is "this function name" because when just setting a "je" to "jmp" to change the way the function it's handled, bam the healthBar has dissapeared, so then reading that structure from the PSX version it's a good "hint" instead of reading a "function" like we blindly do when we know nothing. Last edited by Nightshades; 06-01-17 at 21:27. |
|
07-01-17, 00:04 | #6 |
Member
Joined: Dec 2010
Posts: 2,773
|
Probably better to write a tool to dump the structs rather than manually doing it.
Great work, thank you for sharing! Cheers. |
07-01-17, 13:14 | #7 |
Member
Joined: Dec 2016
Posts: 17
|
I will open a github
Edit: Yeah the Lara structue is the exact same thing on the PC version, was able to use the "silencer" and combine it with the HK Gun and all the sounds are silenced, pretty cool =D. Last edited by Nightshades; 08-01-17 at 15:58. |
Thread Tools | |
|
|