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

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

    Votes: 160 17.5%

  • Total voters
    916

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
Not with this, but yes i sucessfully rebuild a patch (i tried with alpha sapphire)
i put the random wild on the latest update, i can go online

Thanks to @Apache Thunder for this awesome help on this
 

beester87

Active Member
Newcomer
Joined
May 23, 2015
Messages
28
Trophies
0
XP
59
Country
United States
Hi, @Asia81. I have used your simple and useful tutorial and have successfully (at least I think so) decrypted my ROM, have obtained the "exe" and "romfs" folders, and have made the changes I wanted. I am now stuck at the very last part. When I try to open my DecryptedExHeader.bin in 3DS Builder, I get this error.
p04Mvdr.png
I saw that someone else in the thread had the same problem as me. When I try to run ctrtool.exe, a window appears for an instant and then disappears. Taking a picture of it looks like this.
cguzr3R.png
Do you have any suggestions or solutions on how I can fix this? Thank you for your work. :)
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
For fix the Exheader problem :

Extract EncryptedExHeader.bin with :
ctrtool -p --exheader=EncryptedExHeader.bin rom.3ds

Decrypt it with Padxorer :
padxorer EncryptedExHeader.bin XorpadExHeader.xorpad

Delete the EcryptedExHeader.bin
Rename EncryptedExHeader.bin.out to DecryptedExHeader.bin

Should be ok for 3DS Builder now :)

For the spoiler 2, i don't know, what are you doing ?
 
  • Like
Reactions: beester87

beester87

Active Member
Newcomer
Joined
May 23, 2015
Messages
28
Trophies
0
XP
59
Country
United States
For fix the Exheader problem :

Extract EncryptedExHeader.bin with :
ctrtool -p --exheader=EncryptedExHeader.bin rom.3ds

Decrypt it with Padxorer :
padxorer EncryptedExHeader.bin XorpadExHeader.xorpad

Delete the EcryptedExHeader.bin
Rename EncryptedExHeader.bin.out to DecryptedExHeader.bin

Should be ok for 3DS Builder now :)

For the spoiler 2, i don't know, what are you doing ?
I got it to work! I was trying to double click ctrtool.exe to run it at first, but then I managed to get it to work by using it with the command prompt. I followed those instructions you posted and got a new DecryptedExHeader.bin. It no longer gives me the error in 3DS Builder and I now have my completed file. Thank you very much for your assistance! :)
You might want to post this as a common error in your main post to avoid future posts like this.
 
  • Like
Reactions: Asia81

JR_44

Well-Known Member
Newcomer
Joined
Aug 23, 2014
Messages
56
Trophies
0
Age
25
Location
Indiana
XP
126
Country
United States
rxTools hangs when I press CTR Decrypt. It just shows CTR Decryptor and nothing else.
Running 4.2 SysNand & 9.8 EmuNand
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
-.-"
pourquoi? :( :(
Merci de nous aider stp

I see you have CommandBuilder. It's an old pack.
Try with the latest pack in the first post (on pastebin)

And please, if you are on GBA-Temp or ProjectPokemon, please speak english, or if you want speak french, ask me in private message

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

rxTools hangs when I press CTR Decrypt. It just shows CTR Decryptor and nothing else.
Running 4.2 SysNand & 9.8 EmuNand

If it's a problem with CTR Tool, i can do nothing for you, sorry
Try to ask roxas75 about this problem
 

frogboy

lacking both style and grace
Member
Joined
Dec 6, 2011
Messages
2,434
Trophies
1
Age
28
XP
1,736
Country
United States
HackingToolkit.bat doesn't output exe or romfs folders for me, and I'm 100% sure I typed the filename and xorpad names correctly.
 

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
Fire Emblem IF.

It's an SDK6, right? I only got 3 xorpads.

it's impossible
it is a new game

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

You should have 4 Xorpads, at least :
.Main.exheader.xorpad
.Main.exefs_norm.xorpad
.Main.exefs_7x.xorpad
.Main.romfs.xorpad
 
  • Like
Reactions: frogboy

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
Updated with a little bit of change.
Now you can enter the TitleID of your game, instead of your Xorpads names. (It's a little more faster)
 

LaxinJackson

New Member
Newbie
Joined
Jul 3, 2015
Messages
1
Trophies
0
Age
43
XP
41
Country
United States
Does this tutorial work with 9.6.0-24U and a Sky3DS? If not could you specify on how I could go about doing that with those specifications? Also where did you get your Pokemon Alpha Sapphire rom?
 

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
So I have a mac, and I am trying to find a way to decrypt roms. Is there any way that you know of that can do what I want? I was following a tutorial (not this one) and turns out it's also just for windows.

Sometimes owning a mac can be annoying :P
 
  • Like
Reactions: KoopaStarRpad

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu