We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
User:Miui/RetroArch Cheats
- Note: This page is a clone of User:GimmickCellar/RetroArch Cheats
RetroArch Cheats are used to modify the currently running game's state.
Why is this an article here?
Well, first, let me explain what they are made up of. Each cheat can do the following:
- Set a specific address to a specific value.
- Increase the value of the specific address by a value.
- Decrease the value of the specific address by a value.
- Run the next cheat only if the specific address is equal to a value.
- Run the next cheat only if the specific address is NOT equal to a value.
- Run the next cheat only if the specific address is less than a value.
- Run the next cheat only if the specific address is greater than a value.
These are seven total "instructions". An assembly-like syntax will be used:
set address,value # Set inc address,value # Increment dec address,value # Decrement rie address,value # Run If Equal rne address,value # Run Not Equal ril address,value # Run If Less rig address,value # Run If Greater
Miui's set of instructions
poke X,Y,HHHH write Unicode codepoint HHHH (hex) into the cell at column X, row Y pokeall AAAA,BBBB replace every cell holding AAAA with BBBB push S,N push N onto storage S (0-27; 21 is the queue) sel S select storage S goto X,Y[,dir] move the instruction pointer; dir is r, l, u or d feed TEXT queue TEXT as if typed, followed by a newline halt stop the program
Examples
User:Miui's collection of cheats can be found here.
proof its cheats
See image ->

Proof is more than cheats
Using an libretro Aheui interpreter given no typical retroarch input, cheats can both target the execution grid and pass input to the program.
Lost Kingdom input cheat table here!
Interpreters/Implementations
- RetroArch, obviously.
- Libretro, same thing.
Known Issues
If you have more than 6,000 cheats, the rest do not work, as they leak into other parts of the settings.