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

  • Thread starter Asia81
  • Start date
  • Views 1,431,113
  • 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

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,495
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,656
Trophies
3
Age
29
XP
3,495
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,656
Trophies
3
Age
29
XP
3,495
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,656
Trophies
3
Age
29
XP
3,495
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,656
Trophies
3
Age
29
XP
3,495
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
    Veho @ Veho: https://www.keepretro.com/products/miyoo-a30