Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame and Permanent Cheats?  (Read 2465 times)

0 Members and 1 Guest are viewing this topic.

Candiman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:July 12, 2013, 09:31:05 am
    • My MAME / MUGEN project
Mame and Permanent Cheats?
« 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

nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
Re: Mame and Permanent Cheats?
« Reply #1 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.

gstav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 217
  • Last login:December 13, 2024, 08:32:02 am
    • forum.arcadecontrols.com/index.php/topic,157861.0.html
Re: Mame and Permanent Cheats?
« Reply #2 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?
"One coin to rule em' all"

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 9582
  • Last login:Today at 10:52:21 am
  • Designated spam hunter
Re: Mame and Permanent Cheats?
« Reply #3 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/forums/
http://www.mamecheat.co.uk/forums/viewtopic.php?f=10&t=12237


Scott