Skip to content

Releases: andymcca/pokehns-expansion

Pokemon Unbound 2.1.1.1 - Low-Spec Audio/HBLANK Fix v2

Choose a tag to compare

@andymcca andymcca released this 13 Sep 05:53

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

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.

v0.2 - I have since discovered that HBLANK IRQs being left on during battles actually appears to be a bug in Unbound carried over from FireRed. HBLANK IRQs are only turned on during the initial battle transition for some mugshot effects, and should be cleared before the battle starts as they are not used thereafter (Heart & Soul does this). In battle, it is HBLANK DMAs that are used for Battle Effects. Particularly on the early 'rival' battle, Unbound leaves HBLANK IRQs switched on for the whole battle, which cuts the frame rate in half or worse for no reason! This version of my patch addresses that - there may still be a bit of stutter on battle transition (a few seconds), but in-battle is now 60fps or close to it on TempGBA4PSP at least.

You can apply this patch to your own ROM using this online ROM patcher - https://www.marcrobledo.com/RomPatcher.js/

This is confirmed to work with Unbound 2.1.1.1 only (YMMV with other versions).

Pokemon Unbound 2.1.1.1 - Low-Spec Audio Fix

Choose a tag to compare

@andymcca andymcca released this 12 Sep 19:04

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

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.

You can apply this patch to your own ROM using this online ROM patcher - https://www.marcrobledo.com/RomPatcher.js/

This is confirmed to work with Unbound 2.1.1.1 only (YMMV with other versions).

Pokemon Heart & Soul 2.0.4 - Low-Spec Audio Fix

Choose a tag to compare

@andymcca andymcca released this 12 Sep 18:59

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

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.

You can apply this patch to your own ROM using this online ROM patcher - https://www.marcrobledo.com/RomPatcher.js/

This is confirmed to work with HnS 2.0.4 only (YMMV with other versions).