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

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

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
27
XP
3,050
Country
Greece
Hey so i got a different ultra moon decrypted file which i was able to extract and edited it useing the latest pk3ds :) but now my question is: how do i rebuild it into a 3ds file? cause pk3ds gives error saying that my romfs file count does not match the orginal file count so is there another program which can rebuild it? (i remember i used something in the past but i forgot its name...)
If you are planning to play on the 3DS, just use layeredFS to apply the patch (Luma options). If you want to make the .3ds file, just use HackingToolkit or, if you know how to use it, go with the base makerom app.
 

cevaceva

Member
Newcomer
Joined
Aug 17, 2016
Messages
9
Trophies
0
Age
29
XP
87
Country
United States
If you are planning to play on the 3DS, just use layeredFS to apply the patch (Luma options). If you want to make the .3ds file, just use HackingToolkit or, if you know how to use it, go with the base makerom app.
Oh right im stupid X_X haha i used Hackingtoolkit to extract it but i forgot that you use the same thing to rebuild it im stupid xD thank you for your answer also i remember that you have to rename .code.bin to just code.bin for it to work xD
 
  • Like
Reactions: Seriel

Francesca

Well-Known Member
Member
Joined
Mar 17, 2015
Messages
403
Trophies
0
XP
975
Country
Armenia
Working with an Ultra Sun file, I seem to be having unsolvable issues converting a .3ds file into romfs/exefs for editing with pk3ds. Is it pk3ds that's not ready for USUM or some problem with the hacking toolkit?

edit: I do have the latest version of pk3ds and the hacking toolkit from the 1st post of this thread.
 
Last edited by Francesca,

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
27
XP
3,050
Country
Greece
Working with an Ultra Sun file, I seem to be having unsolvable issues converting a .3ds file into romfs/exefs for editing with pk3ds. Is it pk3ds that's not ready for USUM or some problem with the hacking toolkit?

edit: I do have the latest version of pk3ds and the hacking toolkit from the 1st post of this thread.
Pk3DS has long since updated support for US/UM and HackingToolkit doesn't need updating to support it as it works with all games regardless of how new or old they are, provided that they are in the correct format. Try getting a different .3ds file or a .CIA and try again, could just be your file specifically...
 
  • Like
Reactions: Francesca

Francesca

Well-Known Member
Member
Joined
Mar 17, 2015
Messages
403
Trophies
0
XP
975
Country
Armenia
Having trouble rebuilding a .cia file after doing my edits.

1. First tried to rebuild with the toolkit into a .3ds file. Got nothing.
2. Tried to rebuild into a .cia next. It asked me if I want to decompress (or was it decrypt? I forget) a file. I agreed. Still got nothing?
3. Opened my files with pk3ds. All the changes I'd made to it... were gone? WTF is going on?
 

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
27
XP
3,050
Country
Greece
Having trouble rebuilding a .cia file after doing my edits.

1. First tried to rebuild with the toolkit into a .3ds file. Got nothing.
2. Tried to rebuild into a .cia next. It asked me if I want to decompress (or was it decrypt? I forget) a file. I agreed. Still got nothing?
3. Opened my files with pk3ds. All the changes I'd made to it... were gone? WTF is going on?
If you've managed to extract and edit the files, then no need to bother anymore. Find the edited files and apply them as a game patch using Luma's LayeredFS, it will have the exact same effect, only different thing is that you get the option to turn the patch on and off in case you want the vanilla game!:P About the files not having the edits, did you make sure to save the changes you made to them at every part? Also, check the automatic backups created by PK3DS in case the edited files are there, will save you time when re-editing.
 

DarkAllNight

Active Member
Newcomer
Joined
Apr 3, 2017
Messages
29
Trophies
0
Age
28
XP
137
Country
Brazil
Meh I'm not the dev but the differences are between HacktinToolKit3DS (all versions only work with decrypted titles) and HackingToolKit9DS (All versions only work with encrypted titles). Your case must have just been a bad download. Either way, Asia81 mentioned it more than once in the thread and updated the OP and the change logs. He's French, but he did say there is no need to decrypt the files anymore, just neglected to mention you HAVE to leave them that way to extract them using version 10<.

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


You need at least version 9. Older versions never had working .CIA builders.

Guys you HAVE to know if the file you downloaded was encrypted or not. If you're dumping a .CIA with freeshop it's decrypted, if you download one from a warez site, it's decrypted. You either have to encrypt it again with Godmode9 BEFORE extracting it with v11 of HackingToolKit. Otherwise, you need to use V9 that extracts decrypted .CIAs. V11 ONLY works on encrypted .CIAs that you'd get directly from the CDN.

That's why you guys are all getting .bin files and not the extracted folders.

Sorry to bother but since you answered something related to my question. I'm trying to install the 2.2 uncensored update on Dragon Ball Fusions to play on a certain program, the update came in a cia file. Last time I was faced with this problem someone on a certain website linked me to a bat file that managed to decrypt the cia update so I could just copy and past it over the decrypted censored .3ds version of the game and rebuild it, sadly the thread is gone, so is it possible to do that with the latest hackingtool?
 

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
Sorry to bother but since you answered something related to my question. I'm trying to install the 2.2 uncensored update on Dragon Ball Fusions to play on a certain program, the update came in a cia file. Last time I was faced with this problem someone on a certain website linked me to a bat file that managed to decrypt the cia update so I could just copy and past it over the decrypted censored .3ds version of the game and rebuild it, sadly the thread is gone, so is it possible to do that with the latest hackingtool?
You could, yeah. Just throw it it in the "gm9" folder on your SD card and then use Godmode9 to find the file, then use the "A" menu once it's selected and choose "decrypt".
 

Francesca

Well-Known Member
Member
Joined
Mar 17, 2015
Messages
403
Trophies
0
XP
975
Country
Armenia
If you've managed to extract and edit the files, then no need to bother anymore. Find the edited files and apply them as a game patch using Luma's LayeredFS, it will have the exact same effect, only different thing is that you get the option to turn the patch on and off in case you want the vanilla game!:P About the files not having the edits, did you make sure to save the changes you made to them at every part? Also, check the automatic backups created by PK3DS in case the edited files are there, will save you time when re-editing.

Does pk3ds still auto-save the files like it used to, or do I need to save the romfs and exefs manually? I can never tell.
 

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
Does pk3ds still auto-save the files like it used to, or do I need to save the romfs and exefs manually? I can never tell.
Check the date man, the edited files will have a timestamp closer to your current time; especially if you extracted the files a while ago.....

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

And yes, it does...
 
  • Like
Reactions: ThoD

sabino

Well-Known Member
Newcomer
Joined
Jun 21, 2015
Messages
62
Trophies
0
Age
23
XP
145
Country
United States
how do i fix this
upload_2017-11-26_8-19-12.png
 

RitchieLuis

Member
Newcomer
Joined
Aug 6, 2014
Messages
14
Trophies
0
Age
30
Location
Living in a dream
XP
115
Country
Hello guys,I've read some posts in this thread but I cannot find a solution for the 0KBs file while trying to rebuild the 3DS (Since the CIA cannot be created), I've used versions 11,10,9... Still getting the same 0KBs file.Could anyone give me some assistance please ?
Btw: My computer is X64 & has 8GBs RAM. Could this affect the generation of the .3DS File ?
Thanks a lot !
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Looks like Link's Awakening was metaphorical.