Some timer codes

This forum is the archive of arcade cheats that have already been added to the current or the next release of the cheat file.
Post Reply
d9x
Posts: 39
Joined: Thu Jun 03, 2010 8:54 pm

Some timer codes

Post by d9x »

Here's some timer-related codes. I found these working on something else, no point in not sharing.

[sf2hf]

Code: Select all

  <cheat desc="Select Speed">
    <parameter>
      <item value="0x00">No frameskip (like SF2CE)</item>
      <item value="0xFF">Maximum frameskip (double speed)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF02BE=param</action>
    </script>
  </cheat>
[ssf2t]

Code: Select all

  <cheat desc="Select Speed">
    <parameter>
      <item value="0xFF">No frameskip (like SSF2)</item>
      <item value="0x80">Turbo 1 (Japan)/Turbo 0 (other)</item>
      <item value="0x70">Turbo 2 (Japan)/Turbo 1 (other)</item>
      <item value="0x60">Turbo 3 (Japan)/Turbo 2 (other)</item>
      <item value="0x50">Turbo 4 (Japan)/Turbo 3 (other)</item>
      <item value="0x00">Maximum frameskip (double speed)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF8CD3=param</action>
    </script>
    <script state="off">
      <action>temp0=maincpu.rb@FF1AA6</action> <!--operator menu setting-->
      <action>temp1=maincpu.rb@FF8CD5</action> <!--free select setting-->
      <action condition="temp0==0">maincpu.pb@FF8CD3=0x80</action>
      <action condition="temp0==1 or (temp0==4 and temp1==0)">maincpu.pb@FF8CD3=0x70</action>
      <action condition="temp0==2 or (temp0==4 and temp1==1)">maincpu.pb@FF8CD3=0x60</action>
      <action condition="temp0==3 or (temp0==4 and temp1==2)">maincpu.pb@FF8CD3=0x50</action>
    </script>
  </cheat>
[ssf2xj]

Code: Select all

  <cheat desc="Select Speed">
    <parameter>
      <item value="0xFF">No frameskip (like SSF2)</item>
      <item value="0x80">Turbo 1 (Japan)/Turbo 0 (other)</item>
      <item value="0x70">Turbo 2 (Japan)/Turbo 1 (other)</item>
      <item value="0x60">Turbo 3 (Japan)/Turbo 2 (other)</item>
      <item value="0x50">Turbo 4 (Japan)/Turbo 3 (other)</item>
      <item value="0x00">Maximum frameskip (double speed)</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@FF8CD3=param</action>
    </script>
    <script state="off">
      <action>temp0=maincpu.rb@FF1AA6</action> <!--operator menu setting-->
      <action>temp1=maincpu.rb@FF8CD5</action> <!--free select setting-->
      <action condition="temp0==0 or (temp0==4 and temp1==0)">maincpu.pb@FF8CD3=0x80</action>
      <action condition="temp0==1 or (temp0==4 and temp1==1)">maincpu.pb@FF8CD3=0x70</action>
      <action condition="temp0==2 or (temp0==4 and temp1==2)">maincpu.pb@FF8CD3=0x60</action>
      <action condition="temp0==3">maincpu.pb@FF8CD3=0x50</action>
    </script>
  </cheat>
(This should replace a simpler set of ssf2xj codes.)

[sfz3ugd]

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pw@0C420219=3B63</action>
    </script>
  </cheat>
[mvsc2]

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pw@0C2F8378=7863</action>
    </script>
  </cheat>
[capsnk]

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pd@0C235200=003B0063</action>
    </script>
  </cheat>
[cvsgd]

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run">
      <action>maincpu.pd@0C2356A0=003B0063</action>
    </script>
  </cheat>
[cvs2gd]

Code: Select all

  <cheat desc="Infinite Time">
    <script state="run"> <!--address depends on stage-->
      <action>maincpu.pd@((maincpu.rd@(maincpu.rd@0C05699C) + maincpu.rw@0C05698C) - 2)=003B0063</action>
    </script>
  </cheat>
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: Some timer codes

Post by Pugsy »

Thanks, added
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
Post Reply