Utilities Reference - zhaowenlan1779/threeSD GitHub Wiki
threeSD Utilities is a set of tools that I think might be useful for some. Normal users shouldn't need to use them.
For some tools that directly read file from the SD card, you need to provide some system files for threeSD to generate the SD Key. These files are located in the following places by default, if you've run the threeSDumper.
-
boot9.bin:
/threeSD/boot9.bin
-
movable.sed:
/threeSD/movable.sed
In addition, you need to specify the SDMC root. This is the folder /Nintendo 3DS/<ID0>/<ID1>
.
Simply removes the SD encryption layer. For those who don't know already, every file stored in the /Nintendo 3DS
folder has an additional layer of encryption. After SD Decryption, you will get the original files stored on the SD card. Note that, NCCHs are usually still encrypted with separate methods.
- Input: Any file within SDMC
- Output: Decrypted file (Read the above note: NCCHs are still encrypted!)
Extracts files from DISA archives.
- Input:
<SDMC>/title/<ID high>/<ID low>/data/00000001.sav
, or decrypted DISA archives - Output: Extracted Save Data
Note that, if you've never started the game, the sav
file would still be there but would be unformatted, and threeSD would fail to extract it as there's nothing inside really.
Extracts Extra Data. Extra Data is a folder with a handful of files, where one of them specifies the file system, and others are actual data files. This can only be used with files directly within SDMC (aka with SD Encryption layer), decrypted DIFF containers are not supported (and I also won't consider that useful)
- Input:
<SDMC>/extdata/<ID high>/<ID low>/00000000/
- Output: Extracted Extra Data
Extracts what's called "Shared RomFS" from a decrypted NCCH. 3dsutils (which dumps System Archives) output files in .romfs
which is actually the Shared RomFS part. Citra accepts this for System Archives.
- Input: Any decrypted NCCH
- Output: Shared RomFS