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

This FORUM is ONLY for posting requests for M.A.M.E. arcade cheats. The actual cheats should be posted in the M.A.M.E. "Arcade" Cheats forum. For cheat requests a 'please' would do no harm...
Post Reply
User avatar
chunli_fm_hack
Posts: 24
Joined: Sun Dec 15, 2019 10:14 am
Location: Brazil
Contact:

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

Post 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.
jman
Posts: 1195
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 9 times

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

Post 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).
jman

my wip cheat database back-up (2024/12/01 ver.)
https://u3.getuploader.com/...../download/47
downloadpass : jman2020
Post Reply