glrage icon indicating copy to clipboard operation
glrage copied to clipboard

Freeze when ending a level in Tomb Raider + FIX

Open rr- opened this issue 6 years ago • 2 comments

When you end the level in Tomb Raider and Tomb Raider: Unfinished Business while holding the Action button, the game freezes and the only thing you can do with it is to kill its process.

Binary diff for a tombati.exe patch that fixes this:

0001CC27 0D 33
0001CC28 E8 90
0001CC29 24 90
0001CC2A 0D 90
0001CC2B 00 90
0001CC2C 00 90
0001CC2D 85 90
0001CC2E 35 90
0001CC2F F4 90
0001CC30 EE 90
0001CC31 45 90
0001CC32 00 90
0001CC33 75 90
0001CC34 F3 90
0001CC5A 2F CD

…and here's a tombub.exe patch:

0001C987 0D 33
0001C988 E8 90
0001C989 74 90
0001C98A 0C 90
0001C98B 00 90
0001C98C 00 90
0001C98D 85 90
0001C98E 35 90
0001C98F B4 90
0001C990 E7 90
0001C991 45 90
0001C992 00 90
0001C993 75 90
0001C994 F3 90
0001C9BA 2F CD

Save files you can test the patches with:

https://0x0.st/z-WM.1 https://0x0.st/z-Wu.1

rr- avatar Feb 26 '19 23:02 rr-

Hello, I don't know how to apply this, could you help me? I copy the shown code into a txt file? Then apply it on the executable with a patch program?

legluondunet avatar May 05 '19 09:05 legluondunet

I guess? I apply such binary differences manually with a hex editor.

The fix is just like the others, for example: https://github.com/ata4/glrage/blob/master/glrage_patch/TombRaiderPatch.cpp#L178-L180

rr- avatar May 07 '19 11:05 rr-