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

  • Thread starter Asia81
  • Start date
  • Views 1,433,560
  • 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

TrashyClassy

Professional Shitposter
Member
Joined
Sep 26, 2015
Messages
207
Trophies
0
Location
Planeptune
XP
201
Country
Malaysia
EDIT: nevermind, i didn't run setup that time
 

Attachments

  • upload_2016-4-10_16-33-4.png
    upload_2016-4-10_16-33-4.png
    28.1 KB · Views: 447
Last edited by TrashyClassy,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,507
Country
France
Is it true that slot0x25KeyX.bin isn't needed on 9.2 sysnand consoles? I didn't use to need it before, but received a message about it when decrypting a newer game.
yes, it's true

--------------------- MERGED ---------------------------

strange
did you installed the setup first?
Check your program files folder, and if you'r on 32b or 64, check both program files folder
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,507
Country
France
Updated to V5

--------------------- MERGED ---------------------------

1460285212-hackingtoolkitus.png

- Tutorial updated and HackingToolkit3DS updated to V5
-
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 Full VirusTotal Scans : http://pastebin.com/AzCq4QGD
- FIXED the Pokemon Patch Injection. The Updated Tutorial will follow.
- Fixed a typo in the cxi script extraction.
- HackingToolkit3DS is always more faster to load (The main file is just 100kb).
- New Links
 
Last edited by Asia81,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,507
Country
France
All 5.0 English Users : Please uninstall your 5.0, redownload it again, and reinstall it.
Because I incuded a bad MakeRom (not a good version) which will be used in the pokemon patch injection
French users don't need to do it, the 5.0 french pack is fine

--------------------- MERGED ---------------------------

I didn't change the version number just for 1 file, so it's always 5.0
 

Hyura

Well-Known Member
Member
Joined
Mar 23, 2013
Messages
399
Trophies
0
Age
31
XP
206
Country
Brazil
@Asia81, is there a way to build a .cia directly from the HANS files of a game?

I wanted to build a CIA for the Rutile Ruby rom hack. Or should I start the process with a .3ds of Omega Ruby?

edit

Nevermind, I decrypted the .3ds and got it working. Thanks for the tutorial!
 
Last edited by Hyura,

Jair

Well-Known Member
Newcomer
Joined
Apr 14, 2016
Messages
93
Trophies
0
Age
32
XP
104
Country
Peru
Hello, Can I use this tutorial to repack a Cubic Ninja ROM, changing the update data to include a 9.2 firmware (possibly both for O3DS and N3DS) and load it via Sky3DS? I am helping some friends hack their 3DS's this weekend and some have very outdate firms, so if this could help me get them to 9.2 easier it would be great.
 

Katsu78

Active Member
Newcomer
Joined
Apr 18, 2016
Messages
28
Trophies
0
Age
30
XP
98
Country
United States
So I've used the hacking tool to extract the Romfs of Fire Emblem Fates, and I've used other programs like FEATS to extract the .lz files, but most of the files don't leave folders, but more binaries. I'm trying to see if it's possible to edit enemy skill data for a hack I have in mind, but I've kind of hit a wall on what to do next. Is there anything in the hacking tool that I can use to decrypt the binaries? Or do I need to use a different tool. Hell, is it even possible?
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,507
Country
France
My code is the worst crap ever...
But at least, it will "I hope" work, and so open source on Github.

But since I'm a very BIG noob in C#, I don't know how to implement it directly in the tool itself, instead opening a CMD...

 

Ironclad17

Active Member
Newcomer
Joined
May 9, 2016
Messages
42
Trophies
0
Age
32
XP
94
Country
United States
Has anyone looked at getting the rebuilt roms to run in Citra? I've been trying for like 2 days now! 3DS Builder breaks encryption for me.

Managed using 3dstools and makerom.
 
Last edited by Ironclad17,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,507
Country
France
Ok, guys, good news, I managed to:
- Modify and rebuild any CIA updates (But you need to use the clean update as a base, you can't create the update from nothing),
- Rebuild a custom .3ds with all extra files (manual, updates, dlplay, etc.). These extra can of course be edited, like a custom manual.

I still need to try to convert it directly to .cia without .3ds first, but I have no luck for know.

Anyways, you can always convert it to CIA using 3DS Simple CIA Converter (3DSSCIAC, shorter).

But in this case, 2 things:
- Updates partition 6 and 7 will be removed (due to 3DSSCIAC).
- You need to encrypt the custom/created .3ds with Decrypt9 (using NCCH/NCSD Encryptor), then generate the ncchinfo.bin using 3DSSCIAC, then generate xorpads with Decrypt9, then convert it to CIA like usually (using generated xorpads + the new encrypted .3ds (our custom .3ds)).

I will update the tutorial asap
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Y @ YuseiFD: :creep: