#100998
machtroid
Participant

You will need to create a cheat file (.CHT) for the game you would like to use cheats for. I just create a blank text file, then for each cheat you would like to use for a game you list it like this:

cheats = 3

cheat0_desc = “Infinite Lives”
cheat0_code = “OXNGLZVK”
cheat0_enable = true

cheat1_desc = “Infinite Time”
cheat1_code = “SXXXYAAX”
cheat1_enable = false

cheat2_desc = “Infinite Health”
cheat2_code = “SZSVLYSE”
cheat2_enable = false

So list the cheats you would like to use in the format above (Game Genie or PAR depending on which system you are using) and then save it to a file such as ‘Castlevania.CHT’. I created a folder named ‘cheats’ in /home/pi/RetroPie/ for easy access, and then I set ‘cheat_database_path’ in the main /opt/retropie/configs/all/retroarch.cfg file to that location.

After you get your directory and files set up, just pull up the Retroarch menu while in the game, and go to Options > Core Cheat Options > Cheat File Load. If you set your directory then your cheat file should be listed there. If not, just navigate to wherever you saved it. Select it and then you can set your desired cheats to on or off. Be sure to select ‘Apply Cheat Changes’ before going back into your game.

There’s also a Github for many cheat files that have already been created: https://github.com/libretro/libretro-database/tree/master/cht

You can simply download these to your pi and you’ll be good to go.