ROM Hack [Tutorial] How to Decrypt, Extract & Rebuild 3DS|CIA|CXI Files

  • Thread starter Asia81
  • Start date
  • Views 1,430,163
  • Replies 1,736
  • Likes 96

How is my english?

  • So bad...

    Votes: 67 7.3%
  • Good, sometimes it's not understandable

    Votes: 139 15.2%
  • Very understandable

    Votes: 550 60.1%
  • Perfect?

    Votes: 159 17.4%

  • Total voters
    915

Flannoit

Member
Newcomer
Joined
Mar 26, 2016
Messages
6
Trophies
0
Age
27
XP
66
Country
United States
For people trying to rebuild CIA and are getting the makerom error, download the most recent version of makerom from github and replace the one in the folder. it fixed my problem. seems like the issue is that the makerom exe provided straight up is broken.
 

princessdmg

Member
Newcomer
Joined
Jun 1, 2019
Messages
18
Trophies
0
Age
25
XP
386
Country
United States
After I extract either a .3ds/.cia file using the right command for it I only get .bin files and no folders. Any thing I was doing wrong? I am using the v12 English one
 

xiaoxiao181

New Member
Newbie
Joined
May 6, 2022
Messages
1
Trophies
0
Age
34
Location
NunyaBusiness
XP
23
Country
United States
Unfortunately I think the tools are broken. It said it was able to rebuild the files into a cia file, but all it did was create CustomRomFS.bin, which is completely unusable for me since I barely understand this stuff at all.
I don't know why this stuff is so complicated. I just wanted to play a randomized ultra sun game but the stupid randomizer saves it as a cxi file instead of a 3ds or cia file.
 

MiShi_Official

New Member
Newbie
Joined
May 19, 2022
Messages
3
Trophies
0
Location
New Jersey
XP
61
Country
United States
So I'm getting .Bin files instead of folders, is there a specific program needed to extract models/textures from it?
 

Attachments

  • Example.png
    Example.png
    17.7 KB · Views: 85

Sonicop191

Member
Newcomer
Joined
Aug 6, 2022
Messages
13
Trophies
0
Age
32
Location
10001
XP
22
Country
United States
1433597859-rh-gt.png

This tutorial will try to help you extract a 3DS|CIA|CXI file to change its content, and will also explain how to rebuild your game once edited.

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!

Ce tutoriel est également disponible ici pour les français (Pas à Jours) :
This tutorial is also available here for french users (Outdated):
http://www.pokemontrash.com/jeux-pokemon/decrypter-compiler-rom-3ds.php

SUMMARY


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

What you Need
  • An encrypted 3DS|CIA|CXI file (It can either be a game, game's update, system application, but anyways not a DLC file nor a DSi Ware!)
  • WinRAR, or another archive extractor
  • HackingToolkit9DS -> Click Here
Prerequisites


Install the new SetupUS|FR.exe of HackingToolkit9DS as a common tool:




Extracting


Open HackingToolkit9DS:
180220062531406418.png


Don't forget, your file(s) should not have any spaces in its(their) name(s), nor special characters, like é or à.
You want extract PokemonMoon.3ds ? Just write PokemonMoon.


If you plan to extract a 3DS file:
Write the "D" command, and enter the name of your .3DS file WITHOUT its extension.

If you plan to extract a CIA file:
Write the "CE" command, and enter the name of your .CIA file WITHOUT its extension.

If you plan to extract a CXI file:
Write the "CXI" command, and enter the name of your .CXI file WITHOUT its extension.

Wait while it's extracting.

The ExeFS content will be extracted in an ExtractedExeFS folder.
The RomFS content will be extracted in an ExtractedRomFS folder.
The DownloadPlay content will be extracted in an ExtractedDownloadPlay folder.
The Old3DS update will be extracted in an ExtractedO3DSUpdate folder.
The New3DS update will be extracted in an ExtractedN3DSUpdate folder.
The Manual will be extracted in an ExtractedManual folder.
The 3D Banner will be extracted in an ExtractedBanner folder.

The work here should be ok.
Now you’re able to edit the game, go to Editing.

Editing

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




Rebuilding

If you extracted and plan to rebuild a 3DS file:
Open HackingToolkit9DS, write the "R" command, then enter the name you want for the output file.
180220070648442006.png


Enjoy!

If you extracted and plan to rebuild a CIA file:
Open HackingToolkit9DS, write the "CR" command, then enter the name you want for the output file.

180220071016489058.png


Enjoy!

Troubleshooting

Before report an issue, be sure:
- Your 3DS|CIA|CXI file is clean and not decrypted by Decrypt9 or GodMode9.
- Your 3DS|CIA|CXI file doesn't have any space or special character in its name (such as é or à).
- Your 3DS|CIA|CXI file is in the same folder as HackingToolkit9DS.
- You're not trying to extract the file in the ProgramFiles folder (where installed core files are).
- To write or don't write the extension of your file when specified.
- To have installed the setup package for your language (SetupXX.exe file).

Changelogs

180220062531406418.png


Version 12
- Fixed encrypted CIA rebuild process.
- Removed installation check.

Version 11
- Hotfix for .3DS rebuild.
- .CIA rebuild still in progress.

Version 10
- Added: Support for Boot9 extraction on PC. Absolutely no more decryption is required on 3DS.
- Renamed: Project is renamed HackingToolkit9DS for the occasion.
- Edited: Some strings, words and sentences has been changed.
- Removed: Temporarily removed the 32 bits support.
- Removed: Integrated 3DS Builder.
- Removed: Integrated Pokemon Patch Pointer Tool.
- Removed: Integrated RomFS Extractor.
- Removed: Integrated RomFS Builder.

Version 9
- Fixed CIA rebuild script.

Version 8
- Fixed MassExtraction and MassRebuild scripts.

Version 7
- 32bits support should be fixed (I forgot to include a 32bits build of MakeRom).


Credits and Thanks

Credits:
CtrTool : profi200 | 3DSGuy| Neimod
Makerom : profi200 | 3DSGuy
Decrypt9 : d0k3, Shadowtrance & Archshift
HackingToolkit9DS : Asia81
CleanTool9 : Asia81

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

Hi, thanks for the tutorial. I have a problem. Every time I extract my games, they never have the folders and instead just have the bin files. Please help me -_- I tried with decrypted, encrypted, cia, 3ds and none of them worked :'(
 

k7ra

Well-Known Member
Member
Joined
Dec 11, 2016
Messages
804
Trophies
0
Age
31
XP
1,899
Country
Russia
Hi, thanks for the tutorial. I have a problem. Every time I extract my games, they never have the folders and instead just have the bin files. Please help me -_- I tried with decrypted, encrypted, cia, 3ds and none of them worked :'(
try older versions
(they works differently somehow)
 

LukaTV939

Member
Newcomer
Joined
Aug 28, 2022
Messages
8
Trophies
0
Age
29
Location
rather not get doxxed
XP
95
Country
Serbia, Republic of
Hi! I tried modding the binding of isaac rebirth textures and sounds, but I don't understand how rebuilding .cia works. I reinstall the game with the .cia I rebuilt that has "modded textures and sounds" and it did not worked. Did I missed something or do I have to use an older version of hackingtoolkit9ds?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse