Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keys

oxyROMon ships no console key. A few operations need one, which import-keys stores in oxyROMon’s data directory, so a headless server needs no emulator:

ToYou need
Compress a Wii ISO to RVZ or ORE, or export it to WBFSThe Wii common key
Export a Wii U disc or title to WUA or NUSThe disc’s key and the Wii U common key
Export a Wii U title missing an H3 fileThe Wii U common key
Compress an NSP holding NCAs to NSZYour Switch’s prod.keys or title.keys
Compress a PS3 ISO to ORE without an IRDIts Redump .dkey

Every key file import-keys writes is readable by its owner only, and importing again after new dumps only adds or updates keys.

Wii and Wii U

Wii and Wii U keys come from files in the format of Cemu’s keys.txt: one 32-digit hex key per line, with anything after # or ; ignored. Disc keys and the Wii U common key can share a file.

A console’s OTP dump, otp.bin, can be imported too: its Wii U and vWii common keys are taken from it, the vWii key serving the vWii titles a disc’s update partition can carry. The Wii common key comes from a Wii U’s or a Wii’s otp.bin, from BootMii’s keys.bin, or from a line of its own in a keys file.

The keys are all merged into wiiu_keys.txt, as every key is tried, each key kept once.

Switch

Switch keys come from prod.keys and title.keys, as Lockpick_RCM dumps them. They are merged by name into switch_keys.txt, a newer value replacing an older one. A prod.keys is checked first, as compressing will read it: one whose keys are not the real ones is refused, and nothing is written.

When only title.keys were imported, or nothing, ~/.switch/prod.keys, where nsz keeps them, is read. Importing, checking and decompressing NSZs never need keys.

3DS

3DS keys come from Azahar’s aes_keys.txt, known by its key slots’ names (slot0x2CKeyX) and its generator constant. They are merged by name into 3ds_keys.txt, in the same format, a newer value replacing an older one. A key slot’s key, common0 to common5 or the generator constant that is not 16 bytes is refused, and nothing is written. Nothing uses them yet: they are there for decrypting 3DS games to come.

PlayStation 3

PS3 disc keys come from Redump’s .dkey files, known by their extension, into ps3_keys.txt, one key per line, each kept once. A disc’s IRD gives its key already; a .dkey is for an ISO with none, and each key is tried against the disc, so a file’s name does not matter. See PlayStation 3.