[mystwarr] + Mystic Warriors

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
mezdap
Posts: 175
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 4 times

[mystwarr] + Mystic Warriors

Post by mezdap »

mystwarr.xml and clones

P1 Select Character:

Code: Select all

  <cheat desc="P1 Select Character">
    <parameter>
      <item value="0x00">Spyros</item>
      <item value="0x01">Keima</item>
      <item value="0x02">Kojiro</item>
      <item value="0x03">Brad</item>
      <item value="0x04">Yuri</item>
    </parameter>
    <script state="on">
      <action>temp0=maincpu.pb@2001E4</action>
    </script>
    <script state="run">
      <action>maincpu.pb@2001E4=param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001E4=temp0</action>
    </script>
  </cheat>

P2 Select Character:

Code: Select all

  <cheat desc="P2 Select Character">
    <parameter>
      <item value="0x00">Spyros</item>
      <item value="0x01">Keima</item>
      <item value="0x02">Kojiro</item>
      <item value="0x03">Brad</item>
      <item value="0x04">Yuri</item>
    </parameter>
    <script state="on">
      <action>temp0=maincpu.pb@2001E5</action>
    </script>
    <script state="run">
      <action>maincpu.pb@2001E5=param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001E5=temp0</action>
    </script>
  </cheat>

P3 Select Character:

Code: Select all

  <cheat desc="P3 Select Character">
    <parameter>
      <item value="0x00">Spyros</item>
      <item value="0x01">Keima</item>
      <item value="0x02">Kojiro</item>
      <item value="0x03">Brad</item>
      <item value="0x04">Yuri</item>
    </parameter>
    <script state="on">
      <action>temp0=maincpu.pb@2001E6</action>
    </script>
    <script state="run">
      <action>maincpu.pb@2001E6=param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001E6=temp0</action>
    </script>
  </cheat>

P4 Select Character:

Code: Select all

  <cheat desc="P4 Select Character">
    <parameter>
      <item value="0x00">Spyros</item>
      <item value="0x01">Keima</item>
      <item value="0x02">Kojiro</item>
      <item value="0x03">Brad</item>
      <item value="0x04">Yuri</item>
    </parameter>
    <script state="on">
      <action>temp0=maincpu.pb@2001E7</action>
    </script>
    <script state="run">
      <action>maincpu.pb@2001E7=param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001E7=temp0</action>
    </script>
  </cheat>
mezdap
Posts: 175
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 4 times

Re: [mystwarr] + Mystic Warriors

Post by mezdap »

P1 Select Special Power-ups:

Code: Select all

  <cheat desc="P1 Select Special Power-ups."> <comment>Press P1 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x00">Super Bomb</item>
      <item value="0x01">Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param == 00 AND maincpu.pb@200058 == 30)">maincpu.pb@4070E6=02</action> <!-- yellow Chikara Orb -->
      <action condition="(param == 01 AND maincpu.pb@200058 == 30)">maincpu.pb@4070E6=01</action> <!-- blue Shinobi Orb -->
    </script>
    <script state="off">
      <action>maincpu.pb@4070E6=00</action>
    </script>
  </cheat>

P2 Select Special Power-ups:

Code: Select all

  <cheat desc="P2 Select Special Power-ups."> <comment>Press P2 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x00">Super Bomb</item>
      <item value="0x01">Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param == 00 AND maincpu.pb@200059 == 30)">maincpu.pb@407CE6=02</action> <!-- yellow Chikara Orb -->
      <action condition="(param == 01 AND maincpu.pb@200059 == 30)">maincpu.pb@407CE6=01</action> <!-- blue Shinobi Orb -->
    </script>
    <script state="off">
      <action>maincpu.pb@407CE6=00</action>
    </script>
  </cheat>

P3 Select Special Power-ups:

Code: Select all

  <cheat desc="P3 Select Special Power-ups."> <comment>Press P3 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x00">Super Bomb</item>
      <item value="0x01">Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param == 00 AND maincpu.pb@20005A == 30)">maincpu.pb@4088E6=02</action> <!-- yellow Chikara Orb -->
      <action condition="(param == 01 AND maincpu.pb@20005A == 30)">maincpu.pb@4088E6=01</action> <!-- blue Shinobi Orb -->
    </script>
    <script state="off">
      <action>maincpu.pb@4088E6=00</action>
    </script>
  </cheat>

P4 Select Special Power-ups:

