Page 1 of 1

[shinfz] cheats

Posted: Sat Sep 25, 2010 4:31 pm
by Pugsy
This consists of three games - you can select which game to play via the dipswitches. The first two games are already in MAME - I used cheats from other games with the exception of ROM cheats that I made from scratch. "FZ-2006 Game II" is a new game so I knocked up the cheats completely from scratch - had to use my own tools though as the RAM areas are unsearchable with the cheat engine.

shinfz.xml

Code: Select all

<mamecheat version="1">

  <cheat desc="Select Game via Game Type Dip Switch"/>
  <cheat desc=" "/>
  <cheat desc="Shinobi Ninja Game"/>
  <cheat desc=" "/>

  <cheat desc="Infinite Time">
    <script state="on">
      <action>temp0 =maincpu.pb@FFD79B</action>
    </script>
    <script state="run">
      <action condition="(frame % 300 == 0) AND (maincpu.pb@FFD79B!=temp0 )">maincpu.pb@FFD79B=59</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@003DB0</action>
    </script>
    <script state="run">
      <action>maincpu.mb@003DB0=60</action>
    </script>
    <script state="off">
      <action>maincpu.mb@003DB0=temp0 </action>
    </script>
  </cheat>

  <cheat desc="Select Starting Mission">
    <parameter min="1" max="5" step="1"/>
    <script state="run">
      <action condition="(maincpu.pb@FFD780==00)">maincpu.pb@FFD780=(param-1)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Ninja Magic">
    <script state="run">
      <action>maincpu.pb@FFD778=02</action>
    </script>
  </cheat>

  <cheat desc="Select Ninja Magic">
    <parameter>
      <item value="0x00">Type 1</item>
      <item value="0x01">Type 2</item>
      <item value="0x02">Type 3</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FFD779=param</action>
    </script>
  </cheat>

  <cheat desc="Always have Power Up Gun">
    <script state="run">
      <action>maincpu.pb@FFD79E=01</action>
    </script>
  </cheat>

  <cheat desc="Get Power Up Gun Now!">
    <script state="on">
      <action>maincpu.pb@FFD79E=01</action>
    </script>
  </cheat>

  <cheat desc="Kill Boss with 1 Hit Now!"> <comment>This cheat is partial - it only works for some bosses</comment>
    <script state="on">
      <action>maincpu.pb@FFC891=00</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire"> <comment>Turn it OFF on name entry screen</comment>
    <script state="run">
      <action>maincpu.pb@FF1752=00|(maincpu.pb@FF1752 BAND ~02)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@FFD750=06</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL2">
    <script state="run">
      <action>maincpu.pb@FFD74F=06</action>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="FZ-2006 Game I"/>
  <cheat desc=" "/>

  <cheat desc="Infinite Lives">
    <script state="run">
      <action>maincpu.pb@FFC003=06</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mw@0087D8</action>
      <action>temp1 =maincpu.mw@00B23C</action>
    </script>
    <script state="run">
      <action>maincpu.mw@0087D8=4E71</action> <!-- Bullets -->
      <action>maincpu.mw@00B23C=4E75</action> <!-- Sprites -->
    </script>
    <script state="off">
      <action>maincpu.mw@0087D8=temp0 </action>
      <action>maincpu.mw@00B23C=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Shot">
    <script state="run">
      <action>maincpu.pb@FF03BB=01</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Bomb">
    <script state="run">
      <action>maincpu.pb@FF03DB=01</action>
    </script>
  </cheat>

  <cheat desc="Stage clear in 7 seconds Now!">
    <script state="on">
      <action>maincpu.pb@FFC23B=10|(maincpu.pb@FFC23B BAND ~10)</action>
    </script>
  </cheat>

  <cheat desc="Go to Parts Shop or Menu Now!">
    <script state="on">
      <action>maincpu.pb@FFC23B=80|(maincpu.pb@FFC23B BAND ~80)</action>
    </script>
  </cheat>

  <cheat desc="Switch to PL2 Now!">
    <script state="on">
      <action>maincpu.pb@FFC23B=04|(maincpu.pb@FFC23B BAND ~04)</action>
    </script>
  </cheat>

  <cheat desc="Switch to PL1 Now!">
    <script state="on">
      <action>maincpu.pb@FFC23B=00|(maincpu.pb@FFC23B BAND ~04)</action>
    </script>
  </cheat>

  <cheat desc="Switch DEMO Mode 'ON' Now!">
    <script state="on">
      <action>maincpu.pb@FFC23B=01|(maincpu.pb@FFC23B BAND ~01)</action>
    </script>
  </cheat>

  <cheat desc="Switch DEMO Mode 'OFF' Now!">
    <script state="on">
      <action>maincpu.pb@FFC23B=00|(maincpu.pb@FFC23B BAND ~01)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Shop Time">
    <script state="run">
      <action>maincpu.pb@FFC3FE=99</action>
    </script>
  </cheat>

  <cheat desc="Infinite Menu Time">
    <script state="run">
      <action>maincpu.pb@FFC00B=30</action>
    </script>
  </cheat>

  <cheat desc="Infinite Weapon Time">
    <script state="run">
      <action>maincpu.pb@FFC4AD=FF</action>
    </script>
  </cheat>

  <cheat desc="Infinite Fire Bomb">
    <script state="run">
      <action>maincpu.pb@FFC065=0A</action>
    </script>
  </cheat>

  <cheat desc="Infinite Smart Bomb">
    <script state="run">
      <action>maincpu.pb@FFC067=0A</action>
    </script>
  </cheat>

  <cheat desc="Infinite Heavy Bomb">
    <script state="run">
      <action>maincpu.pb@FFC069=0A</action>
    </script>
  </cheat>

  <cheat desc="Select Upgrade">
    <parameter>
      <item value="0x00">Small Wing</item>
      <item value="0x01">Big Wing</item>
      <item value="0x02">Jet Engine</item>
      <item value="0x03">Turbo Engine</item>
      <item value="0x04">Rocket Engine</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FFC2FB=param</action>
    </script>
  </cheat>

  <cheat desc="Select Bomb">
    <parameter>
      <item value="0x00">Single Bomb</item>
      <item value="0x01">Twin Bombs</item>
      <item value="0x02">Fire Bomb</item>
      <item value="0x03">Smart Bomb</item>
      <item value="0x04">Heavy Bomb</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FFC2EB=param</action>
    </script>
  </cheat>

  <cheat desc="Select Shot">
    <parameter>
      <item value="0x00">Twin Shot</item>
      <item value="0x01">Laser Beam</item>
      <item value="0x02">Wide Beam</item>
      <item value="0x03">7-way Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FFC2DB=param</action>
    </script>
  </cheat>

  <cheat desc="Get All Parts Now!">
    <script state="on">
      <action>maincpu.pb@FFC023=FF</action>
      <action>maincpu.pb@FFC025=FF</action>
      <action>maincpu.pb@FFC027=FF</action>
      <action>maincpu.pb@FFC029=FF</action>
      <action>maincpu.pb@FFC043=FF</action>
      <action>maincpu.pb@FFC045=FF</action>
      <action>maincpu.pb@FFC047=FF</action>
      <action>maincpu.pb@FFC063=FF</action>
      <action>maincpu.pb@FFC065=0A</action>
      <action>maincpu.pb@FFC067=0A</action>
      <action>maincpu.pb@FFC069=0A</action>
    </script>
  </cheat>

  <cheat desc="Infinite Gold PL1">
    <script state="run">
      <action>maincpu.pd@FFC40C=99999999</action>
    </script>
  </cheat>

  <cheat desc="Infinite Gold PL2">
    <script state="run">
      <action>maincpu.pd@FFC41C=99999999</action>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="FZ-2006 Game II"/>
  <cheat desc=" "/>

  <cheat desc="Infinite Credits">
    <script state="run">
      <action>maincpu.pb@23A691=09</action>
    </script>
  </cheat>

  <cheat desc="Invincibility">
    <script state="on">
      <action>temp0 =maincpu.mb@004CEC</action>
      <action>temp1 =maincpu.mb@004D4E</action>
    </script>
    <script state="run">
      <action>maincpu.mb@004CEC=60</action> <!-- Sprites -->
      <action>maincpu.mb@004D4E=60</action> <!-- Bullets -->
    </script>
    <script state="off">
      <action>maincpu.mb@004CEC=temp0 </action>
      <action>maincpu.mb@004D4E=temp1 </action>
    </script>
  </cheat>

  <cheat desc="Select Upgrade">
    <parameter>
      <item value="0x00">Small Wing (Normal)</item>
      <item value="0x01">Big Wing</item>
      <item value="0x02">Jet Engine</item>
      <item value="0x03">Turbo Engine</item>
      <item value="0x04">Rocket Engine</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@23A7D3=param</action>
    </script>
  </cheat>

  <cheat desc="Select Bomb">
    <parameter>
      <item value="0x00">Single Bomb</item>
      <item value="0x01">Twin Bombs</item>
      <item value="0x02">Big Bomb</item>
      <item value="0x03">Twin Big Bombs</item>
      <item value="0x04">Triple Bombs</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@23A7CB=param</action>
    </script>
  </cheat>

  <cheat desc="Select Shot">
    <parameter>
      <item value="0x00">Twin Shot (Normal)</item>
      <item value="0x01">Twin Big Shot</item>
      <item value="0x02">Laser Beam</item>
      <item value="0x03">Wide Beam</item>
      <item value="0x04">Fire Shot</item>
      <item value="0x05">7-way Shot</item>
      <item value="0x06">3-way Shot</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@23A7D1=param</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Shot">
    <script state="run">
      <action>maincpu.pw@228947=0000|(maincpu.pw@228947 BAND ~0202)</action>
    </script>
  </cheat>

  <cheat desc="Rapid Fire - Bombs">
    <script state="run">
      <action>maincpu.pw@228947=0000|(maincpu.pw@228947 BAND ~0404)</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@23A6AD=06</action>
    </script>
  </cheat>

  <cheat desc="Infinite Gold PL1">
    <script state="run">
      <action>maincpu.pd@23A6A6=000F423F</action>
    </script>
  </cheat>

  <cheat desc="Infinite Lives PL1">
    <script state="run">
      <action>maincpu.pb@23A733=06</action>
    </script>
  </cheat>

  <cheat desc="Infinite Gold PL2">
    <script state="run">
      <action>maincpu.pd@23A72C=000F423F</action>
    </script>
  </cheat>

</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->