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,153
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,765
Trophies
2
Age
45
XP
4,428
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
  • K3Nv2 @ K3Nv2:
    Not your $400 car cover :ohnoes:
  • BigOnYa @ BigOnYa:
    There you go, thinking with your "dickhead"
  • realtimesave @ realtimesave:
    some day the wind will blow so hard it'll rip in half
  • K3Nv2 @ K3Nv2:
    I think in big inches
    +1
  • BigOnYa @ BigOnYa:
    @realtimesave Can you sew it back together? Or is it not worth trying.
  • realtimesave @ realtimesave:
    nah sewing it will make it come apart more :)
  • realtimesave @ realtimesave:
    that one is pretty old
  • realtimesave @ realtimesave:
    the one on my mercedes is a couple years old. these things don't last very long at all
    +1
  • BigOnYa @ BigOnYa:
    Are you near sea/salt water, or in general they just don't last. Sounds like if you driving a mercedes, you need a garage. I get snow n ice here so nothing worse than clearing that shit off at 6am rushing to get to work.
  • realtimesave @ realtimesave:
    I'm a few miles away from the salt water
    +1
  • realtimesave @ realtimesave:
    ya I would garage it if there was room in the garage for a car :|
  • BigOnYa @ BigOnYa:
    Immigrants took over your garage? I hate those
    swatters. Or is it Kilos waiting to be picked up by Carlos. Lol jk
  • K3Nv2 @ K3Nv2:
    Too bad Hitler didn't make camps for immigrants oh wait
  • Psionic Roshambo @ Psionic Roshambo:
    Isn't the latest method for slim like self right?
  • Psionic Roshambo @ Psionic Roshambo:
    Like a 1 wire mod?
  • K3Nv2 @ K3Nv2:
    Still two wire with resistor if you don't count the 7 wire pc probes cause hardware likes a good probing
    +1
  • BigOnYa @ BigOnYa:
    2 wires left on motherboard, 7 temp soldered to a flasher, then removed after flashed
  • K3Nv2 @ K3Nv2:
    Technically don't even have to remove it could just keep it on
    +1
  • K3Nv2 @ K3Nv2:
    I don't really mess with hard mods due to neuro issues
  • realtimesave @ realtimesave:
    I tried to get a slim on a black friday once, but they ran out of stock for the $100 one
  • realtimesave @ realtimesave:
    many ages ago
  • BigOnYa @ BigOnYa:
    You can find them $50-75 nowdays if catch a deal
  • K3Nv2 @ K3Nv2:
    Still remember grabbing this ps4 slim on black Friday for $200 when the msrp was still around 300
    +1
    K3Nv2 @ K3Nv2: Still remember grabbing this ps4 slim on black Friday for $200 when the msrp was still around 300 +1