ROM Hack [Tutorial] How to Decrypt, Extract & Rebuild a CIA

  • Thread starter Thread starter Asia81
  • Start date Start date
  • Views Views 321,099
  • Replies Replies 290
  • Likes Likes 22
Status
Not open for further replies.
I am having trouble at the extraction step, I put my cia into the packhack folder, open hackingtoolkit3ds, type in CIAE then the name of my cia, and nothing gets extracted.
 
You probably have the same problem I did. You gotta run SetupUS.exe first before using HackingToolkit3DS.exe or it won't extract anything at all.
 
and be also sure the cia doesn't have any special character or spaces in its name
 
I made sure I did everything you guys told me to do, it created a folder called rom.cia_Unpacked (rom.cia is what I named it), but nothing was inside. Does there need to be anything in the PackHack folder beside the cia, hackingtoolkit3ds, setupUS, or Cleantool?
 
I have a bit of a problem regarding CIA DLC. I've been trying to extract the data from Pokémon Mystery Dungeon: Gates to Infinity DLC data. I managed to decrypt it and extract the files, however there were many other files that didn't extract at all. The files that didn't extract were the ones that are named "App.XXXX.XXXXXXXX" (which the "X" is represented by hexadecimal characters). However I have noticed that these archives have an NCCH header as well as a header called "IVFC" further down in it's data. Is this what this particular archive type is?

But I know for certain that it is a type of archive. If someone is able to provide some solution to this issue, that would be great and it would help me get things done faster. But if anyone doesn't want to, that's okay... I'll extract them manually, but it will take a very very very VERY long time, more like several days or weeks.
 
So I'm trying to rebuild an Alpha sapphire rom using the changes in the Star Sapphire romhack.
I'm assuming I follow the steps to decrypt the cia
then unpack romfs and input the changes. rebuild romfs and then repack the cia? right?
 
So, I'm trying to extract a DLC CIA as well. Yes it's decrypted, yes I'm on the latest version of the pack, and yes I ran SetupUS.exe. I run CIAE on my cia, but all I get out is this.
halp.PNG


Can someone tell me what I'm doing wrong???
 
For some reason with PackHack5.2 when I try to extract a smash update for 1.1.6 it recognizes it and asks me if I want to decompress the code.bin, which since I want to get SaltySD I choose yes. It says it extracts it but then immediately after it says it finished, but there is no extracted folder anywhere. Am I missing something or is this a problem with my CIA or the tool? I'll try with V5 since i still have that version.

EDIT: It says that it couldn't find something needed, so I guess V5.2 works, but something doesn't let it extract it. I hope someone can help

EDIT 2: Got it to work, I thought the setup was to make it so you can launch it using the search or something. Didn't know it had what was necessary for it to work, my bad.
@Asia81
 
Last edited by Boured, , Reason: Figured out I was an Idiot
Everyone! If you need to extract any DLC data, use the latest version of CTRTool and use this command to turn each of them into a RomFS file:
ctrtool -x --romfs=[outputfilename].romfs [inputfilename]

Then use this command to extract it:
ctrtool -x --romfsdir=[outputfoldername] [romfsfilename]

Replace the words I have in square brackets with the actual file names along with extension if needed.

There is currently no known method of being able to pack them yet, perhaps CTRTool could work with that in reverse, maybe? I haven't tried it.
 
Last edited by Platinum Lucario,
Any idea why Hackingtools is not working for me? Every time I try to extract a .cia it just doesn't work (the unpacked folders won't appear)

I have Windows 7 x86 on a Virtual Machine, but I tried with x64 and it always happens the same...
 
Have you the Exe File Installed? When No Install it

When yes, have you a Anti Vurus on Windows? When Yes Dissable it.
 
someone knows how to decrypt the smash dlc? i tried but only appears this DecryptedApp.xxx and none of these appears usefull in Ohana 3ds to edit
 
[?] If I want to use a custom title ID for a ROM hack, do I have to edit the title ID to match in the Decrypted ExHeader with the Title ID in the 3DS builder?

Example: I've been working on a ROM hack for about six months but right now it still installs as Alpha Sapphire which overwrites the actual game if its also installed. So yeah, any help would be appreciated, TIA.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum