Using cheats in later versions of Retroarch MAME
-
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.
-
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.
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.