How to Add AR Codes to Dolphin Emulator
In this article
Adding AR (Action Replay) codes to Dolphin lets you cheat in GameCube and Wii games, unlock hidden content, or tweak gameplay. This guide covers both the classic Dolphin interface and the newer Qt interface, and works for Windows, macOS, and Linux versions of Dolphin. You'll need the game ISO or disc, a text editor, and the AR codes themselves (usually found on forums or cheat databases).
What You'll Need
- Dolphin emulator (version 5.0 or newer recommended)
- A GameCube or Wii game that supports AR codes (most do)
- AR codes in the correct format (usually 8-digit code lines, sometimes with descriptions)
- A text editor like Notepad (Windows), TextEdit (macOS), or Gedit (Linux)
Step-by-Step
- Find the Game ID: Right-click the game in Dolphin's game list and select "Properties." In the "Info" tab, note the "Game ID" (e.g.,
GALE01for Super Smash Bros. Melee). This is crucial because AR codes are game-specific. - Obtain AR Codes: Search for AR codes for your specific game ID. Reliable sources include the Dolphin forums, the Gecko Code database (which often includes AR codes), and dedicated cheat sites. Copy the codes you want.
- Open the Game's INI File: In Dolphin, go to "Options" > "Configuration" > "Paths" and note the "Wii" and "GameCube" folders. Inside those folders, you'll find a folder named "GameSettings." If it doesn't exist, create it. Inside GameSettings, you'll find .ini files named after game IDs (e.g.,
GALE01.ini). Open that file with a text editor. If it doesn't exist, create a new text file and name it exactly the game ID with .ini extension. - Add the [ActionReplay] Section: In the .ini file, scroll to the bottom. If there is already a section named
[ActionReplay], add your codes under it. If not, create a new line with[ActionReplay]and press Enter. - Paste Your Codes: Paste the AR codes exactly as you copied them, one code per line. Some codes have a name followed by a colon, then the code lines. For example:
Make sure there are no extra spaces or blank lines between the name and the code lines.[ActionReplay] Infinite Lives 04000000 00000000 04000000 00000000 - Save the File: Save the .ini file and close the text editor.
- Enable Cheats in Dolphin: In Dolphin, go to "Options" > "Configuration" > "General" and check the box "Enable Cheats." If it was already checked, leave it.
- Apply the Codes: Right-click the game again, select "Properties," and go to the "AR Codes" tab. You should see the codes you added listed there. Check the box next to each code you want to enable.
- Launch the Game: Start the game. The codes should be active. If they don't work, double-check the code format and the game ID.
Common Mistakes
- Wrong Game ID: Using codes for a different version of the game (e.g., PAL vs NTSC) will cause them to fail or crash the game.
- Incorrect Format: AR codes must have exactly 8 hex digits per line, often with a space in the middle (e.g.,
04000000 00000000). Some codes have a name line before them; that's fine, but don't add extra characters. - Missing [ActionReplay] Header: If you put codes under a different section (like [Gecko]) they won't work.
- Not Enabling Cheats: Forgetting to check "Enable Cheats" in Dolphin's settings is a common oversight.
- Editing the Wrong .ini: Some games have multiple .ini files (e.g., for different regions). Make sure you edit the one matching your game's ID.
Tips
- Backup Your .ini Files: Before editing, copy the original .ini file to another location. If something goes wrong, you can restore it.
- Use the Gecko Code Section for Gecko Codes: If you have Gecko codes (which start with
$), put them under a[Gecko]section instead. AR and Gecko are different formats. - Test One Code at a Time: If a code doesn't work, try disabling all others and test one by one to isolate the issue.
- Check for Updates: Some codes may not work on newer Dolphin versions due to emulation changes. Search for updated codes if needed.
- Use the Dolphin Wiki: The Dolphin Wiki has a list of games with known working codes and troubleshooting tips.
Troubleshooting
Codes don't appear in the AR Codes tab: Make sure the .ini file is saved in the correct GameSettings folder and that the game ID matches exactly. Also, ensure the section header is [ActionReplay] and not misspelled.
Codes appear but don't work: Double-check the code format. Some codes are for a different region or revision of the game. Also, try enabling the code before launching the game (not while it's running).
Game crashes or freezes: One of the codes may be incompatible or have a typo. Disable all codes and re-enable them one by one to find the culprit.
Codes work once but not on next launch: Ensure the .ini file was saved properly. Sometimes text editors add a BOM (Byte Order Mark) that can confuse Dolphin. Use "Save as UTF-8 without BOM" if possible.
No GameSettings folder exists: Create it manually in the same directory as the Dolphin executable (or in the user folder if you've set a custom path).
Frequently Asked Questions
Can I use AR codes on any game?
Most GameCube and Wii games have AR codes available, but not all. Some games may have limited or no codes. Also, codes for one region (e.g., NTSC-U) won't work on another (e.g., PAL).
What's the difference between AR and Gecko codes?
AR codes are the older format used by Action Replay devices. Gecko codes are a newer format that Dolphin also supports. They are not interchangeable; you must use the correct section in the .ini file.
Do AR codes work with online play?
No, using AR codes in online play is generally not recommended and may result in bans. Dolphin's online play is community-run, and cheating is frowned upon.
Can I use AR codes on a physical console?
Yes, but this guide is for Dolphin. On a real console, you'd need an Action Replay device or a modded console. The codes are the same, but the method differs.
Why do some codes have a name before the code lines?
That's just a label for your convenience. Dolphin will display that name in the AR Codes tab. It's optional but helpful.
How do I find AR codes for my game?
Search the Dolphin forums, the Gecko Code database, or use a search engine with your game ID and "AR codes." Always verify the codes work with your game version.