ROM Hack [Tutorial] How to Mass Decrypt, Mass Extract and Mass Rebuild 3DS and CIA Files

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,641
Trophies
3
Age
29
XP
3,416
Country
France
1433597859-rh-gt.png

With this tutorial, you will be able to do a mass extraction, then mass rebuild any kind of 3DS or CIA files.

If anyone see any typo or something wrong with my english (in the setup, the script, the tutorial...) let me know!

For this tutorial, some words will be shortened:
- Homebrew(s) by HB (or HBs)
- The HomeBrew Launcher by HBL
- Decrypt9WIP by Decrypt9


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​

Summary

- What you need
- Prerequisites
- Mass Decrypting
- Mass Extracting
- Editing
- Mass Rebuilding

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​

What you Need

  • A 2DS / O3DS / N3DS with a SysNand Firmware between 4.1 and 9.2 (4.1 and 11.X with A9LH)
  • A 3DS ROM
  • WinRAR, or another archive extractor
  • A way to launch HomeBrews, see here: http://smealum.github.io/3ds/
  • A SD card with a minimum free capacity of 2GB (4 is recommended)
  • This PackHack (HackingToolkit3DS) -> Click Here
Note: If you're on a firmware that is between 9.3 and 10.7, you will have to downgrade to 9.2 to use the tutorial. Except if you're already using A9LH, of course.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Prerequisites

Install the new SetupUS(FR).exe of HackingToolkit3DS as a common tool:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​


Mass Decrypting

First of all, you'll need to have a way to launch HBs on your 3DS.
For this, I recommend the A9LH payload of Decrypt9, or Ninjhax / FreakyHax / BrowserHax.
There is some other ways, you can choose one of them here: http://smealum.github.io/3ds/


Once you have access to the HBL, copy the Decrypt9WIP folder to your 3ds folder (like another HB).

Put in the root of your SD Card:
- seeddb.bin
- slot0x1BKeyX.bin
- slot0x05KeyY.bin
- slot0x11key96.bin
- slot0x18KeyX.bin
- slot0x25KeyX.bin

Note: You can also build these 5 slot0xXXkeyXX.bin files in 1 aeskeydb.bin file using Decrypt9 -> Maintenance Options -> Build Key Database.
Once done, you can delete these 5 slot0xXXkeyXX.bin files from your SD.

In the root of your 3DS' SD Card, create a new folder, and call it D9Game, then put inside all your 3DS and CIA Roms to be decryted. CIAs can be Games, Updates, or a SystemTitles (not DLC nor DSiWare).
Make sure Windows is not hidding extensions.

FOR DECRYPT 3DS ROMS:
Start HBL, start Decrypt9, choose Content Decryptor Options, then NCCH/NCSD Decryptor.
1467955964-01.png
1467955964-02.png


FOR DECRYPT CIA ROMS:
Start HBL, start Decrypt9, choose Content Decryptor Options, then CIA Decryptor (deep).
1467966015-01.png
1467966015-02.png


Wait while it's decrypting.

Once done, copy and past all your decrypted files in your PackHack folder.
Now it's done, go to Extracting.

Note: If you don't see any decrypted files, it's normal.
Decrypt9 decrypt the files themselves. No extra file.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​

Mass Extracting

Open HackingToolkit3DS:
1467956112-hackingtoolkit3ds.png


Write ME.
Your files should not have any spaces in their names, nor special characters, like é or à.
The tool will ask you for every files if you want decompress the code.bin file or not (n/y).
Wait while it's extracting.

All your files will be extracted in a folder with the same name + _Unpacked at the end.
1467966307-me.png


The ExeFS content will be extracted in an ExtractedExeFS folder.
The RomFS content will be extracted in a ExtractedRomFS folder.
The DownloadPlay content will be extracted in a ExtractedDownloadPlay folder.
The Old3DS update will be extracted in a ExtractedO3DSUpdate folder.
The New3DS update will be extracted in a ExtractedN3DSUpdate folder.
The Manual will be extracted in a ExtractedManual folder.
The Banner (shown on the Home Menu) will be extracted in a ExtractedBanner folder.

Now you’re able to edit the game, go to Editing.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​

Editing

Do what you want.
Edit music, textures..
If you follow this tutorial, you know what you want to do.
Once it's finished, rebuild your game.

Optional: If you want, you can also edit the TitleID / UniqueID of your game:
Read here for more informations.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​


Mass Rebuilding

If you have extracted the game using this tutorial and the "ME" command, then you can just use the "MR" command to rebuild all your .3DS / .CIA:
1467966451-mr.png


