FF6 Hacking
Patch: Soft Reset - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html)
+--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html)
+---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html)
+---- Thread: Patch: Soft Reset (/thread-4003.html)



Patch: Soft Reset - SilentEnigma - 05-16-2020

author: SilentEnigma
Download


This patch implements the familiar soft reset feature found in other FF releases.

The player may command a soft reset by pressing Start+Select+L+R on the field and during battle.


Enjoy!

[attachment=608]


RE: Patch: Soft Reset - Lightning - 05-23-2020

This is especially useful on real hardware! no more walking across the room to hit the reset button when something goes terribly wrong at the colosseum. Smile

Will use this with my hack and credit you!


RE: Patch: Soft Reset - Warrax - 05-24-2020

Thank you for this! Yep definitely useful on real hardware.


RE: Patch: Soft Reset - SilentEnigma - 10-24-2021

The patch has been updated to v1.1 for compatibility with @Madsiur's Music Player.


RE: Patch: Soft Reset - kamesennin - 08-01-2022

Are these routines super game specific? Wondering how easy it would be to port this to FFIV...


RE: Patch: Soft Reset - SilentEnigma - 08-01-2022

The bulk of the patch code is reproducing the entry point of the program in the C0 bank (see C0/0020), but it skips over the call that initializes the sound chip.

The skip prevents the sound from getting messed up in some emulators. (The echo effect would stop working. Same thing would happen if you got a game over on a new game before saving)

I remember FF2us having a different memory layout than FF3us, so there are probably several differences. But the same general idea should work.
  • Code injection in the controller input loop/check
  • Check for exempt condition(s), i.e. are we in the field menu -- this check will definitely look different in FF2us
  • Check for the button combo (I doubt there's any custom button mapping in FF2us)
  • SPC command to stop sounds
  • Reproduce game initialization code up to, but excluding, the sound chip initialization
  • Jump to the actual game initialization code just after sound chip initialization



RE: Patch: Soft Reset - kamesennin - 08-03-2022

Thanks for the quick reply SilentEnigma. I'll have to do some more research. I'm very new to SNES assembly and programming languages in general. I've been looking through the FF4 disassembly (japanese version is my target btw), and seeing things like "init interrupt jump code, init hardware registers, clear ram, init sound/music" toward the beginning of the code so I'm guessing somewhere in there is a good place to jump to.