Pre-Enable option - How can be done in current XML format?

If you are having problems finding or using cheats for an Emulator (particularly MAME/MESS) or have found a trick that you wish to share this is the place to do it. But please read the Cheat FAQ first.
User avatar
megaman_exe
CheatFinder Private
Posts: 32
Joined: Mon Nov 05, 2007 2:12 am

Pre-Enable option - How can be done in current XML format?

Postby megaman_exe » Thu Apr 30, 2015 2:20 pm

Hi peeps, Anyone knows how to set a cheat with the pre-enable mode in the new XML format? This was in the previous format (cheat.dat).

The beheviour of this is that when launching mame with a game loaded, the cheat is enabled immediately upon startup. It should apply before any rom code is executed.

These behaviour is very useful for "Skip checksum" cheats

for example, here are some skip checksum cheats that I made:

captcomm.xml

Code: Select all

  <cheat desc="Skip checksum">
    <script state="run">
      <action>maincpu.mw@00061C=0448</action>
    </script>
  </cheat>



cawing.xml

Code: Select all

  <cheat desc="Skip checksum">
    <script state="run">
      <action>maincpu.mw@000428=01bc</action>
    </script>
  </cheat>


gng.xml

Code: Select all

  <cheat desc="Skip checksum">
    <script state="run">
      <action>maincpu.mw@607a=7e60</action>
      <action>maincpu.mb@607a=7d</action>
      <action>maincpu.mb@68a4=00</action>
      <action>maincpu.mb@5634=00</action>
    </script>
  </cheat>


I hope somebody can sort this out.
Thanks for your support!

Return to “Cheat Engine Help”

Who is online

Users browsing this forum: No registered users and 5 guests