Once done, don't forget to encrypt all .3DS using Decrypt9 -> Content Decryptor Options -> NCCH/NCSD Encryptor.
1467960863-01.png
1467960863-02.png


If you don't encrypt it back, you won't can use it in the Gateway menu (white Icon, and won't load).
For the fact, because this rebuilt game has the update partition, it will can run on a Sky3DS+, but ONLY if you have signature check disabled, so a CFW.

Only .CIA System Titles need to be re-encrypted, if you have, this is almost the same thing to do.
Decrypt9 -> Content Decryptor Options -> CIA Encryptor (NCCH).
1467960863-01.png
1467966648-02.png


Enjoy!

1467956112-hackingtoolkit3ds.png

- Tutorial updated and HackingToolkit3DS updated to V5.3
-
New Build added. You'll have to uninstall the previous Setup and install the new one. For uninstall, it's as all your other tools, use the uninstall.exe in the ProgramFiles folder.
- Added a MassRebuild option
- HackingToolkit3DS is always more faster to load (The main file is just 100kb).
- New Links
Credits:
CtrTool : Neimod & 3DSGuy
Makerom : 3DSGuy
RomFS Builder : SciresM
RomFS Extractor : SciresM
3DS Builder : SciresM
BrainDump : neobrain
Decrypt9 : d0k3, Shadowtrance & Archshift
3DS Simple CIA Converter : Riku
Patch RomFS Pointer Tool : AHP_Person
HackingToolkit3DS : Asia81 / Mizoré
CleanTool : Asia81 / Mizoré

Thanks to:
Megadrifter
Stratovarius
Reisyukaku
Guitoh
Weby
Apache Thunder
Ericzander
BullyWiiPlaza
Cellenseres​
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I don't know then, maybe that stick just not compatible. Just use stand alone emulators, like Nestopia, Snes9x EX,etc
  • Xdqwerty @ Xdqwerty:
    *sigh* alright
  • Xdqwerty @ Xdqwerty:
    Though most Android emulators don't have retroachievements or netplay
  • BigOnYa @ BigOnYa:
    Start saving your money to buy something better then. Birthday, Xmas monies, or find some odd jobs to earn some money.
  • Xdqwerty @ Xdqwerty:
    I don't have time for that
  • Xdqwerty @ Xdqwerty:
    I have school y'know
  • Xdqwerty @ Xdqwerty:
    And I was never paid for my birthday or christmas
  • BigOnYa @ BigOnYa:
    After school. I see you on here plenty, you can make time instead of being on here all the time. I'm not trying to be mean, just saying, you can reach out to people and ask, and try to work for things. When you get older, in real life, no one will just give you anything for free.
  • Xdqwerty @ Xdqwerty:
    Then i'm just a lazy guy
  • BigOnYa @ BigOnYa:
    No I'm not saying that, I'm saying if you want something better to game on, and your parents won't buy it for you, then earn some money and buy it yourself.
  • Xdqwerty @ Xdqwerty:
    Most people in my country are poor and I believe i will not get paid well
  • BigOnYa @ BigOnYa:
    You never know til you try. If it's something you don't think is fair, then stop doing it and find something else.
  • Xdqwerty @ Xdqwerty:
    Too lazy to try
  • Xdqwerty @ Xdqwerty:
    And before you say i may have a ko-fi or Patreon or something, i'm too young for that
  • BigOnYa @ BigOnYa:
    In USA you can start working normal jobs at age 15, not sure about Vena but i'm sure the laws are simular to age.
  • Xdqwerty @ Xdqwerty:
    Lemme show you something
  • BigOnYa @ BigOnYa:
    At 15, I used to wash dishes and take out garbage at a restaraunt, then wash cars on weekends, just to save money to buy a car when I turned 16
  • Xdqwerty @ Xdqwerty:
    You may need Google translate tho
  • BigOnYa @ BigOnYa:
    Doesn't mean it has to be that way with you. I looked it up and yea at 15 you can get a real job
    +1
  • Xdqwerty @ Xdqwerty:
    Gonna wait 2 months and 27 days then
    +1
  • Xdqwerty @ Xdqwerty:
    Also goodnight
  • BigOnYa @ BigOnYa:
    Ok nighty night
  • K3Nv2 @ K3Nv2:
    Also don't quit if you get a meany poo boss that yells at you if you mess up
  • HiradeGirl @ HiradeGirl:
    don't
    HiradeGirl @ HiradeGirl: don't