Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Candiman on October 10, 2010, 02:36:00 pm

Title: Mame and Permanent Cheats?
Post by: Candiman on October 10, 2010, 02:36:00 pm
Quick Question

There a few games in which I would like to have some cheats always on.
As to be able to play hidden characters in fighters and turn timers off in other games in 2 player mode etc.

Is there a way in MAME or by editing a rom for example so that certain cheats are ALWAYS enabled without having to go through mame's menus?

Thanks
Title: Re: Mame and Permanent Cheats?
Post by: nitz on October 11, 2010, 08:41:57 pm
I think this works:

Open cheat.dat in notepad. Find the game and cheat that you want permanently enabled, and just put a : at the front of that line. Close and save changes to cheat.dat.
Title: Re: Mame and Permanent Cheats?
Post by: gstav on December 19, 2022, 09:21:07 am
sorry for openings such an old subject but i dont really get where to edit stuff.
I want to skip Operation WOLF having the flash on each bullet so this is what I have in my opwolf.xml in MAME}cheat\cheat.7z

  <cheat desc="Stop Screen Flashing on Shooting">
    <script state="on">
      <action>temp0 =maincpu.mb@001131</action>
    </script>
    <script state="run">
      <action>maincpu.mb@001131=02</action>
    </script>
    <script state="off">
      <action>maincpu.mb@001131=temp0 </action>
    </script>
  </cheat>

I dont understand where to add this : or is it another way of do this nowdays?
Title: Re: Mame and Permanent Cheats?
Post by: PL1 on December 19, 2022, 01:10:55 pm
The cheat system updated over 6 years ago to use LUA scripts.   :dunno

I'd look for more recent info and/or Pugsy's posts here.
http://www.mamecheat.co.uk/ (http://www.mamecheat.co.uk/)
http://www.mamecheat.co.uk/forums/ (http://www.mamecheat.co.uk/forums/)
http://www.mamecheat.co.uk/forums/viewtopic.php?f=10&t=12237 (http://www.mamecheat.co.uk/forums/viewtopic.php?f=10&t=12237)


Scott