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

Status
Not open for further replies.

John Peeble

Well-Known Member
Newcomer
Joined
Jan 3, 2016
Messages
51
Trophies
0
Age
25
XP
251
Country
United States
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.
 

WillTheLion

Well-Known Member
Member
Joined
Jun 8, 2014
Messages
181
Trophies
0
Age
32
XP
614
Country
United States
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.
 

John Peeble

Well-Known Member
Newcomer
Joined
Jan 3, 2016
Messages
51
Trophies
0
Age
25
XP
251
Country
United States
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?
 

Platinum Lucario

Well-Known Member
Member
Joined
May 17, 2014
Messages
535
Trophies
0
Age
31
Location
Warrnambool, Victoria, Australia
XP
499
Country
Australia
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.
 

iXanza

New Member
Newbie
Joined
Jun 25, 2016
Messages
4
Trophies
0
Age
31
XP
56
Country
Malaysia
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?
 

ultramario1998

no woof tipsic
Member
Joined
May 7, 2014
Messages
456
Trophies
0
Age
25
Location
Not Here
XP
695
Country
United States
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???
 

Boured

A Dusk Lycanroc who cares a lot about people.
Member
Joined
Sep 25, 2015
Messages
594
Trophies
0
Age
24
Location
My Laptop
XP
725
Country
United States
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

Platinum Lucario

Well-Known Member
Member
Joined
May 17, 2014
Messages
535
Trophies
0
Age
31
Location
Warrnambool, Victoria, Australia
XP
499
Country
Australia
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,

tatundria

Well-Known Member
Member
Joined
Feb 24, 2009
Messages
394
Trophies
1
XP
2,147
Country
Argentina
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...
 

Stoned

Well-Known Member
Member
Joined
Mar 26, 2014
Messages
2,764
Trophies
2
Age
45
XP
4,409
Country
Germany
Have you the Exe File Installed? When No Install it

When yes, have you a Anti Vurus on Windows? When Yes Dissable it.
 

Xero-Miku

Well-Known Member
Member
Joined
Mar 1, 2016
Messages
229
Trophies
0
Age
33
XP
349
Country
Ecuador
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
 

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
[?] 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

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: nes remix 1 had the bad one, nes remix 2 had the good one