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

  • Thread starter Asia81
  • Start date
  • Views 1,428,990
  • 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.1%
  • Perfect?

    Votes: 159 17.4%

  • Total voters
    915

medoli900

Open the Benzenes;Gate
Member
Joined
Jan 7, 2013
Messages
1,116
Trophies
0
Location
Lavender Town
XP
1,316
Country
Antarctica
Wait- how do I update Decrypt9?
Download it here: https://github.com/d0k3/Decrypt9WIP/releases
Then depending of your setup, the installation will change.

"Decrypt9 can be built to run from a number of entry points, descriptions are below. Note that you need to be on or below 3DS firmware version v9.2 for any of these to work.

  • A9LH & Brahma: Copy Decrypt9.bin to somewhere on your SD card and run it via either Brahma or arm9loaderhax. Brahma derivatives / loaders (such as BrahmaLoader, BootCTR and CTR Boot Manager) and A9LH chainloaders (such as Luma3DS and BootCTR9) will work with this as well. Build this with make a9lh.
  • Homebrew Launcher: Copy Decrypt9.3dsx & Decrypt9.smdh into /3DS/Decrypt9 on your SD card. Run this via Smealums Homebrew Launcher, Mashers Grid Launcher or any other compatible software. Build this with make brahma.
  • CakeHax Browser: Copy Decrypt9.dat to the root of your SD card. For MSET also copy Decrypt9.nds to your SD card. You can then run it via http://dukesrg.github.io/?Decrypt9.dat from your 3DS browser. Build this via make cakehax.
  • CakeHax MSET: Copy Decrypt9.dat to the root of your SD card and Decrypt9.nds to anywhere on the SD card. You can then run it either via MSET and Decrypt9.nds. Build this via make cakerop.
  • Gateway Browser Exploit: Copy Launcher.dat to your SD card root and run this via http://go.gateway-3ds.com/ from your 3DS browser. Build this with make gateway. Please note: this entrypoint is deprecated. While it may still work at the present time with little to no problems, bugs will no more be fixed and it may be completely removed at a later time. Use CakeHax instead."
- https://github.com/d0k3/Decrypt9WIP

It is a little outdated, in the sense that it will works on latest Sysnand firmware if you already have A9LH.
 
Last edited by medoli900,

HeirofBlood124

Well-Known Member
Newcomer
Joined
Sep 21, 2016
Messages
86
Trophies
0
Age
27
XP
80
Country
United States
ok so i cant seem to get any files from the 1.1.4 Update at all
all i get are a crapton of .cia files that i cant do anything with
i got the data from the Original game tho and all files seem to be in order
i just cant get the Update data...
what should i do???
 

Fer123

Member
Newcomer
Joined
Apr 10, 2015
Messages
12
Trophies
0
Age
44
XP
99
Country
United States
I have a decrypted fire emblem:awakening (.3ds), and I have a "all-dlc.cia". I don't think the .cia is decrypted or anything, it was just a dump from someone else's 3DS. I'm trying to combine the .3ds with the dlc .cia so that I can play on Citra with full dlc. Is this currently possible with this method? (Not sure if .cia needs to be decrypted or something)

Sadly, I don't have access to a 3DS anymore, it was stolen.
 

Rioluwott

Well-Known Member
Member
Joined
Feb 23, 2014
Messages
853
Trophies
1
Age
28
XP
2,567
Country
Mexico
When i try to extract my rf4 undub cia i get no files at all, can anyone help me?
is that because the game is already a hack or something like that?

EDIT:i could fix it,it was because im using a 32bit windows
EDIT2: now when i try to rebuild my cia file i dont get my file any help?
EDIT3: i tried rebuilding it as a 3ds file but i get a 0kb file
 
Last edited by Rioluwott,

Queen of SoS

Story of Seasons Queen
Member
Joined
Feb 13, 2016
Messages
865
Trophies
0
Age
26
XP
2,115
Country
United States
Can someone tell me why I keep getting this error:
Opening /files9/D9Game ...

Processing CIA "sostot.cia"
Pass #1: CIA decryption...
Pass #2: NCCH decryption...
Processing Content 1 of 2 (677MB)...
NCCH is not encrypted
Processing Content 2 of 2 (1MB)...
NCCH is not encrypted
CIA is not encrypted
Success!

1x processed / 0x failed
CIA Decryptor (deep): succeeded!

I'm not getting any files after this either.
 

pixelmasher

Gaming Gamer
Member
Joined
Dec 12, 2016
Messages
1,668
Trophies
0
Location
Near N2DS XL
XP
961
Country
United States
Can someone tell me why I keep getting this error:
Opening /files9/D9Game ...

Processing CIA "sostot.cia"
Pass #1: CIA decryption...
Pass #2: NCCH decryption...
Processing Content 1 of 2 (677MB)...
NCCH is not encrypted
Processing Content 2 of 2 (1MB)...
NCCH is not encrypted
CIA is not encrypted
Success!

