RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Using cheats in later versions of Retroarch MAME

    Scheduled Pinned Locked Moved Help and Support
    lr-mamecheat.zipcheats
    2 Posts 2 Posters 6.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JimmyFromTheBay
      last edited by JimmyFromTheBay

      So as usual there's zero helpful documentation about this anywhere, but I eventually managed to bludgeon my way to the solution so here it is for anyone else using the likes of lr-mame2016 or lr-mame.

      (1) Go somewhere like here: http://www.mamecheat.co.uk/ and download a cheat file, which will be called something like CHEAT0245.ZIP.

      (2) Open that file and extract CHEAT.7Z from inside it.

      (3) Create a folder called CHEAT in /home/pi/RetroPie/BIOS/mame (for lr-mame) or /home/pi/RetroPie/BIOS/mame2016 (for lr-mame2016).

      (4) PUT CHEAT.7Z in that folder. (Do NOT put CHEAT0245.ZIP in there, it won't work. And do NOT unzip CHEAT.7Z either. Just drop the whole file in there.)

      (5) When you're playing the game you want to cheat in, go into the Retroarch menu and under Options set Enable cheats to On.

      (Or you can enable them universally by editing MAME.OPT in /opt/retropie/configs/all/retroarch/config/MAME, or MAME 2016.OPT in /opt/retropie/configs/all/retroarch/config/MAME 2016, to include the line mame_cheats_enable = "enabled".)

      (6) Now when you're in the game the Tab menu will give you access to the cheats as usual. The end.

      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

      1 Reply Last reply Reply Quote 0
      • G
        gustavomay
        last edited by gustavomay

        It's been a while since your post, but I wanted to offer some insight. I had the same issue with using cheats in Retroarch MAME, and it took me a while to figure it out. One thing I want to point out is when you’re playing a game, you can enable cheats through the Retroarch menu by setting “Enable cheats” to On. Alternatively, you can enable cheats globally by editing the configuration file to include the line mame_cheats_enable = "enabled".
        If you’re into more advanced game hacking, you might want to read this guide on kernel-level injectors. It has a lot of useful information.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.