14-03-20, 00:17 | #1 |
Member
Joined: Jan 2020
Posts: 10
|
Fixing/changing stuff by hex editing the exe.
Hi.
So my journey through all the TR games now landed me on Tomb Raider: The Last Revelation. As always, I first look up if there are some things that need fixing, some necessary community patches, etc. I've found this thread. It contains a compilation of fixes and changes, but the thing is, I don't want all of them, just some of them. The complete list of fixes there is:
On page 7, LateRaider lists how to do some of the changes manually through hex-editing the exe file. I did the exploding ammo fix and also found elsewhere what needed to be changed for corpses to stay so I got those two. From the remaining stuff, I am interested in how to manually include these changes/fixes by hex editing the exe:
I am on the fence about the grenade change and I want to leave the last 2 (pause before climbing and camera with drawn weapons) as is. So if anyone knowledgeable enough and willing would be so kind as to list here which values to change into what in a hex editor, it would be much appreciated. Optimally in the format of: 1) Which hex offset to go to. 2) List the original hex values. 3) List the hex values to replace the original ones with to achieve the said change. Thanks. |
14-03-20, 10:07 | #2 |
Member
Joined: Mar 2009
Posts: 1,041
|
I can’t be of much help, but I honestly was just now planning on opening a thread of similar nature to this one posing the question of how many “trle mods” can be worked into the base TR4.
I remember using that one patch you described. I tried it once and ended up not using it because I couldn’t figure out how to fix the obnoxious “delayed menu” bug while having the new exe file. My dream scenario would be if I could have the relatively unchanged TR4 with ONLY the following additions: Uzi/Revolver holster fix (Desert Eagle revolver replacement??) Removed climb delay Flip out of crawlspace anim Roll forward while crouched anim Faster shimmy anim I assume it wouldn’t be as simple as it is in TRLE to make these changes. Maybe if TREP could somehow be applied to base TR4... |
16-03-20, 00:46 | #3 |
Member
Joined: Jan 2006
Posts: 7,001
|
Hey these were my patches.
Get TREP and an unmodified TRLE exe. Make your changes and hex compare as you go. That's how I did it. I only recommend making one change at a time. Keep a copy of that orig exe so you dont accidentally change it. Keep copying it and recycling as you make each update via TREP and compare those exes. The TRLE offsets are obviously not the same as TR4s - so you have to use nearby hexes to find the right area..most of them were quite easy to find but some werent. This is as far as my skillset goes with this....I just look at that jumbled binary text area and then try and find it's near twin inside TR4s exe. I normally have to search including some hex digits before and after the "changed ones" to find their TR4 spot. Be very cautious of enabling extended tomb4 size in TREP - this makes the eventual hex compare much harder as the exe is much bigger because of it. The only DRACO patch (requiring extend tomb4 size) I managed to port into TR4 (and also TR23 and 5) is the experimental 60fps patch. For the things you want though, are all available in the default areas. I hope that sums it up well, I use Hex Workshop and use the bookmarks feature to keep track of what offset is what as I find them during porting. |
16-03-20, 00:51 | #4 |
Member
Joined: Jan 2006
Posts: 7,001
|
Unfortunately TRLE and TR4 are vastly different - same goes with the Times exclusive exe. Why all 3 are so different we dont really know- so for that reason TREP will never be directly compatible with TR4 until a really good programmer in the future may appease the fans with a TREP style GUI editor for the classics
Proof in what I've done that there are many things you can change via referencing TREP changes to the exe! I've used it to make "easier" and "harder" versions of TR12345 by making Laras weapons strength either stronger or weaker (a polite nod to the japanese playstation TR games which were notably more easy in shootouts!). That was all thanks to TREP too. TREP is obsolete for building but damn I love it and I still use it regularly just for the purpose of making changes in TR4 and the other games. Learning is growing? |
16-03-20, 02:54 | #5 | |
Member
Joined: Jan 2020
Posts: 10
|
Quote:
2 things though. 1) Which version of TREP should I download? The v. 0.76 rev. 5-rb? 2) I assume TRLE is Tomb Raider level editor? Do you mean the exe of the editor or something else? I also never touched it before so it would be a lot of trial and error. Still, I'm willing to try but I can't seem to find a download for a Win 10 compatible version... If the procedure you described will allow me to find what to change into what in the TR4 exe to achieve the 2 things in bold in the OP, that is all I'm after. Will be a lot of alchemy on my part since I never touched TREP nor TRLE before but hopefully I manage... Last edited by caiusmisus; 16-03-20 at 03:02. |
|
31-03-20, 14:13 | #6 |
Member
Joined: Mar 2009
Posts: 1,041
|
Hey there, if I may do a small bump, I wanted to know how I would go about applying MOST of the features of this mod, but removing some. I saw page 7 of the original thread which showed the addresses of certain features, but I’m not even sure how to apply that information.
I pretty much want all the features of the “no grenade fix” version but with the camera tweaks removed entirely. I don’t really understand the camera feature since it stops the camera from pointing at enemies when lara aims her guns, which is only a downside as far as I can see. Honestly the part of the mod that matters most to me is the climb up delay fix, so I’ll try to just change that one part of the hex. Update: I've gotten the fast climb up patch to work with no other changes to the steam tomb4.exe, but I'm curious as to how I would go about adding in the revolver and uzi holster stuff? I've seen some versions of the mod where it replaces all the data files in the TR4 installation, but supposedly it can also be done with hex editing? Last edited by Locke217; 02-04-20 at 21:36. |
06-04-20, 02:52 | #7 | |
Inactive
Joined: Mar 2020
Posts: 26
|
Quote:
I'd be very thankful if you could provide the hex offset and values for the corpses. Also, by any chance, were you able to find the hex offset and values for the transparency? |
|
06-04-20, 10:16 | #8 | |
Member
Joined: Jan 2006
Posts: 7,001
|
Quote:
The "Fix holsters" checkbox is the only checkbox you need and can then be hexed over to TR4. For example, the only reason you'd need to edit individual level files to fix any bugs is, maybe to add a Strap texture to her legs for the holsters? they were oddly not present in TR4. All other bugs (well, most) are fixable via TREP then hexed over Last edited by mizuno_suisei; 06-04-20 at 10:18. |
|
08-04-20, 17:12 | #9 |
Inactive
Joined: Dec 2019
Posts: 313
|
That's possible if you somehow edited every single .TR4 file and inserted the faster shimmey animation, actually, the same can be done for all the classics.
Here's how i'd do it: 1- Edit the shimmy animation using Wadmeger. 2- Compile it into a TR4 level using TRLE. 3- Use Fexmerger to copy the modified LARA to TR4. You can pretty much change any animation or object with this method. Last edited by BlueCake; 08-04-20 at 17:16. |
27-07-20, 23:30 | #10 | |
Member
Joined: Jan 2020
Posts: 10
|
Quote:
IIRC, I disabled the disappearing corpses by following this page: https://www.tombraiderforums.com/arc.../t-210149.html Lumberjack lists the address and what you need to change. I still haven't got around to re-playing TR4. But I will probably get back to the series soon-ish. Might try to figure out the transparency and holstered weapons in the coming weeks. Or just play through without it, not sure yet. Last edited by caiusmisus; 27-07-20 at 23:31. |
|
Thread Tools | |
|
|