1x processed / 0x failed
CIA Decryptor (deep): succeeded!

I'm not getting any files after this either.
It means your CIA is already decrypted.
It doesn't write a new file. It just works on the file you give it.
 

pixelmasher

Gaming Gamer
Member
Joined
Dec 12, 2016
Messages
1,668
Trophies
0
Location
Near N2DS XL
XP
961
Country
United States
Oh okay but when I tried to extract it's romfs with this program by asia81 it didn't give me any files either.
It does that when the CIA isn't decrypted. That's weird.
What version of Decrypt9 are you using? The latest version is 20170225.
I think GodMode9 is replacing it. Try that instead and see if that works. https://github.com/d0k3/GodMode9/releases
Have you tried other files and do they work with Asia81's tools? You have to install it first.
 
Last edited by pixelmasher,

Queen of SoS

Story of Seasons Queen
Member
Joined
Feb 13, 2016
Messages
865
Trophies
0
Age
26
XP
2,115
Country
United States
It does that when the CIA isn't decrypted. That's weird.
What version of Decrypt9 are you using? The latest version is 20170225.
I think GodMode9 is replacing it. Try that instead and see if that works. https://github.com/d0k3/GodMode9/releases
Have you tried other files and do they work with Asia81's tools? You have to install it first.
Latest version and okay I'll try GodMode9 and see what it does.
 
Last edited by Queen of SoS,

Queen of SoS

Story of Seasons Queen
Member
Joined
Feb 13, 2016
Messages
865
Trophies
0
Age
26
XP
2,115
Country
United States
It does that when the CIA isn't decrypted. That's weird.
What version of Decrypt9 are you using? The latest version is 20170225.
I think GodMode9 is replacing it. Try that instead and see if that works. https://github.com/d0k3/GodMode9/releases
Have you tried other files and do they work with Asia81's tools? You have to install it first.
Godmode9 says the exact same. That it is not encrypted.
 

pixelmasher

Gaming Gamer
Member
Joined
Dec 12, 2016
Messages
1,668
Trophies
0
Location
Near N2DS XL
XP
961
Country
United States
Godmode9 says the exact same. That it is not encrypted.
Make sure you have Asia81's tool installed. You have to run the setup.exe. It'll make a folder in your default Program Files (x86) Folder called HackingToolkit3DS. It should make 20+ files in that folder. You can run the program after that from wherever you were running it and it should work.
 

Queen of SoS

Story of Seasons Queen
Member
Joined
Feb 13, 2016
Messages
865
Trophies
0
Age
26
XP
2,115
Country
United States
Make sure you have Asia81's tool installed. You have to run the setup.exe. It'll make a folder in your default Program Files (x86) Folder called HackingToolkit3DS. It should make 20+ files in that folder. You can run the program after that from wherever you were running it and it should work.
I retried the process and it just worked. Thanks for the help I appreciate it.
 
  • Like
Reactions: pixelmasher

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,489
Country
France
Is your OS a 32b or 64b ?

+ https://github.com/Asia81/HackingToolkit3DS
Before report an issue, be sure:
  • Your .3DS/CIA/CXI files are fully decrypted
  • Your .3DS/CIA/CXI files doesn't have any space or special caracter in their names (such as é or à)
  • To don't write the extension when asking for extract your game. Want extract "Game.cia"? Just write "Game".
  • To have installed the Setup package for your langage.

EDIT : Oops, too late.
Anyways, this is what happen when peoples don't read what is needed...
 
Last edited by Asia81,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I'm doing alright, thanks.
    +1
  • Maximumbeans @ Maximumbeans:
    That must be rough. Productive I'm sure but hard to balance with daily life
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Indeed. I've been working on getting this Infecutus chip to work on my PS2. But after soldering, I realised that a plastic piece was missing from the power ribbon cable to the power and eject buttons.
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
    +1
  • Veho @ Veho:
    Watch chess streamers on Twitch and you'll pick up a thing or two.
    +1
  • Veho @ Veho:
    Not to mention there's an infinite number of chess games for every possible platform.
    +1
  • DinohScene @ DinohScene:
    just play it, get beaten a few times and start dominating
    +1
  • K3Nv2 @ K3Nv2:
    Nude chess is best
    +1
  • DinohScene @ DinohScene:
    strip checkers > nude chess
    +1
  • K3Nv2 @ K3Nv2:
    Nude checkers get jumped
    +1
  • SylverReZ @ SylverReZ:
    @Veho, I guess you'd pick up something while watching tub streams.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Dick fights. :tpi:
  • Veho @ Veho:
    Turkish olive oil wrestling.
    Veho @ Veho: Turkish olive oil wrestling.