ROM Hack [Release] 3DS_CTR_Decryptor-VOiD

  • Thread starter Thread starter Relys
  • Start date Start date
  • Views Views 649,348
  • Replies Replies 2,226
  • Likes Likes 30
its not to do with card1/card 2 its just that makerom uses a generic rsf to create a generic exheader, so the only games that work are games that use the same permissions/services on the 3ds as the generic exheader
 
I see.

So another thing. I just tried to rebuild a different game and despite creating a completly fresh workfolder, it shows the icon of RE Mercenaries when I load it in Gateway mode. Banner is from the original game tho, so no idea what's going on. Rebuilt it multiple times, renamed it different but the problem persists. Ideas? Does GW use some fallback cache or sth? I even deleted the Mercenaries ROM from my MicroSD so it has to be either in some sort of cache or the ROM itself though there really is no way I could think of it gets in there every time.
 
I see.

So another thing. I just tried to rebuild a different game and despite creating a completly fresh workfolder, it shows the icon of RE Mercenaries when I load it in Gateway mode. Banner is from the original game tho, so no idea what's going on. Rebuilt it multiple times, renamed it different but the problem persists. Ideas? Does GW use some fallback cache or sth? I even deleted the Mercenaries ROM from my MicroSD so it has to be either in some sort of cache or the ROM itself though there really is no way I could think of it gets in there every time.

The UniqueID in the RSF file makes the games uniqueID, so if you dont edit that and the uniqueID is that of resident evil it will always load the icon for resident evil as the icons get cached on first launch
 
  • Like
Reactions: _eyCaRambA_
Hey Guys! I've been following all 3DS Hacking News eversince the first news of Gateway got in. The community seemed really nice and helpful, and people always helped others when they showed that they tried it first themselves. So I am hoping to get the same kind of help I've been seeing for so long. (I am telling you this just to kinda introduce myself btw).

I have a question about the rom decryption. I've read every single page in this thread and no one seemed to have asked it before, so here goes: When you have the EncryptedRomFS.bin, you need to put it in the XOR Tool (3DSExplorer) as the second file right? The first file being the CTRxxx-romfs.xorpad you got from your 3DS with a nccinfo. The outcome should be a DecryptedRomFS.bin right? But that's not what my computer wants. When I click Save it only wants to save as a 'XORed File *.xor'.

What am I doing wrong here? I greatly appriciate any help.

Thank you,
Max
 
follow this tutorial
1 drag your .3ds rom onto "crtkeygen.exe" this will create a file called ncchinfo.bin in the same folder as your rom

2. copy the XORpad generator (launcher.dat) from the "For the 3DS SD card" folder in this download to the 3DS's SD card
and the ncchinfo.bin that was generated in step 1, then pop the SD back in the 3DS and go to DS profile, this will generate the
Xor pads used to decrypt the game.(this step can be a little buggy if it stays on "opening ncchinfo.bin" for more than a few seconds
reset the console and repeat untill it kicks into action)

3. copy your ROM and XOR pads here, leave out any CTR-P-CTAP.romfs*.xorpad files they are un-needed and may cause issues you just need
the 3 Xor pads for the game exefs,romfs and exh


4. run unpackv2.bat, enter your roms filename (may help if you rename it to something easy like rom.3ds)
go into the "decrypted" folder then "romfs",
have fun


thanks to ground for the neat and tidy decryption script,and everyone involved in making the tools
http://filetrip.net/dl?klFzuXHgmF

there is pretty much zero room for error, everything you need is in there and its simply a matter of running the single bat file
 
There must be something wrong here. When running the bat and giving the correct file name, it starts to do a lot of stuff, making/containing several keys I guess. And it says 'error program id mismatch. Wrong key?' So what exactly is wrong here? I don't know what it means by key
 
did it extract the files into the decrypted folder? pretty it just says the incorrect keys thing as the rom is encrypted....so it cant read the info.......just ignore it :P

