Where to put cheat code files

TomSwitch

Well-Known Member
OP
Member
Joined
Jan 10, 2019
Messages
2,423
Trophies
1
Age
42
XP
7,327
Country
United States
Here is an example game:

Space Marshals 3 1.0.0 TID: 0100FC10159EC000 BID: 0AFE1AE664D9AFA1

TID stands for title ID. This is a number assigned by Nintendo and every application on Switch has one. In this case the game "Space Marshals 3" has the title ID of 0100FC10159EC000.

BID stands for build ID. This is a hash of the game code. This is how we know the game code is the correct version the cheat code is made for. In this case version 1.0.0 has build ID of 0AFE1AE664D9AFA1

There are a few location where cheat code files can go to:

1. Atmosphere's contents directory.
For this example it is "/atmosphere/contents/0100fc10159ec000/cheats/0AFE1AE664D9AFA1.txt". Atmosphere's cheatVM looks for this file when a game is started, if a file with matching TID and BID (this file) is present it will be loaded into memory.

2. Breeze's cheat directory.
Breeze will look for the file when it is launched and the game is running and no cheat has been loaded yet in this order:
(1) If "Use titleid = 0" (an option in settings) "/switch/breeze/cheats/Space Marshals 3/0AFE1AE664D9AFA1.txt" otherwise "/switch/breeze/cheats/0100FC10159EC000/0AFE1AE664D9AFA1.txt" (default).
(2) "/switch/breeze/cheats/0AFE1AE664D9AFA1.txt". I added this option so user can save the effort of getting the TID when adding cheat code file.
(3) In the database "/switch/breeze/cheats/titles.zip".
Breeze don't automatically load any file if cheats is already loaded (by 1 above or 2 below or any other means). You can ask Breeze to load file placed in Breeze's cheat directory with "Load Cheats from file" button.
File placed in Breeze's cheat directory is private to Breeze, you can use "Write Cheat to atm" button to put the current cheats in memory into atmosphere's content directory.

3. EdiZon SE's cheat directory.
EdiZon SE will look for "/switch/EdiZon/cheats/0AFE1AE664D9AFA1.txt" when it is launched and the game is running. If the file is present if will load the cheats and move the file to "/atmosphere/contents/0100fc10159ec000/cheats/0AFE1AE664D9AFA1.txt".
If no cheats are loaded in memory EdiZon SE will next look for cheat in "/switch/EdiZon/cheats/titles.zip" and if found it will load it as well as put a copy in atmosphere's content directory.

titles.zip can be downloaded in app as well as from github. https://github.com/tomvita/NXCheatCode/releases
 
Last edited by TomSwitch,
  • Like
Reactions: crazy_p

Group statistics

Members:
80
Threads:
33
Messages:
107