socram8888 / tonyhax

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

Added Castlevania Chronicles (US) #62

Closed G4Vi closed 3 years ago

G4Vi commented 3 years ago

cc-us-tpl.mcs has BGM (Background Music) set to off in Castlevania Chronicles OPTION as it is essential for the exploit with the current version of tonyhax.

This exploits multiple strings so the exploit works regardless of whether ORIGINAL MODE or ARRANGE MODE is selected. Pressing X from the "start" screen launches the exploit.

https://github.com/socram8888/tonyhax/issues/39 This works around the issue by disabling the CDROM and SPU ISRs via the in-game BGM toggle.

socram8888 commented 3 years ago

Many thanks for the effort!

socram8888 commented 3 years ago

tonyhax-v1.3b.zip

Could you please try with the attached version? I've made many many changes, and amongst them is one that should fix the issue with CD audio interferring with the loading of the exploit.

G4Vi commented 3 years ago

Thanks for looking into this.

Apparently entry-quick works (with the audio bugging) with music on before these new changes (entry-full hangs with music on).

I'm now going to test the version you linked.

G4Vi commented 3 years ago

The linked version hangs at Resetting drive when music is enabled.

I noticed the zip linked doesn't contain BASLUS-01384DRACULA, while it contains cc-us.mcs used for testing.

socram8888 commented 3 years ago

It was just missing a line on the variables.mk file. Fixed in dfc85ed1d8f74e9be70bb50fc471ae47a000a0e2.

G4Vi commented 3 years ago

Ah, okay thanks. Didn't realize it doesn't get exported, as it got built without it inside of variables.mk.

socram8888 commented 3 years ago

Does it also hang on an emulator? Just to be sure so I can debug it more easily.

Issuing the CD init command was enough to fix the issue with the XS Moto games, but maybe it requires a CD reset command instead.

EDIT: for the record, quick and full are now the same, since I found the reason why the ones using full were failing.

G4Vi commented 3 years ago

All my testing has been with no$psx 2.0 . Yes, with music on both the old entry-full and the new entry it hangs at Resetting drive in the emulator.

I'll try to test on real hardware with a backup copy tonight.

whitezombie2000 commented 3 years ago

Hello, I tried with the attached tonyhax-v1.3b.zip with a real copy of the game on real hardware. It worked when the bgm sound was off with no issue as the save file is set up that way. I then tried again, turn the sound on, tried mono, stereo, loaded original game, also tried arranged, the exploit loaded but made a weird ticking sound that won't stop, I swapped in Castlevania SOTN, it loaded the game, and the weird ticking sound went away.

socram8888 commented 3 years ago

I think that ticking sound should be fixed in latest master too. I'm now disabling the SPU (sound processing unit) outputs as soon as the exploit launches, which should solve it.