mirror of
https://github.com/PretendoNetwork/nimbus.git
synced 2024-05-16 20:00:46 -04:00
78230638fc
- Add HTTP and Socket patches (redirects Nintendo URLs to Pretendo) - Add Citra check - Fix ACT crash when using the patches with no accounts on the system
1.6 KiB
1.6 KiB
Decompressing code.bin files
This is a tutorial on how to get, extract, and decompress code.bin files for patch compilation.
Method 1
- Have a hacked 3DS
- Open GodMode9, press the HOME button, then open "Title manager" -> "NAND / TWL"
- For each module you need (list below), then press A, then press "Open title folder".
- Then press A on the .app file in the folder, select "NCCH image options...".
- Select "Extract .code"
- 0:/gm9/out should now have a file called .dec.code, which is your code.bin for that app.
- Repeat steps 3-6 for the remaining modules.
- For each module, move it to its proper folder named as code.bin (folder names are next to module names in module list below)
- Done!
Modules to dump
- Account (act): 0004013000003802
- Friends (friends): 0004013000003202
- HTTP (http): 0004013000002902
- Socket (socket): 0004013000002E02
- SSL (ssl): 0004013000002F02
- Miiverse (miiverse):
- JPN: 000400300000BC02
- USA: 000400300000BD02
- EUR: 000400300000BE02
Any region miiverse module is fine and should generate a patch that is identical for all regions.
Method 2 (Requires running a GM9 script)
- Have a hacked 3DS
- Download dump_modules.gm9 from here
- Put it in sd:/gm9/scripts
- Run the script (Home Button -> Scripts -> dump_modules.gm9)
- Turn off your 3DS and remove the SD card.
- Copy the folder (named patches) from the nimbusmodules folder located on your SD card to your local clone of nimbus, and merge when prompted.
- Done!