Setting up cheat codes in RetroArch can completely change how you experience classic titles. Whether you want infinite health in a punishing platformer or max currency in an old-school role-playing game, RetroArch handles code injection through a streamlined built-in system. You don't need complex external trainers or memory editors; everything runs directly inside the emulator core using standard .cht files.
Getting cheats working requires downloading the right cheat database, loading a compatible game core, and toggling the options from the quick menu. This guide walks you through finding cheat files, applying codes correctly, troubleshooting common loading errors, and writing your own custom overrides.
Understanding RetroArch Cheat Architecture
RetroArch manages cheats via plaintext files ending in the .cht extension. Each file corresponds to a specific game, usually matching the ROM filename. Inside these files, standard formats define memory addresses, comparison values, and target bytes for specific hardware emulators like Libretro.
Unlike standalone emulators that let you type codes directly into a simple text box, RetroArch relies heavily on its pre-packaged cheat database. When you download this database through the online updater, you get thousands of tested codes for systems ranging from the NES to the PlayStation 1.
- The Core Dependency: Cheats are strictly tied to the emulator core and the exact ROM region. A cheat code written for the North American (U) version of a Super Nintendo game will crash or fail if you apply it to the Japanese (J) version.
- Memory Addresses: RetroArch translates high-level toggle switches into low-level GameShark, Action Replay, or Game Genie hex codes behind the scenes.
Step-by-Step Cheat Setup Guide
Configuring and activating cheats takes just a few minutes once you know where the settings live in the menu interface.
- Launch RetroArch and navigate to the Main Menu. Select Online Updater and choose Update Cheats. This downloads the latest official cheat archive to your local storage.
- Load your desired game content by selecting Load Content and picking your ROM. Ensure you pick a core that natively supports cheat memory manipulation (most standard console cores do).
- Once the game is running, open the RetroArch Quick Menu (press
F1on keyboards, or the designated hotkey combination on your gamepad). - Scroll down and select Cheats, then choose Load Cheat File (Subfolder).
- Navigate to the folder matching your system (e.g., Nintendo - Super Nintendo Entertainment System), and select the
.chtfile that matches your loaded ROM name. - The menu will populate with a long list of available tweaks, each with an individual toggle switch. Scroll to the specific cheat you want and flip it from False to True.
- Scroll back to the top of the cheat sub-menu and select Apply Changes. You should see a notification pop up confirming the codes were applied.
Managing Individual Cheat Codes
Sometimes a pre-made cheat file contains dozens of options you don't care about, or you want to adjust a specific numerical value. RetroArch lets you inspect, edit, and create individual entries on the fly.
To add a custom code manually without a .cht file, open the Cheats menu inside the Quick Menu and select Add New Cheat At Index. From there, you can configure three main parameters:
- Cheat Description: A recognizable label for what the code does (for example, "Infinite Lives").
- Cheat Code: The actual hexadecimal string provided by code databases. Separate multiple lines or addresses using standard syntax recognized by the active core.
- Cheat Code Type: Select whether the format is GameShark, Action Replay, Game Genie, or raw memory poke.
Always remember to select Save Cheat File As after making manual edits. If you skip this step, your custom additions disappear the moment you close RetroArch.
Common Mistakes and Troubleshooting
Even with correct setup steps, cheats often fail due to subtle configuration mismatches. Watch out for these frequent pitfalls:
- Mismatched ROM Revisions: If your game is a "Rev 1" or a hacked translation rom, standard database cheat files won't align with the altered memory offsets.
- Forgetting to Apply Changes: Toggling a switch to "True" doesn't activate it immediately. You must explicitly click Apply Changes every time you alter the active list.
- Auto-Save Conflicts: If you load a save state created before you applied cheats, sometimes the memory state doesn't refresh properly. Try resetting the game software entirely after applying codes.
- Core Incompatibility: Some arcade (FBNeo) or handheld (DeSmuME) cores handle memory addressing differently. Check the core documentation if cheat toggles result in immediate game crashes.
Frequently Asked Questions
Can I use Game Genie codes directly in RetroArch?
Yes. RetroArch natively translates Game Genie and Action Replay formats for older cartridge systems as long as the loaded core supports cheat injection.
Where are RetroArch cheat files saved locally?
RetroArch usually stores downloaded cheat files in your designated system directory under a folder named cheats. You can inspect and modify your directory paths inside the Settings > Directory menu.
Why does my game crash when I turn on a cheat?
Crashes almost always happen because the cheat code targets a memory address belonging to a different game version or region. Always verify that your ROM file matches the region specified in the cheat file name.
Do RetroArch cheats work in netplay mode?
No. To prevent desyncs and unfair advantages, RetroArch automatically disables cheat functionality when you join an online Netplay session with other players.