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

  • Thread starter Asia81
  • Start date
  • Views 1,439,320
  • 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.0%
  • Perfect?

    Votes: 160 17.5%

  • Total voters
    916

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: 450
Last edited by TrashyClassy,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
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,662
Trophies
3
Age
29
XP
3,539
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,662
Trophies
3
Age
29
XP
3,539
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,662
Trophies
3
Age
29
XP
3,539
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,662
Trophies
3
Age
29
XP
3,539
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.
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
    cearp @ cearp: It's nice to not have to have a lot of physical things though, saves space +1