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

Status
Not open for further replies.

NyaakoXD

( ͡° ͜ʖ ͡°)
Member
Joined
Dec 16, 2013
Messages
1,858
Trophies
2
Location
In your closet...
XP
3,673
Country
United States
Strange, I don't see why :/

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

Try this instead : http://www1.zippyshare.com/v/XzFc0Ucy/file.html
Okay, the .bat worked wonderfully.

Edit 1: Aaaaaand, it couldn't extract anything...

Edit 2: A bunch of errors popped up.
U5qqOXy.png
 
Last edited by NyaakoXD,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
Make sure you also have ctrtool in the folder, if you use the batch.
Are you sure your .cia is decrypted?

Try running this command:
ctrtool.exe -p --contents=Contents.bin %NameCIA%.cia

And send me a screenshot of your folder, thanks
 

Makein

Well-Known Member
Member
Joined
Nov 2, 2014
Messages
193
Trophies
0
Age
31
XP
161
Country
United States
Decrypt9WIP on hax don't work for me... Only black screen when i running it on homebrew launcher
How you doing this without it?
Because i lost 1 day to install hanx...(But install it and nothing...)
 
Last edited by Makein,
D

Deleted User

Guest
Am I missing something or does anyone else NEVER get the romfs folder!!!!!
 
D

Deleted User

Guest
I go through everything but it never gives me a romfs folder which is the main thing I am looking for! I am trying to extract a romfs from a braindump incompatible game!

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

Looks like you missing it)
I have one, always...
IHKEBaF.png


After a dump
 

deSSy2724

Well-Known Member
Member
Joined
Sep 11, 2015
Messages
453
Trophies
0
Age
33
XP
1,174
Country
Germany
Im unable to decrypt my CIA files. Im on N3DS sysnand 9.0 and GW emuNAND 9.0 and I launch the homebrew launcher in GW emunand via the "hblauncher_loader.cia" released by yellow8. The problem is, the Decrypt9WIP .3dsx boots and it crashes back to the main menu of homebrew launcher menu (no error message).

Solution?
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
Im unable to decrypt my CIA files. Im on N3DS sysnand 9.0 and GW emuNAND 9.0 and I launch the homebrew launcher in GW emunand via the "hblauncher_loader.cia" released by yellow8. The problem is, the Decrypt9WIP .3dsx boots and it crashes back to the main menu of homebrew launcher menu (no error message).

Solution?
You can't run Decrypt9 or any kind of CFW in EmuNand.
Start it via your sysnand (I use themehax)
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
you can't use decrypt9 using gateway.
use themehax, or any kind of entrypoints in sysnand
 

Alex-JA

Well-Known Member
Newcomer
Joined
Sep 19, 2015
Messages
91
Trophies
0
Age
25
XP
131
Country
Hi!

Can I extract official .cias?
My idea is extract the Nintendo eShop cia and change icon, banner... etc.
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
You can extract it if you can dump it.
Try to xor your nand and search inside the title id of the eshop, or use braindump for dump the eshop.

For rebuild, it's not that easy
 

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,982
Country
Can someone help me please? I'm trying to decrypt and extract the Smash Bros EUR 1.1.3 update cia and failing spectacularly at every step of the way. So far I've attempted to use Decrypt9 and while it claims to have successfully decrypted the .cia, there's absolutely no indication of it. No new .cia files have been generated anywhere on the SD card, so I assumed it simply replaces the original .cia by putting the decrypted .cia into the same location with the exact same file name. A quick check shows that the MD5 of the .cia has changed BUT its file size is identical to before, right down to the byte. Not sure if that's right. Attempting to open it up in hacktoolkit.exe causes several lines of text to flash by (they say things like "not recognized as internal or external command" and "Could not find .../DecryptedPartitionX.bin") before returning to the main menu. It doesn't seem to have generated any DecryptedX.bin files anywhere.

Attempting to extract using ctrtool does generate some files, but throws up several "invalid keys" error and none of the files appear to be decrypted.

Am I making a mistake at the Decrypt9 step, or is the problem with hacktoolkit.exe? Really confused here. :(

EDIT:
I'm running Windows 10, apparently that breaks some things 3DS homebrew-related. Could this be the reason why?
 
Last edited by NekoMichi,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,662
Trophies
3
Age
29
XP
3,539
Country
France
Can someone help me please? I'm trying to decrypt and extract the Smash Bros EUR 1.1.3 update cia and failing spectacularly at every step of the way. So far I've attempted to use Decrypt9 and while it claims to have successfully decrypted the .cia, there's absolutely no indication of it. No new .cia files have been generated anywhere on the SD card, so I assumed it simply replaces the original .cia by putting the decrypted .cia into the same location with the exact same file name. A quick check shows that the MD5 of the .cia has changed BUT its file size is identical to before, right down to the byte. Not sure if that's right. Attempting to open it up in hacktoolkit.exe causes several lines of text to flash by (they say things like "not recognized as internal or external command" and "Could not find .../DecryptedPartitionX.bin") before returning to the main menu. It doesn't seem to have generated any DecryptedX.bin files anywhere.

Attempting to extract using ctrtool does generate some files, but throws up several "invalid keys" error and none of the files appear to be decrypted.

Am I making a mistake at the Decrypt9 step, or is the problem with hacktoolkit.exe? Really confused here. :(

EDIT:
I'm running Windows 10, apparently that breaks some things 3DS homebrew-related. Could this be the reason why?

It's strange. I'm also on W10.
Check with Decrypt9, maybe D9 corrupt the file (even if I don't know why).
Check the log created by D9 at the root of your SD Card.
 
  • Like
Reactions: NekoMichi

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,982
Country
It's strange. I'm also on W10.

Check with Decrypt9, maybe D9 corrupt the file (even if I don't know why).
Check the log created by D9 at the root of your SD Card.
The log says everything went fine, no errors. It looks like the problems are being caused by Windows OS on my machine, which was interfering with hackingtoolkit. Will spend some time fixing the system. Thanks for your input and releasing the toolkit anyway. :)
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
  • DilllyDabDharma @ DilllyDabDharma:
    I'm new! Hi!
    DilllyDabDharma @ DilllyDabDharma: I'm new! Hi!