Code: Select all

  <cheat desc="P4 Select Special Power-ups."> <comment>Press P4 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x00">Super Bomb</item>
      <item value="0x01">Shield</item>
    </parameter>
    <script state="run">
      <action condition="(param == 00 AND maincpu.pb@20005B == 30)">maincpu.pb@4094E6=02</action> <!-- yellow Chikara Orb -->
      <action condition="(param == 01 AND maincpu.pb@20005B == 30)">maincpu.pb@4094E6=01</action> <!-- blue Shinobi Orb -->
    </script>
    <script state="off">
      <action>maincpu.pb@4094E6=00</action>
    </script>
  </cheat>
mezdap
Posts: 175
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 4 times

Re: [mystwarr] + Mystic Warriors

Post by mezdap »

Infinite Credits:

Code: Select all

  <cheat desc="Infinite Credits">
    <script state="run">
      <action condition="maincpu.pb@200191 == 00">maincpu.pb@200044=FF</action> <!-- Common -->
      <action condition="maincpu.pb@200191 == 01">maincpu.pq@200044=FF00FF00FF00FF00</action> <!-- Independent -->
    </script>
    <script state="off">
      <action>maincpu.pq@200044=00</action>
    </script>
  </cheat>


Infinite Time:

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pb@200315=00</action>
    </script>
  </cheat>


Infinite Character Select Time:

Code: Select all

  <cheat desc="Infinite Character Select Time">
    <script state="run">
      <action>maincpu.pb@2001CD=0F</action>
    </script>
  </cheat>


Enable DIPSW/Settings:

Code: Select all

  <cheat desc="Enable DIPSW/Settings"> <comment>Activates on the Game Mode after the intro.</comment>
    <script state="on">
      <action>maincpu.pb@200070=0F</action>
    </script>
  </cheat>


Enable Skull Now:

Code: Select all

  <cheat desc="Enable Skull Now!"> <comment>Avoid activating more than once.</comment>
    <script state="on">
      <action>maincpu.pb@200314=0F</action>
    </script>
  </cheat>


Select Number of Players:

Code: Select all

  <cheat desc="Select Number of Players">
    <parameter>
      <item value="0x01">4 Players</item>
      <item value="0x00">2 Players</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@200192=param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@200192=00</action>
    </script>
  </cheat>

Skip RAM/ROM Checks:

Code: Select all

  <cheat desc="Skip RAM/ROM Checks"> <comment>Enable it before Soft Reset.Also allows a quicker start-up.</comment>
    <script state="on">
      <action>temp0=maincpu.mw@0023B8</action>
    </script>
    <script state="run">
      <action condition="(maincpu.mw@0023B8 == FFD2)">maincpu.mw@0023B8=FE1C</action> <!-- EAA, AAA, AAB, JAA, UAA -->
    </script>
    <script state="off">
      <action>maincpu.mw@0023B8=temp0</action>
    </script>
  </cheat>
jman
Posts: 1328
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 10 times

Re: [mystwarr] + Mystic Warriors

Post by jman »

  • Px Select Character
These codes don't work in playing the game. Please check again.
  • Px Select Special Power-ups
You don't need to check "parameter" in condition. Because you can assign the values directly in item.

Code: Select all

  <cheat desc="P1 Select Special Power-ups."> <comment>Press P1 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x02">Super Bomb</item> <!-- yellow Chikara Orb -->
      <item value="0x01">Shield</item> <!-- blue Shinobi Orb -->
    </parameter>
    <script state="run">
      <action condition="maincpu.pb@200058 == 30">maincpu.pb@4070E6 = param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@4070E6 = 00</action>
    </script>
  </cheat>

  <cheat desc="P2 Select Special Power-ups."> <comment>Press P2 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x02">Super Bomb</item> <!-- yellow Chikara Orb -->
      <item value="0x01">Shield</item> <!-- blue Shinobi Orb -->
    </parameter>
    <script state="run">
      <action condition="maincpu.pb@200059 == 30">maincpu.pb@407CE6 = param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@407CE6 = 00</action>
    </script>
  </cheat>

  <cheat desc="P3 Select Special Power-ups."> <comment>Press P3 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x02">Super Bomb</item> <!-- yellow Chikara Orb -->
      <item value="0x01">Shield</item> <!-- blue Shinobi Orb -->
    </parameter>
    <script state="run">
      <action condition="maincpu.pb@20005A == 30">maincpu.pb@4088E6 = param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@4088E6 = 00</action>
    </script>
  </cheat>

  <cheat desc="P4 Select Special Power-ups."> <comment>Press P4 Shoot and Jump buttons at the same time to activate the selected Power-up.</comment>
    <parameter>
      <item value="0x02">Super Bomb</item> <!-- yellow Chikara Orb -->
      <item value="0x01">Shield</item> <!-- blue Shinobi Orb -->
    </parameter>
    <script state="run">
      <action condition="maincpu.pb@20005B == 30">maincpu.pb@4094E6 = param</action>
    </script>
    <script state="off">
      <action>maincpu.pb@4094E6 = 00</action>
    </script>
  </cheat>
  • Infinite Time
