5.3 release
Uninstall the previous version with uninstall.exe in the program files folder, or with any uninstaller tool.
I improved all extraction scripts, and created a mass rebuild script (you need obviously to use a mass extraction before).
CIAE and CIAR are changed to something shorter, CE and CR.
I also removed the cxi tutorial method in the tutorial, but you can always use the cxi command in HackingToolkit3DS (I just removed it from the tutorial).
With this tutorial, you will be able to decrypt, extract, and rebuild a 3DS ROM.
This tutorial will try to help you decrypt a 3DS ROM to change its content and will also explain how to rebuild an edited game.
Thanks a lot to Ericzander & BullyWiiPlaza for their help to translate this tutorial in english (Because I'm French, it’s difficult to make a full tutorial in a good English...)
If anyone see any typo or something wrong with my english (in the setup, the script, the tutorial...) let me know!
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.
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 YourRom.3ds. Make sure Windows is not hidding extensions.
Write D, and enter the name of your decrypted file. Your file should not have any spaces in its name, nor special characters, like é or à.
You are asked if you want decompress your code.bin file, choose (n/y).
Wait while it's extracting.
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.
Open HackingToolkit3DS, write RFSB. RomFS Builder is now open.
With it, open your ExtractedRomFS folder (in PackHack).
Click GO. Wait and save it named RomFS.bin.
Done !
Part 2: Set the files on your SD Card First of all, you'll need to have HBL and HANS ready on your 3DS.
In the root of your 3DS' SD Card, create a new folder, and name it HANS.
Inside, put your new RomFS file, and name it with the TitleID of your game + romfs as the extension.
Do the same for the code.bin file (only if you edited it). The code.bin is in your ExtractedExeFS folder. Example: 00XXXX00.romfs & 00XXXX00.code
For example, for Pokémon Alpha Sapphire, it's:
It's ready. Start your HBL, then start HANS.
Use the Title Selector, select your game, and confirm.
In HANS, you will have to edit:
And OK, now start your game and check if it's working.
If you have extracted the game using this tutorial and the "D" command, then you can just use the "R" command to rebuild your .3DS.
Once done, don't forget to encrypt it using Decrypt9 -> Content Decryptor Options -> NCCH/NCSD Encryptor.
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.
Enjoy!
- 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
@Asia81 Your HackingToolkit3DS doesn't create an ExtractedRomFS folder. It says the extraction is done, but I can't find the folder. Where does it create it? I was trying to extract a CXI.
Edit: Nevermind. I didn't install it. IMO HackingToolkit3DS.exe shouldn't launch when it's not installed.
@Asia81 Your HackingToolkit3DS doesn't create an ExtractedRomFS folder. It says the extraction is done, but I can't find the folder. Where does it create it? I was trying to extract a CXI.
Edit: Nevermind. I didn't install it. IMO HackingToolkit3DS.exe shouldn't launch when it's not installed.
Only ctrtool doesn't work on 32b?
If so, If someone can build a ctrtool for 32b, or send me one, I can easily update the script and automtically use 32b or 64b ctrtool using the computer settings.
@Asia81, I'm not sure if it is just ctrtool, but in that GitHub Issue I linked you they pretty much said that a 32bit ctrtool would be pointless since it would eat through the maximum 4GB of RAM very quickly in a 32bit environment.
It may be best for this automation program to be 64bit only.
There seems to be a problem with building .cia files.
When I extract and rebuild a game, my 3DS gives me the "An Error has occurred. Hold down the power button to turn off the power" message when I try to run it after installing.
If I build a .3ds file instead of a .cia file, and then convert that .3ds to a .cia with 3DSConv, then everything works fine.
I'm using a US version of Alpha Sapphire that I dumped from a retail cartridge with Decrypt9. The issue occurred with both the "decrypt (trim)" and "decrypt (full)" options.
I also tried a US version of Hyrule Warriors Legends, and got the same error.
I'm on a New3DS XL, running arm9loaderhax, Luma3DS, and firmware 11.0.0-33U.
Well I'm tring this out to learn something, but I get stuked. I have all the decrypted files from the .cia, but I'm not able to extract the data from the romfs. Whenever I use the RomFS extractor, it says "Not a valid romfs binary". What should I do?
Hey, is there a way you can release the scripts you made for this? Is this all a easy way to use python scripts? I ask because I own a Mac and I would love to utilize this program.
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
The romhacking community is always a source for new ways to play retro games, from completely new levels or stages, characters, quality of life improvements, to flat...
Quite a bit of news have unfolded in the past couple of days in regards to the Sonic franchise, for both its small and big screens outings.
To start off, the...
This Thursday, Microsoft will be fulfilling one of its key promises from when it acquired Activision-Blizzard by bringing Diablo IV to Game Pass. It looks like it'll...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
Two classic titles join the Nintendo Switch Online Expansion Pack game lineup. Available starting April 24th will be the motorcycle racing game Extreme G and another...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...