mirror of
https://github.com/libretro/libretro-database
synced 2024-11-23 14:26:39 +00:00
.. | ||
8 Bit Panda.cht | ||
Dangerous Dave.cht | ||
FPS80.cht | ||
Mario Bros.cht | ||
README.md | ||
Super Meat Boy TIC-80 Demake.cht |
TIC-80 Cheats
These are cheats available for TIC-80 games when played through RetroArch/libretro.
Usage
- Start a game
- Open up the Quick Menu (F1)
- Cheats --> Load Cheat File (Replace)
- Select the cheat related to the game you're playing
- Toggle the desired cheat ON to enable the cheat
Development
To create a cheat, you'll use the following format:
TIC-80/My Game.cht
cheats = 2
cheat0_desc = "First Cheat"
cheat0_code = "0 1"
cheat0_enable = false
cheat1_desc = "Second Cheat"
cheat1_code = "1 58 2 45 3 41"
cheat1_enable = false
The cheat0_code
represents a string of numbers. The first number is the index in persistent memory, and the second number is the desired value. This can be multiple pairs of index values.
In the above example, cheat0_code = "0 1"
would the same as calling pmem(0, 1)
. For cheat1_code = "1 58 2 45 3 41"
, that would be the same as calling...
pmem(1, 58)
pmem(2, 45)
pmem(3, 41)
To find the pmem indexes for game, you'll have to look through the source code to find which pmem index is for what function.