hi, very cool projects, i was having some issues with this patch on cps2 hardware with darksoft, i got chatgpt to get it working and this is what we found
SSF2 EX — Darksoft / Real CPS-2 Fix Report
These fixes address issues observed on real CPS-2 hardware using the Darksoft loader. The affected build displayed correctly on MiSTer. All three fixes have been tested successfully on the Darksoft board.
1. Cammy stage graphics
Issue: Corrupted graphics appeared on Cammy’s stage.
Change: Restored 22 bytes from stock graphics, targeting the transparent final row of Scroll2 tiles 0xFF4A, 0xFF4B and 0xFF4C. Changes are distributed across flash.05, .07, .09 and .11. All custom EX graphics are preserved.
2. Training and Console Versus character-select palettes
Issue: Both character-select screens were dim, with incorrect portrait colors.
Change: Moved the palette upload ahead of the expensive custom scene update, to scanline 240, and suppressed subsequent late uploads. The original sequence allowed the scene update to cross a frame boundary before uploading the palette.
Program hooks are at 0x1FB428, 0x21B1C6 and 0x21B1E4, using routines at 0x203600, 0x203700 and 0x203800. The guards check the shared custom-selection flag at $FFFC00, along with selection-state and pause checks, to cover both modes.
No palette colors or brightness values were changed. Both screens now display correctly, while Arcade selection retains its original upload timing.
3. Uneven music tempo
Issue: Music tempo fluctuated on Darksoft hardware, including while fighters stood idle. Pitch remained unchanged.
Change: Added a fast path around the EX sound driver’s pause filter during normal, unpaused playback. The jump at Z80 address 0x0AC8 now enters a wrapper at 0x6D00. It checks the sound-pause flag at $CFFB, then uses either the normal writer at 0x6FC0 or the original EX pause filter at 0x6F8C.
This changes 18 bytes in flash.01. Music data, tempo constants, pitch, samples and DSP-ready waiting remain unchanged. The change reduces per-write processing overhead; hardware retesting reports steady music.
Latest tested build: EX SELECT FIX — includes all three fixes.