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: Is relatively easy create a diff patch to do a save config with cheat options?  (Read 1348 times)

0 Members and 1 Guest are viewing this topic.

Rockman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 30, 2014, 12:10:33 pm
Hi guys!!!

Since Official Mame don't provide the mode to save the presets of the overclocking with the cheats activated,
Is relatively easy to create a diff path (similar to hiscore diff patch) to do a save the overclocking values in the *.cfg files for the games?

Hiscore is a lot more complex to do i think. My idea is only add the field of the cpu speed of each game.
I can tweak the source to do a permanent cpu speed fix, but if i discover a new game with slowdowns i need to recompile all the code.
I think that is not a bad idea.......maybe :D

Someone with a skills or experience in tweaking a little the mame code can comment if it is a lot difficult to do?

Thanks.

Peace.  :cheers:

nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
There is a way to mark cheats in the cheat.dat file so that they are automatically on as long as you run mame with cheats enabled. It's been ages since I've done this, but I think it's something simple like just putting a colon or two in front of the cheat code.

Of course you need a way to determine what values need to be added to cheat.dat for the overclocking you want. There was a thread on this forum about it, but it's ancient - maybe like 7 or 8 years old. I think they talked about Cruisin' USA specifically, so that might help you search for it.

Maybe not the answer you were wanting, but I think this would be easier than modifying the source code, and I've given you a bit to go on.

 :cheers:

Rockman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 30, 2014, 12:10:33 pm
Thanks nitz :)

This way of specifying the value of overclock work with the old CHEAT.DAT. I see that way in the forums.
But the new cheat.dat engine, all is different, and I do not know if there is a way to specify or send values ​​in the "new" cheat system to mame.

Anyone can contribute with something?
 :dunno




nitz

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 507
  • Last login:November 24, 2015, 07:57:29 pm
Sorry, haven't used cheat.dat in ages and didn't know it had changed.

If I were you, I'd try asking about this over at Mameworld. Someone there will likely know the answer. :)