[soulclbr] Stage Select

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
spaztron64
Posts: 2
Joined: Tue Jan 17, 2023 9:13 am

[soulclbr] Stage Select

Post by spaztron64 »

soulclbr.xml and soulclbrjc.xml

Code: Select all

  
  <cheat desc="Current Stage">
  <parameter min="0" max="8" step="1"/>
    <script state="run">
      <action>maincpu.pb@003A2D38=param</action>
    </script>
  </cheat>
 
jman
Posts: 869
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 1 time

Re: [soulclbr] Stage Select

Post by jman »

I set this code in title screen after inserted a credit then start the game.
So the game skips the character selection screen and crashes.

Also I never reaches final battle after I set code 0x08.
Perhaps 0x07 is "last" stage. What does 0x08 mean?

Code: Select all

<cheat desc="select starting stage">
    <comment>set in character selection screen</comment>
    <parameter min="1" max="8" step="1" />
    <script state="change">
        <action>maincpu.pb@003A2D38 = param - 1</action>
    </script>
</cheat>
spaztron64
Posts: 2
Joined: Tue Jan 17, 2023 9:13 am

Re: [soulclbr] Stage Select

Post by spaztron64 »

0x07 is Stage 8, which is the final one. Anything after that is normally inaccessible and just results in an endless arcade run until the "kill screen" is reached at Stage 16777216, but I left it in there in case anybody wants to start a pseudo survival mode.

As for the crash, it seems to be caused by the word at 003A2D38 temporarily being set to FFFFFFFF and then reset to 00000000 after pressing start, but having the cheat enabled prevents the upper three FFs from resetting, resulting in an invalid stage number that crashes. I don't know how to make the cheat affect the entire word instead of just the lowest byte.
edgarharris155
Posts: 1
Joined: Tue Jan 31, 2023 10:25 am

Re: [soulclbr] Stage Select

Post by edgarharris155 »

soulclbrjc.xml, awesome :lol: :lol: :lol:
Post Reply