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

  • Thread starter Asia81
  • Start date
  • Views 1,440,789
  • 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: 551 60.1%
  • Perfect?

    Votes: 160 17.4%

  • Total voters
    917

Eeveekid

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
115
Trophies
0
Age
23
XP
527
Country
Germany
Ok now copy the whole name of the contents.0000 file you extracted then paste it in to the output filename textbox on the Rebuild NCCH Tab and delete the original contents.000 file
Set the folder containing ncchheader.bin and etc files to the folder you extracted the contents file too
After that hit rebuild.
For some reason it didnt found the exef and romfs
 

Eeveekid

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
115
Trophies
0
Age
23
XP
527
Country
Germany
Did you select the right folder for the ncchheader and etc files?
Send a screenshot.
I dont know how to make a screenshot on pc sooo i made a picture-
 

Attachments

  • 1537823523687-1675161546.jpg
    1537823523687-1675161546.jpg
    1.8 MB · Views: 286

gaberilde

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
109
Trophies
0
XP
272
Country
United Kingdom
did you put the exefs and romfs files in that ncchheader folder and etc? When i or the program say etc that means other things too. Note that they have to be either in there or change the exefs and romfs folders above so that its corrrect
 

Eeveekid

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
115
Trophies
0
Age
23
XP
527
Country
Germany
did you put the exefs and romfs files in that ncchheader folder and etc? When i or the program say etc that means other things too. Note that they have to be either in there or change the exefs and romfs folders above so that its corrrect
Yes they are
 

gaberilde

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
109
Trophies
0
XP
272
Country
United Kingdom
Try moving the exefs and romfs to the bob folder and change romfs folder to just romfs, exefs to exefs and change the ncchheader etc folder to the bob folder and see if it works then
(This may be a bug)
 

Eeveekid

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
115
Trophies
0
Age
23
XP
527
Country
Germany
Try moving the exefs and romfs to the bob folder and change romfs folder to just romfs, exefs to exefs and change the ncchheader etc folder to the bob folder and see if it works then
(This may be a bug)
1537824828589-807972044.jpg


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

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

Nope
1537824828589-807972044.jpg


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

gaberilde

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
109
Trophies
0
XP
272
Country
United Kingdom
You didnt change the exefs and romfs folders at top
Just restart the app and it will revert it back to default then select the folder that contains all the files for the 3rd box
You do not need to change exefs/romfs folder
It appears to be a bug that changing it will make it invalid. Im working on this
 

Eeveekid

Well-Known Member
Member
Joined
Jul 31, 2018
Messages
115
Trophies
0
Age
23
XP
527
Country
Germany
You didnt change the exefs and romfs folders at top
Just restart the app and it will revert it back to default then select the folder that contains all the files for the 3rd box
You do not need to change exefs/romfs folder
It appears to be a bug that changing it will make it invalid. Im working on this
Soo what should i do then?
 

gaberilde

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
109
Trophies
0
XP
272
Country
United Kingdom
Restart the app and dont change anything in rebuild NCCH tab apart from the folder containing ncchheader.bin,etc
Heres a screenshot for reference:
upload_2018-9-25_8-53-52.png
 

gaberilde

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
109
Trophies
0
XP
272
Country
United Kingdom
Ok now go to cia tools
Make sure you click rebuild cia
For folder that contains your cxi select the folder with the newly created contents.0000.00000000
And the Contents.001.00000001 file.
For content click add and type contents.0000.00000000 into the box.
then click add again and type: Contents.001.00000001
After that click rebuild and you should have your cia file! You can go back to your 3ds to reencrypt the file via godmode9 and then your done!
 

FIuveeX

out of service!
Member
Joined
Mar 18, 2017
Messages
171
Trophies
0
Location
land down under
XP
427
Country
Australia
Trying to rebuild an USUM .cia, it creates the Custom .bins but not the .cia itself. Also tried extracting a fresh .cia, creates the decrypted .bins but never creates the actual folders with the important stuff.
 

XLuma

Pkmn Rom Hacker
Member
Joined
Feb 12, 2017
Messages
490
Trophies
0
Age
23
Location
Quebec
XP
656
Country
Canada
Trying to rebuild an USUM .cia, it creates the Custom .bins but not the .cia itself. Also tried extracting a fresh .cia, creates the decrypted .bins but never creates the actual folders with the important stuff.
use the v9 of hacking toolkit for extracting
.To rebuild I recommend rebuilding as .3ds and building a cia from it using godmode9 or just use LayeredFS
 