Program code read/write the value with 2 bytes, not 1 byte.

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pw@200314 = 0000</action>
    </script>
  </cheat>
  • Skip RAM/ROM checks
$23B6 is "dbra D3, $xxxx". Why do you write in a roundabout way?

Code: Select all

 0023B0  move.l  #$10203, D1                                 223C 0001 0203
 0023B6  dbra    D3, $21d4                                   51CB FE1C
 0023BA  move.b  #$1, $492000.l                              13FC 0001 0049 2000
 0023C2  clr.b   $492000.l                                   4239 0049 2000
 0023C8  dbra    D2, $2386                                   51CA FFBC
 0023CC  jmp     (A6)                                        4ED6
And $23B8 is in ROM region and doesn't change this value just like RAM. So condition will be unneeded.

Simple check routines skipper is the following. (All sets have the same address/value)

Code: Select all

  <cheat desc="Skip RAM/ROM Checks"> <comment>Enable it before Soft Reset.Also allows a quicker start-up.</comment>
    <script state="on">
      <action>temp0 = maincpu.mw@13A2</action>
    </script>
    <script state="run">
      <action>maincpu.mw@13A2 = 13A4</action>
    </script>
    <script state="off">
      <action>maincpu.mw@13A2 = temp0</action>
    </script>
  </cheat>
jman

my wip cheat database back-up (06/01/2025 ver.)
https://u3.getuploader.com/...../download/58
downloadpass : jman2020
mezdap
Posts: 175
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 4 times

Re: [mystwarr] + Mystic Warriors

Post by mezdap »

Quick info: Mystic Warriors and Sunset Riders developed by same team and both games have some similarities.
These codes don't work in playing the game. Please check again.
Those are the actual character addresses. They all work fine. I forgot to add comment, ''character has to die or will change on next stage.''
You don't need to check "parameter" in condition. Because you can assign the values directly in item.
Yep, I should have made them this way!
Program code read/write the value with 2 bytes, not 1 byte.
This address disable the time completely maincpu.pb@200318 = 01 But;
I used first byte for ''Enable Skull Now'' it kills everyone on the screen, which can be used for ''select character'' also kills enemies if ''Invincibility'' is on it circles around character to through stage.
$23B6 is "dbra D3, $xxxx". Why do you write in a roundabout way?
This is the only working address I found.
''roundabout'' you mean loop?

Could you tell me how did you find/end up at this address $13A2 and it also shows invalid 31
mezdap
Posts: 175
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 4 times

Re: [mystwarr] + Mystic Warriors

Post by mezdap »

P1 Reselect Character HUD:

Code: Select all

  <cheat desc="P1 Reselect Character HUD"> <comment>Press P1 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>temp0=maincpu.pb@200210, temp1=maincpu.pb@200058</action>
      <action>maincpu.pb@2001DE=01</action> <!-- time disabled for HUD -->
      <action>maincpu.pb@2001E3=00</action> <!-- enabled all 5 character for HUD -->
      <action condition="(temp0 == 81 AND temp1 == 80)">
        maincpu.pw@407010=0000, maincpu.pb@2001E9=01
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE=00</action>
    </script>
  </cheat>


P2 Reselect Character HUD:

Code: Select all

  <cheat desc="P2 Reselect Character HUD"> <comment>Press P2 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>temp0=maincpu.pb@200250, temp1=maincpu.pb@200059</action>
      <action>maincpu.pb@2001DE=01</action> <!-- time disabled for HUD -->
      <action>maincpu.pb@2001E3=00</action> <!-- enabled all 5 character for HUD -->
      <action condition="(temp0 == 81 AND temp1 == 80)">
        maincpu.pw@407C10=0000, maincpu.pb@2001E9=02
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE=00</action>
    </script>
  </cheat>

P3 Reselect Character HUD:

