02-17-2015, 11:25 PM
(02-13-2015, 07:06 PM)LXShadow Wrote: Hey Ted, sorry about the super-late response (was kind of worried this thing died, though I can't believe I haven't checked for so long D=). Out of curiosity, what game is this? It's a minor possibility, but the game might be using DLLs to replace its own code at certain points. If this is the case your 'nop' might be in place when the code it's affecting is completely different.Hi and thanks for the reply. I made a lot of progress since posting this and have successfully made elf hacks for Enthusia (one to force manual transmission in Driving Revolution mode and one to change the default transmission to manual). I even managed to inject some code to adjust the default camera view.
You could check to see if the game code changes itself to confirm or debunk this theory; if it indeed doesn't, more specifics would be appreciated =) I'm not too sure what the problem might be since I haven't many any changes to the patch system. Edit: Re-reading your message, errrr, this is probably happening to every game you hack? All right then--bring on the specifics!!
By the way, this is wayy overdue, but I've uploaded an updated version of the program. There were some major problems in this release that I didn't notice until I used the tool some time ago. If the back/forward behaviour has been annoying and there's been glitches saving and loading, you're in luck. =)
After this success, I went back to TOCA Race Driver 3 to try again (this was the first game I tried). Applying my hack to a save state (saved at the main menu) works perfectly, but the game won't boot. I then realising that changing a single byte anywhere in the ELF prevents booting (both in PCSX and on real hardware). I searched through the labels using PCSX2dis and found a few called 'checksum', so this looks like my problem.
I need to understand a bit more about how labels are used before attempting to bypass the checksum. It's probably beyond me for now and in practice, my memory hacks for TOCA RD3 seem to work fine (my memory hacks caused problems with Enthusia, which is what led me down this path).
To be honest, I've started using the new debug mode in the latest PCSX2 builds, as it has a few more useful features, but PCSX2dis helped me hugely in learning this stuff. I'll definitely check out the new version.