How to Add Cheats to Ryujinx Games: A Complete Guide

Ryujinx is one of the most capable Nintendo Switch emulators available for PC, and one of its more popular features is built-in cheat support. Whether you want infinite health, unlocked items, or just want to experiment with game mechanics, adding cheats to Ryujinx is straightforward once you understand how the system works.

How Ryujinx Handles Cheats

Ryujinx uses a cheat file system based on memory addresses and values — similar in concept to how Action Replay or GameShark codes worked on older hardware. Each cheat is written in a specific format and stored in a plain text file that Ryujinx reads when a game launches.

Cheats in Ryujinx are tied to a game's title ID — a unique identifier assigned to every Switch game. This is important because cheat codes are version-specific. A cheat written for version 1.0.0 of a game may not work correctly on version 1.3.0, and using the wrong version's cheats can cause crashes or unexpected behavior.

Step-by-Step: Adding Cheats to Ryujinx 🎮

1. Find Your Game's Title ID

Before you can add any cheats, you need the correct title ID for your game.

  • Right-click the game in the Ryujinx game list
  • Select "Open Cheats Directory" or navigate to "Cache/Cheats" in the emulator's app data folder
  • The folder path typically looks like: %APPDATA%Ryujinxcheats[TitleID]

If the cheats directory doesn't exist yet for a game, you may need to create it manually.

2. Get the Cheat File

Cheat files for Ryujinx use the .txt format and contain code blocks that look like this:

[Cheat Name] 04000000 XXXXXXXX YYYYYYYY 

You can source cheat files from:

  • Ryujinx's official GitHub and community forums
  • GBAtemp, which maintains large Switch cheat databases
  • Switch cheat repositories on GitHub (search for "Switch cheats [game name]")

Always verify that the cheat file matches your exact game version. The build ID or version number is usually listed alongside the cheat file.

3. Place the File in the Correct Directory

Once you have the .txt cheat file:

  1. Navigate to your Ryujinx cheats folder: %APPDATA%Ryujinxcheats
  2. Inside that folder, locate or create a subfolder named after your game's title ID (e.g., 0100000000010000)
  3. Place the .txt cheat file inside that folder

4. Enable Cheats in Ryujinx

  • Right-click the game in the Ryujinx game list
  • Select "Manage Cheats"
  • A dialog box will appear showing all available cheats loaded from your text file
  • Check the box next to each cheat you want to enable
  • Launch the game — cheats activate at startup

Version Matching: The Most Common Source of Problems

The single biggest reason cheats fail in Ryujinx is a version mismatch. Switch games receive updates frequently, and memory addresses shift between builds. If a cheat was written for v1.0.0 but your installed game is v1.2.0, the addresses the cheat targets may no longer be valid.

To check your game version in Ryujinx, hover over or right-click the game entry — it typically displays the installed version. Cross-reference this with the version listed on the cheat source before using it.

ScenarioExpected Result
Cheat version matches game versionCheat works as intended
Cheat version is older than gameLikely crashes or no effect
Cheat version is newer than gameUnpredictable behavior
Wrong title ID usedCheat file not recognized

Understanding Cheat Code Types in Ryujinx

Ryujinx supports multiple cheat opcode types, which control how memory is modified:

  • Static writes — overwrite a fixed memory address with a set value (e.g., max gold)
  • Conditional codes — only activate when certain in-game conditions are met
  • Loop codes — repeatedly write values to prevent the game from resetting them

More complex cheats may involve multiple lines of code working together. If you're pulling individual codes from a larger cheat pack, make sure you're copying complete code blocks — partial codes frequently cause instability.

What Affects Whether Cheats Work for You

Several variables determine how reliably cheats perform on a given setup: 🔧

  • Ryujinx version — the emulator updates frequently; cheat engine behavior can change between releases
  • Game version and update files — as covered above, version matching is critical
  • Game format — whether you're running an XCI or NSP file can sometimes affect behavior
  • Firmware version — some games have different memory layouts depending on the Switch firmware being emulated
  • Specific cheat complexity — multi-line or loop-based cheats are more sensitive to environment changes than simple one-liners

Some users run the latest Ryujinx builds without issues, while others on slightly older versions find certain cheat types don't activate. Others find cheats work perfectly in handheld mode emulation but behave differently in docked mode — a quirk that comes down to how specific games manage memory states.

The cheat that works flawlessly for one person's setup may need a different code version, a different Ryujinx build, or a different game update to behave the same way on yours.