Code: Select all

  <cheat desc="P3 Reselect Character HUD"> <comment>Press P3 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>temp0=maincpu.pb@200290, temp1=maincpu.pb@20005A</action>
      <action>maincpu.pb@2001DE=01</action> <!-- time disabled for HUD -->
      <action>maincpu.pb@2001E3=00</action> <!-- enabled all 5 character for HUD -->
      <action condition="(temp0 == 81 AND temp1 == 80)">
        maincpu.pw@408810=0000, maincpu.pb@2001E9=04
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE=00</action>
    </script>
  </cheat>

P4 Reselect Character HUD:

Code: Select all

  <cheat desc="P4 Reselect Character HUD"> <comment>Press P4 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>temp0=maincpu.pb@2002D0, temp1=maincpu.pb@20005B</action>
      <action>maincpu.pb@2001DE=01</action> <!-- time disabled for HUD -->
      <action>maincpu.pb@2001E3=00</action> <!-- enabled all 5 character for HUD -->
      <action condition="(temp0 == 81 AND temp1 == 80)">
        maincpu.pw@409410=0000, maincpu.pb@2001E9=08
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE=00</action>
    </script>
  </cheat>
jman
Posts: 1328
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 10 times

Re: [mystwarr] + Mystic Warriors

Post by jman »

  • Px Reselect Character HUD
Fixed.

Code: Select all

  <cheat desc="P1 Reselect Character HUD"> <comment>Press P1 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@200210 == 81) and (maincpu.pb@200058 band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@407010 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 01               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>

  <cheat desc="P2 Reselect Character HUD"> <comment>Press P2 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@200250 == 81) and (maincpu.pb@200059 band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@407C10 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 02               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>

  <cheat desc="P3 Reselect Character HUD"> <comment>Press P3 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@200290 == 81) and (maincpu.pb@20005A band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@408810 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 04               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>

  <cheat desc="P4 Reselect Character HUD"> <comment>Press P4 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@2002D0 == 81) and (maincpu.pb@20005B band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@407010 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 08               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>
  • Removed temporary because of indistinct to analyze code.
  • Fixed not-working problem in crouching (or holding other inputs). Button check is "bit", not "value".
  • Fixed character selection flag because program code doesn't check "value" but "bit".
jman

my wip cheat database back-up (06/01/2025 ver.)
https://u3.getuploader.com/...../download/58
downloadpass : jman2020
mezdap
Posts: 175
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 4 times

Re: [mystwarr] + Mystic Warriors

Post by mezdap »

After you wrote ''These codes don't work in playing the game'' then I decided to make ''Reselect Character cheats'' I'm glad you did 'cos now we have better character cheats.
Fixed not-working problem in crouching (or holding other inputs). Button check is "bit", not "value".
Nice touch.
Fixed character selection flag because program code doesn't check "value" but "bit".
I like this, all HUDs can be enabled at the same time.
But, Px start button have to press 2 times in some cases, to enable all 5 characters. This address $2001E3
must be cleared. I think $2001E3 rearrange characters in order. You moved the address in ''condition'' why? You think, always run ''00'' may cause a problem?

I'm not happy with ''Invincibility'' cheats because of flickering. Is your ''No Hit'' cheat replacement for Invincibility?

NOTE: You posted wrong ''clear character flag address for P4''

All good thanx a lot.

Code: Select all

  <cheat desc="P1 Reselect Character HUD"> <comment>Press P1 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@200210 == 81) and (maincpu.pb@200058 band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@407010 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 01               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>

  <cheat desc="P2 Reselect Character HUD"> <comment>Press P2 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@200250 == 81) and (maincpu.pb@200059 band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@407C10 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 02               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>

  <cheat desc="P3 Reselect Character HUD"> <comment>Press P3 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@200290 == 81) and (maincpu.pb@20005A band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@408810 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 04               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>

  <cheat desc="P4 Reselect Character HUD"> <comment>Press P4 Start button to enable Heads-Up Display for reselect character and press shoot or jump button to select.</comment>
    <script state="run">
      <action>maincpu.pb@2001DE = 01</action> <!-- time disabled for HUD -->
      <action condition="(maincpu.pb@2002D0 == 81) and (maincpu.pb@20005B band 80)">
        maincpu.pb@2001E3 = 00,               <!-- enabled all 5 characters for HUD -->
        maincpu.pw@409410 = 0000,             <!-- clear character flag -->
        maincpu.pb@2001E9 |= 08               <!-- enabled character selection -->
      </action>
    </script>
    <script state="off">
      <action>maincpu.pb@2001DE = 00</action>
    </script>
  </cheat>
Post Reply