XLuma

Pkmn Rom Hacker
Member
Joined
Feb 12, 2017
Messages
490
Trophies
0
Age
23
Location
Quebec
XP
656
Country
Canada

Francesca

Well-Known Member
Member
Joined
Mar 17, 2015
Messages
403
Trophies
0
XP
985
Country
Armenia
I've extracted a .cia file and got a bunch of Decrypted PowerISO (?) files instead of folders. I'm pretty sure I want folders with files inside so that I can do my editing. Any idea what I'm doing wrong? Would appreciate any help.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,947
Country
United States
I've extracted a .cia file and got a bunch of Decrypted PowerISO (?) files instead of folders. I'm pretty sure I want folders with files inside so that I can do my editing. Any idea what I'm doing wrong? Would appreciate any help.
  1. GodMode9: *.cia → CIA image options... → Encrypt file (...) → Encrypt inplace
  2. HackingToolkit9DS: CE → <name of your cia without extension>
After editing and rebuilding your *.cia, you have to decrypt it in GodMode9.
 

Francesca

Well-Known Member
Member
Joined
Mar 17, 2015
Messages
403
Trophies
0
XP
985
Country
Armenia
How do I get the GodMode thing working? Is it a .cia I install and run on my console or can I do on my PC too? Got a really outdated firmware (no luma).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Nighty night
  • BigOnYa @ BigOnYa:
    Yea is sad. His 2 movies were good. Informative about our food industry.
  • BigOnYa @ BigOnYa:
    This was one of the craziest movies I've seen about our food industry, lots of stuff I didn't know. A must see. https://youtu.be/OqzjC-ENrl8?si=GYxmdY5nShzGniVi
  • OctoAori20 @ OctoAori20:
    Oh, that dude?
  • OctoAori20 @ OctoAori20:
    I stopped believing or caring about that dude when I found out about some of the more questionable nonsense he did in his life.
  • BigOnYa @ BigOnYa:
    Like what? I didn't know or hear.
  • K3Nv2 @ K3Nv2:
    You mean like every famous person that ever existed
    +1
  • K3Nv2 @ K3Nv2:
    I get so tired of hearing oh I liked him until...
  • OctoAori20 @ OctoAori20:
    I just know dude was a chronic alcoholic and such.
  • BigOnYa @ BigOnYa:
    I've been to his chicken restaurant he started in his 2nd movie, Holy Chicken, was pretty good. It is only 15-20 miles from me in Ohio. It only lasted 1 yr or so then closed tho.
  • OctoAori20 @ OctoAori20:
    There are very few people I just have just an immense dislike of and he's one of those very few people, the only other example is Gene Simmons. My musician uncle on my mother's side of the family actually met Gene once during some event and said he was the most unpleasant person to be around.
  • K3Nv2 @ K3Nv2:
    I met myself once turns out that guy is a giant piece of shit that doesn't deserve any of my respect
  • BigOnYa @ BigOnYa:
    Damn alcoholics! (Sshhh- Opens another beer)
  • OctoAori20 @ OctoAori20:
    Agreed, Ken
  • OctoAori20 @ OctoAori20:
    I can't say I've ever tried even a sip of beer tbh-
  • K3Nv2 @ K3Nv2:
    You met yourself also and is a giant piece of shit?
    +1
  • OctoAori20 @ OctoAori20:
    Then again, I don't think I'd really enjoy it //shrug
  • OctoAori20 @ OctoAori20:
    I'm sure it's an acquired taste :P
  • K3Nv2 @ K3Nv2:
    Poor lad can never enjoy the amazing taste of four loko
    +1
  • BigOnYa @ BigOnYa:
    Root beer is a gateway drink, don't ever try it either.
  • K3Nv2 @ K3Nv2:
    @BigOnYa, don't you love how smooth MD20 is
  • BigOnYa @ BigOnYa:
    Mad dog 20 20? Oh yea fixed the typo. I haven't seen that or had forever. Do they still make it?
  • K3Nv2 @ K3Nv2:
    I think it's why I'm alive
    +1
    K3Nv2 @ K3Nv2: I think it's why I'm alive +1