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

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

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
Braindump is shitty, don't use it for romhacking in .3ds / .cia

Test Nisekoi.cxi vs Nisekoi.cia

RomFS Size (CIA) = 51,1Mb
RomFS Size (CXI) = 51,5Mb

Screenshots:
1465156953-test1.png

1465156954-test2.png
 

Choromatsu

Well-Known Member
Newcomer
Joined
May 29, 2016
Messages
46
Trophies
0
Age
33
XP
238
Country
United States
Braindump is shitty, don't use it for romhacking in .3ds / .cia

Test Nisekoi.cxi vs Nisekoi.cia

RomFS Size (CIA) = 51,1Mb
RomFS Size (CXI) = 51,5Mb

Yeah, that's what I thought.
What's the best way to go about getting the RomFS folder instead of just a DecryptedRomFS.bin?
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
...
You need to extract the RomFS file, then extract its contents in an ExtractedRomFS folder
Just follow the tutorial...
 

Choromatsu

Well-Known Member
Newcomer
Joined
May 29, 2016
Messages
46
Trophies
0
Age
33
XP
238
Country
United States
...
You need to extract the RomFS file, then extract its contents in an ExtractedRomFS folder
Just follow the tutorial...
This is what I have in the folder after extracting:
upload_2016-6-5_14-32-27.png

And I assumed that the next step would be Extract data from a decrypted partition, so I run that on DecryptedRomFS.bin, and then I get this error:
upload_2016-6-5_14-34-26.png

Should I be doing something else? I don't see anything in the tutorial about it, which is why I was asking.
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
it's not 5.2, since it show the steps.
steps in 5.2 are hidden

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

I know it's not decrypted, because your cia doesn't have the "strange date", such as 01/01/2015 when set using Decrypt9 decryption
 

Choromatsu

Well-Known Member
Newcomer
Joined
May 29, 2016
Messages
46
Trophies
0
Age
33
XP
238
Country
United States
it's not 5.2, since it show the steps.
steps in 5.2 are hidden

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

I know it's not decrypted, because your cia doesn't have the "strange date", such as 01/01/2015 when set using Decrypt9 decryption
It's definitely 5.2 since I got it just this morning, actually. :unsure:
I'll make sure it does so properly this time.
 

Dylan the Tactician

Well-Known Member
Member
Joined
Jan 12, 2016
Messages
258
Trophies
0
Location
Denied
Website
plus.google.com
XP
212
Country
United States
Hey, I'm using a Xenoblade Chronicles .3ds from Uncart (gasp, I know) and it DOESN'T LIKE ME. (it's a9lh uncart btw)

I can use FS1, select "Xenoblade.3ds" (what I renamed it from KTRblahblahblah), it'll extract "decryptedromfs.bin", save it, then it asks to extract it after giving this error:

Error, exheader hash mismatch. Wrong key?

I hit yes, and I get the following error:

Error, IVFC segment Corrupted
Error, RomFS corrupted

and then it says done.
HOWEVER, THIS ISN'T JUST XENOBLADE. EVERY .3DS I'VE TRIED THIS (and many other ways) WITH DOES THIS.
I'm actually on my grandma's computer atm, it's doing the same as on my laptop from earlier, which is the above.

So yeah, either this is something wrong or it's sever operator error (in which case please advise).

why does life have to hate me so much

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

BTW the only reason I was using Braindump and .cxi was BECAUSE this didn't want to work, I have all the games I'm wanting to use dumped as .3ds as well :wink:
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
For extract a .3ds dont use the fs1 key, but "d"

And please use a clean downloaded dump, or dump it yourself using the gateway launcher ( gw laucher make perfect dump)
 

Dylan the Tactician

Well-Known Member
Member
Joined
Jan 12, 2016
Messages
258
Trophies
0
Location
Denied
Website
plus.google.com
XP
212
Country
United States
For extract a .3ds dont use the fs1 key, but "d"

And please use a clean downloaded dump, or dump it yourself using the gateway launcher ( gw laucher make perfect dump)
I'll get gateway and try that then, but I've used D at LEAST 7 times with no success with roms that I have dumped myself with uncart.

does the world just hate me?
 

dsync

Active Member
Newcomer
Joined
May 2, 2012
Messages
29
Trophies
0
XP
127
Country
Malaysia
Hey there Asia81, following your tutorial and tool I managed to use BrainDump to dump a .cxi file and try to repack the untouched content to make sure the repacking success. However the game cart image doesn't shows up when I try to select it from Gateway ROM browser. Any idea as to why is this happening?

Also it seemed like Braindump cannot dump cia update file. The bottom screen simply stuck on the yellow screen.
 
Last edited by dsync,

EternalSeekerX

Well-Known Member
Newcomer
Joined
Sep 28, 2015
Messages
55
Trophies
0
XP
171
Country
Canada
Guys why can't the DecryptedExHeader.bin obtained from Braindump not be used for the 3DS builder but the one got from Decrypt9 be used? Aren't they the same file? I am running the updated Braindump and it extracts the exeFS.bin, romFS.bin and the DecryptedExHeader.bin directly to the SD so I can extract and modify them normally and use the 3ds builder to get a .3ds and then convert to .cia and I can install this using FBI on my cfw sysnand 11 right?
 

DarkMeowstic

Active Member
Newcomer
Joined
Aug 30, 2015
Messages
27
Trophies
0
Age
29
XP
240
Country
Italy
I tried the same process with two of my decrypted .3ds roms, with two different versions of HackingToolkit (4.3 and 5.2) but it doesn't extract anything!
It "extracts" too much fast (I can't even read the extracting process).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=23HgOvEYrDc