mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 04:40:08 +00:00
Updated Decryption (markdown)
parent
86284b3afa
commit
3522e639b4
@ -1 +1,27 @@
|
||||
3ds images can be in either encrypted or unencrypted form. Typically, homebrew images would be unencrypted while backups of retail titles would be encrypted. Citra only works with decrypted images, so any encrypted image needs to be decrypted, typically using `makerom` and `ctrtool`.
|
||||
## Decryption
|
||||
|
||||
3DS ROM images can be in either encrypted or unencrypted form. Typically, homebrew images would be unencrypted while backups of retail titles would be encrypted. Citra only works with decrypted images, so any encrypted image needs to be decrypted first.
|
||||
|
||||
#### NOTE: You must be on firmware 9.2 or below to dump or decrypt ROMs!
|
||||
|
||||
### Step 1: Dumping your game
|
||||
|
||||
On your PC, download the Gateway Launcher from [their website](http://www.gateway-3ds.com/downloads/). Place the `Launcher.dat` file on the root of your SD card, and navigate to http://dukesrg.no-ip.org/3ds/go in your 3DS browser.
|
||||
|
||||
Once the Gateway Launcher opens up, there will be an option to dump a ROM from its cart. After selecting the option, you will have to wait for some time while the game is saved to your SD card. Repeat this process for every game you want to dump.
|
||||
|
||||
### Step 2: Generating Xorpads
|
||||
|
||||
On your PC, download and compile [Decrypt9](https://github.com/archshift/Decrypt9). Run the `ncchinfo_gen.py` [python](https://www.python.org/downloads/release/python-279/) script with the path to your dumped game as the first argument. This will generate the `ncchinfo.bin` file, which you should place on your SD card. Create the `slot0x25KeyX.bin` file with a **hex editor**, and insert the 7.X KeyX (find it yourself) with a **hex editor**. Place this file on your SD card as well.
|
||||
|
||||
Place the compiled Decrypt9 `Launcher.dat` on the root of your SD card, and navigate to http://dukesrg.no-ip.org/3ds/go in your 3DS browser. It will generate the required Xorpads for your game. This will take a while.
|
||||
|
||||
Repeat this process for every game you want to dump.
|
||||
|
||||
### Step 3: Applying Xorpads
|
||||
|
||||
On your PC, download and compile [Xorer](https://github.com/archshift/xorer). Run xorer with run it from the command line with the 3DS application as the first argument, and the xorpad files as the subsequent arguments. Example:
|
||||
|
||||
`xorer someapp.app -e exheader.xorpad -x exefs.xorpad -r romfs.xorpad`
|
||||
|
||||
If the program is a 7.x type program and you have both an `exefs_norm.xorpad` and an `exefs_7x.xorpad` file, specify the 7x variant as well using `-7 exefs_7x.xorpad`. If you've already merged them through some other means, just pass the merged file in with `-x`.
|
Loading…
Reference in New Issue
Block a user