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.
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.