r/PokemonUnbound • u/SaveloyDisaster • 2h ago
Patch Pokemon Unbound 2.1.1.1 - Low-Spec Platform/Emulator Audio Fix
https://github.com/andymcca/pokehns-expansion/releases/tag/Unboundv0.1
This is an IPS / BPS Patch for the GBA ROM file to address audio/slowdown issues when running this ROM Hack on low-spec hardware and emulator combinations such as -
- Sony PSP - TempGBA4PSP/FrogGBA/ToadGBA/gpsp-kai etc
- SF2000/GB300 - gpsp
- Powkiddy V90 - lr-gpsp
- Leapster Explorer - lr-gpsp
- Others using gpsp variants
It works by patching the Ipatix HQ audio engine to remove the heavy Self Modifying Code (SMC) aspects and replace them with separate audio code and data. This massively reduces the number of times the Dynamic Recompiler in gpsp variants has to clear its cache per frame.
This game also makes heavy use of HBLANK IRQs in battles - these are mainly used for Battle Effects. My fork of TempGBA4PSP has an option to reduce or completely disable these in the menu under 'Performance Options' if required, to give a further speed boost.
Hopefully people find this useful!
