socram8888 / tonyhax

PS1 savegame exploit
Do What The F*ck You Want To Public License
437 stars 24 forks source link

Dance Dance Revolution Games #76

Closed happymealzero closed 3 years ago

happymealzero commented 3 years ago

tonyhax version: Version 1.3.2 Game name: Dance Dance Revolution 2nd Remix, 3rd Mix, 4th Mix ,and 5th Mix Game code: DDR 2nd Remix: SLPM-86252 , DDR 3rd Mix: SLPM-86503 , DDR 4th Mix: SLPM-86752, DDR 5th Mix: SLPM-86897 Executable hash: SHA-1, SHA-256 or MD-5 of the game's main executable. This is important since there could be multiple revisions of the same game. -DDR 2nd Remix MD5 : b950468a65e0d2d419862ece33160997 -DDR 3rd Mix MD5 : af1c53ec3a23600894017954a72ac015 -DDR 4th Mix MD5 : 175fe23fd016a3be5bac61c03ba04f15 -DDR 5th Mix MD5 : eb35cf0547e99859a1b253589ff76812 Triggered at: After "loading data on memory card" screen Is the console chipped?: No

socram8888 commented 3 years ago

Working on this. Will attempt to have this fixed for the next release (1.3.3)

socram8888 commented 3 years ago

I've found the function to patch but I am stuck in a wall of Japanese text that I am unsure what it says:

imagen

Any idea?

happymealzero commented 3 years ago

I used google translator app and here's what it says. Screenshot_20210501-200819_Translate

socram8888 commented 3 years ago

Thank you. Seems like it's totally unrelated.

I discovered the game seems to check its own integrity, so this might be trickier than I anticipated.

socram8888 commented 3 years ago

Alright, so the problem with this one is that it seems to use a pretty clever way of preventing antipiracy from being defused.

Essentially the game seems to consist from several compressed/obfuscated? modules that are loaded one after the other. This is nothing out of the usual.

BUT what is out of the usual is that the code in one module depends on the code of the previous one - thus nuking the antipiracy call in the very first one trashes the code in the next one, and locks up with the screen you saw above.

This might be patchable from within tonyhax if I reverse engineer the compression/obfuscation and alter the subsequent modules, but will not be included in the next release.

socram8888 commented 3 years ago

tonyhax-v1.4b.zip

This is a bleeding edge version that uses a novel approach to patch the antipiracy. Could you please try it and report back?

socram8888 commented 3 years ago

Tested on an emulator and it works fine for me, so I am closing this. Feel free to reopen if it does not for you.

happymealzero commented 3 years ago

I just tried them all right now and they work great. Thanks a lot.