Page 1 of 1

[sf2ce] Sequential music from one round to another SSF2 model

Posted: Tue Mar 04, 2025 3:41 pm
by chunli_fm_hack
Does anyone have any code to make the music sequential from round to round, just like in Super Street Fighter 2? I thank.

Re: [sf2ce] Sequential music from one round to another SSF2 model

Posted: Fri Mar 14, 2025 11:00 am
by jman
For example...

sf2j.xml

Code: Select all

    <cheat desc="Sequential Music from Round to Round">
        <script state="on">
            <action>temp0 = maincpu.mb@89A1</action>
        </script>
        <script state="run">
            <action>maincpu.mb@89A1 = EC</action>
        </script>
        <script state="off">
            <action>maincpu.mb@89A1 = temp0</action>
        </script>
    </cheat>
  1. Find "soundlatch" address to send sound code (see capcom/cps1.cpp).
  2. Search "sound fade out" code (in case of sf2, 0x30f9 is this code).
  3. Bypass sending sound code routine (in case of the above cheat code, it jumps to return opcode directly).