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

  • Thread starter Asia81
  • Start date
  • Views 1,436,486
  • 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
Windows 10 x64 v1709. On the rebuild stage it reports a bunch of errors about a few missing DLLs and doesn't rebuild anything.
Install any activeX files it asks for and try again. Either put them in the same directory as the program itself or in System32 in the Windows folder and install with regsvr32.
 

BestIntrest

Active Member
Newcomer
Joined
Sep 25, 2008
Messages
27
Trophies
0
Age
34
XP
266
Country
United States
I had the same issue with ucrtbased.dll and vcruntime140d.dll and was able to fix the first by installing the free community Visual Sudio 2015 and selecting custom and following this image:

https://imgur.com/a/Bwhbb

Still working on the vcruntime140d.dll.

Edit: I'm no programmer but it seems the program may have been compiled with debug .dll links vs release .dll links.

Edit 2: I was able to find the vcruntime140d.dll in C:\Windows\SysWOW64 and copied it to C:\Windows\System 32
 
Last edited by BestIntrest,

Sefer

Member
Newcomer
Joined
Jan 15, 2017
Messages
21
Trophies
0
Age
33
XP
104
Country
Gambia, The
I had the same issue with ucrtbased.dll and vcruntime140d.dll and was able to fix the first by installing the free community Visual Sudio 2015 and selecting custom and following this image:

https://imgur.com/a/Bwhbb

Still working on the vcruntime140d.dll.

Edit: I'm no programmer but it seems the program may have been compiled with debug .dll links vs release .dll links.

Edit 2: I was able to find the vcruntime140d.dll in C:\Windows\SysWOW64 and copied it to C:\Windows\System 32

Do you know which would be the correct entry for VS2017? I cannot find common tools within the new installer!
 

DarkSlater

New Member
Newbie
Joined
Mar 19, 2018
Messages
1
Trophies
0
Age
28
XP
41
Country
United States
I used mass extractor to get all of the files from the .3ds files since extract wont work but now when i try and rebuild it makes an empty 3ds file. Ive tried different version of the hacking tool to see if that was the problem but nothing has worked. If you can help i would be very thankful.
 

fmhugo

Well-Known Member
Member
Joined
Jan 19, 2013
Messages
681
Trophies
1
Age
37
XP
2,460
Country
Brazil
I extract Metal Gear 3D EUR cia to get languages files to play my physical jpn version in other language. what files i can get to play metal gear in english ?
 

SFNMutt

Active Member
Newcomer
Joined
May 21, 2017
Messages
30
Trophies
0
Age
53
XP
111
Country
United States
I'm able to extract a .3DS file but when I try to rebuild as a .CIA I get the same ucrtbased.dll and vcruntime140d.dll errors. what I have are ucrtbased.dll and vcruntime140.dll. As you pointed out, these are the debug versions of the files & the script should be recompiled w/ the non-debug versions. I am however able to make a new .3DS file.

I made copies of the 2 files & renamed them to add the "d". it seemed to run but game me an new error saying it couldn't find _CrtDbgReport in C:\Program Files (x86)\HackingToolkit9DS

UPDATE - I followed you directions for installing the common component of VC CE 2015. (found DL link here)

I had the same issue with ucrtbased.dll and vcruntime140d.dll and was able to fix the first by installing the free community Visual Sudio 2015 and selecting custom and following this image:

https://imgur.com/a/Bwhbb

Still working on the vcruntime140d.dll.

Edit: I'm no programmer but it seems the program may have been compiled with debug .dll links vs release .dll links.

Edit 2: I was able to find the vcruntime140d.dll in C:\Windows\SysWOW64 and copied it to C:\Windows\System 32
 
Last edited by SFNMutt,

Mr_Mendelli

New Member
Newbie
Joined
Mar 7, 2017
Messages
3
Trophies
0
Location
Denver, Colorado
XP
129
Country
United States
Hey there Asia81! I'm new to GBATemp and wanted to propose a collaboration regarding this program. If you're interested please PM me, I would have done this myself but lack the permission for being a lowly n00b...
 

Mr_Mendelli

New Member
Newbie
Joined
Mar 7, 2017
Messages
3
Trophies
0
Location
Denver, Colorado
XP
129
Country
United States
I've been working on a version of this program with cosmetic changes, optimizations, and have turned it into a completely portable program all in a single executable binary. I haven't done very many collaborations, but I just wanted to see if you'd be interested in this. I want to help you and the 3DS hacking community. I am communicating with you, because I want to release my version, but this is your program. So this is a formal request as well as an offer of my services. I have two versions of the tool ready for testing. I've had a few private testers try the program already, but I wanted you to see it personally. Just let me know and I can send you my revision with a changelog. I would however, like to have you test this privately (it isn't ready for a full release), this is why I wanted a PM/DM.
 
Last edited by Mr_Mendelli,

rizaldzikri

New Member
Newbie
Joined
Mar 27, 2018
Messages
1
Trophies
0
Age
31
XP
51
Country
Indonesia
PLEASE HELP ME
my pokemon USUM won't extract i have tried with v9 and v12 but same result
I have changed its existence to .cia .3ds but precisely do not want to extract, but if renamed to .cxi it extract then after want to build again it becomes 3ds but 0 kb

please enlighten me master
 

Attachments

  • img1.png
    img1.png
    110 KB · Views: 449
  • img1.png
    img1.png
    110 KB · Views: 357
  • img3.png
    img3.png
    101.2 KB · Views: 396

crono686

Member
Newcomer
Joined
Apr 2, 2018
Messages
24
Trophies
0
Age
36
XP
265
Country
Germany
I have a question regarding encryption and decrytption with this tool.
So i have a .3ds file, which is working on my 3DS. Choosing the Option 'D' for extract .3ds files gives me a lot of stuff after typing in the file name of the .3ds file.
What i want is an decrytped .3ds file, so i assume rebuilding it with the 'R' option should give me a decrytped .3ds file. This option gives me a .3ds file, but it is still encrypted.
I want to test my file on the Citra Emulator, so i ask you what i am doing wrong here? Thank you very much.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Goku likes to flip the bean to get others healthy