ps to make the process even even easier and fool proof, here is unpackv3
basically just copy the xorpads and rom into the folder,drag the .3ds file onto the unpackv3.bat, and it does everything for you.....you don't even have to type the name or worry about removing the "CTAP" xors it deals with them too
 

Attachments

read the previous post, also for the record this won't work on the pokemon VC roms that BBB made (see the general VC thread about those) or 7.x encrypted games like smash bros


Wait a second... I think I know what is wrong, due to a misscommunication you thought I was talking about injecting a VC rom? I actually just want to unpack a 3ds rom, to lay the filesystem bare. I want to extract models from Super Mario 3D Land.
 
Wait a second... I think I know what is wrong, due to a misscommunication you thought I was talking about injecting a VC rom? I actually just want to unpack a 3ds rom, to lay the filesystem bare. I want to extract models from Super Mario 3D Land.
yeah its the exact same process except you dont repack it
 
Oh right, but still, it won't put anything in the decrypted folder. I shall retry all steps, beginning with extraction the EncryptedRomFS from SuperMario3DLand and generating the xorpads again...
 
the xorpads probably got renamed the first time to "romfs.xorpad" etc , basically just rename it back so its in the same layout as it was originally "bfbfb.romfs.xorpad"(basically anything with a . so it will be picked up by the script again) then the script will work fine again, i actually fixed that in v3 so if it does go wrong for whatever reason the xorpads can just be copied back into the main directory so you can try again without having to rename them again

basically start again and just copy the xorpads into the folder and the rom, drag the rom onto the unpackv3.bat and it should all go fine
 
  • Like
Reactions: TheMaxynator
the xorpads probably got renamed the first time to "romfs.xorpad" etc , basically just rename it back so its in the same layout as it was originally "bfbfb.romfs.xorpad"(basically anything with a . so it will be picked up by the script again) then the script will work fine again, i actually fixed that in v3 so if it does go wrong for whatever reason the xorpads can just be copied back into the main directory so you can try again without having to rename them again

basically start again and just copy the xorpads into the folder and the rom, drag the rom onto the unpackv3.bat and it should all go fine


Great! I think I know how it went wrong. I first failed to put in the filetype right (I forget the .3ds part -.-') and it renamend the Xorpads like you said, and I tried again, and it couldn't find them, but now I have the whole rom unpacked! Thank you for your excellent service :)
 
Hey! Pokemon Y sucessfully repacked with makerom!

I saw what gamesquest wrote about the exheader and it took me a while but I made a proper rsf.

Repacked with this command line (makerom.exe was in the parent directory and exefs decompressed data was inside an exefs subdir. Rom name is set to TEST3DSROM.3ds):
Code:
..\makerom -f cci -target d -rsf gw.rsf -logo logo.bin -romfs dec_romfs.bin -exheader dec_exh.bin -code exefs/code.bin -icon exefs/icon.bin -banner exefs/banner.bin -alignwr -o TEST3DSROM.3DS
 

Attachments

Hey! Pokemon Y sucessfully repacked with makerom!

I saw what gamesquest wrote about the exheader and it took me a while but I made a proper rsf.

Repacked with this command line (makerom.exe was in the parent directory and exefs decompressed data was inside an exefs subdir. Rom name is set to TEST3DSROM.3ds):
Code:
..\makerom -f cci -target d -rsf gw.rsf -logo logo.bin -romfs dec_romfs.bin -exheader dec_exh.bin -code exefs/code.bin -icon exefs/icon.bin -banner exefs/banner.bin -alignwr -o TEST3DSROM.3DS


Only formatted to work with Pokemon Y, right?
 
Only formatted to work with Pokemon Y, right?
Yeah. To get it working with other annoying games, you should get their decrypted exheader and extract their data with ctrtool, using something like this

Code:
ctrtool -t exheader decrypted_exheader.bin > exheaderinfo.txt

Then you modify the relevant settings in the rsf.
 

Site & Scene News

Popular threads in this forum