Keys are required for decrypting most of the file formats used by the Nintendo Switch.
Keysets are stored as text files. These 2 filenames are automatically read:
prod.keys - Contains common keys used by all Nintendo Switch devices.title.keys - Contains game-specific keys.Ryujinx will first look for keys in Ryujinx/system, and if it doesn't find any there it will look in $HOME/.switch.
To dump your prod.keys and title.keys please follow these following steps.
Lockpick_RCM.bin that you have downloaded at Step 3. using your preferred payload injector. We recommend TegraRCMGUI as it is easy to use and has a decent feature set.Vol+/- buttons to navigate and the Power button to select, select Dump from SysNAND | Key generation: X ("X" depends on your Nintendo Switch's firmware version)Power off if you have an SD card reader. Or you could Navigate and select Reboot (RCM) if you want to mount your SD card using TegraRCMGUI > Tools > Memloader V3 > MMC - SD Card.sd:/switch/prod.keys and sd:/switch/title.keys respectively.Ryujinx/system.
And you're done!These are only used for games that are not dumped from cartridges but from games downloaded from the Nintendo eShop, these are also only used if the eShop dump does not have a ticket. If the game does have a ticket, Ryujinx will read the key directly from that ticket.
Title keys are stored in the format rights_id = key.
For example:
01000000000100000000000000000003 = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
01000000000108000000000000000003 = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
01000000000108000000000000000004 = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
These are typically used to decrypt system files and encrypted game files. These keys get changed in about every major system update, so make sure to keep your keys up-to-date if you want to play newer games!