Page 1 of 1

[pachifev] "Basic" cheats

Posted: Fri Aug 27, 2010 5:52 am
by stephh
I don't know why I decided to have a look at this game to fix the Dip Switches : I don't like such game, and the CPU (TMS9995), besides the fact that it was unknown to me until this Wednesday, is a nightmare with its internal RAM you can't read/write within the debugger (ie: no watchpoints nor memory views you can see/edit) :(

Luckily, there is some data in "standard" RAM, and I've noticed that the game still had no cheats for the 0.139 collection ... So here are the basic cheats (enough to end the game) to replace what's in your "empty" pachifev.xml file :

Code: Select all

<mamecheat version="1">

  <cheat desc="Time PL1">
    <parameter>
      <item value="0x2328">Infinite</item>
      <item value="0x0001">Game Over</item>
    </parameter>
    <script state="run">
      <action condition="(maincpu.pw@e01c!=0000)">maincpu.pw@e01c=param</action>
    </script>
  </cheat>

  <cheat desc="End level PL1">
    <script state="on">
      <action condition="(maincpu.pb@e001 LE 0002)">maincpu.pw@e016=maincpu.pw@e028</action>
      <action condition="(maincpu.pb@e001==0004)">maincpu.pw@e016=maincpu.pw@e02a</action>
    </script>
  </cheat>

  <cheat desc="Time PL2">
    <parameter>
      <item value="0x2328">Infinite</item>
      <item value="0x0001">Game Over</item>
    </parameter>
    <script state="run">
      <action condition="(maincpu.pw@e024!=0000)">maincpu.pw@e024=param</action>
    </script>
  </cheat>

  <cheat desc="End level PL2">
    <script state="on">
      <action condition="(maincpu.pb@e001 LE 0002)">maincpu.pw@e01e=maincpu.pw@e028</action>
      <action condition="(maincpu.pb@e001==0004)">maincpu.pw@e01e=maincpu.pw@e02a</action>
    </script>
  </cheat>

</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->
Time is on purpose limited to 9000 to avoid GFX corruption that might occur when you get bonus time (mainly in the bonus stage after level 3) ...

If you don't understand everything, wait for MAME 0.139u2 and read my notes in the pachifev.c driver ... But feel free to ask if you have some questions ...

Image Steph from The Ultimate Patchers Image

Re: [pachifev] "Basic" cheats

Posted: Fri Aug 27, 2010 3:27 pm
by Pugsy
Thanks, added.