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

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

Floboy

New Member
Newbie
Joined
Jun 24, 2018
Messages
2
Trophies
0
Age
33
XP
45
Country
France
Hello i'm just a french noob guy in this world and i got the arc file of MH3U but in can't found and open to see armor model anyone can help me ?
 
Last edited by Floboy,

mold

New Member
Newbie
Joined
Dec 19, 2016
Messages
1
Trophies
0
Age
29
Location
Oregon
Website
techion.me
XP
53
Country
United States
If you are not finding folders for your decrypted CIA, make sure you're using HackingToolkit3DS and not HackingToolkit9DS. On the Github releases page, the newest version of HackingToolkit3DS is PackEnglishV9.
 
  • Like
Reactions: Deniii and jtsthaw

Devsterman12

New Member
Newbie
Joined
Jul 22, 2018
Messages
4
Trophies
0
Age
33
XP
95
Country
South Africa
You can also perhaps provide an alternative method (which would be a lot shorter to explain then the old xorpad method) by using rxTools to decrypt the rom instead, then extract everything with CTRTool/3DSExplorer. The resulting files will already be decrypted and if ran on 7.x or newer sysnand, the key slot bin file won't be needed. :D
I have been trying to do this but for most games I get this error when trying to open them in 3DSExplorer


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'H:\Console and emulator stuff\3DS stuff\cia\1326 - Persona Q - Shadow of the Labyrinth (Europe) Decrypted.3ds' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at _3DSExplorer.frmExplorer.OpenFile(String path)
at _3DSExplorer.frmExplorer.menuFileOpen_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3131.0 built by: NET472REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
3DSExplorer
Assembly Version: 1.0.0.0
Win32 Version: 1.5.3.0
CodeBase: file:///H:/3D%20model%20ripping%20stuff/3DS%20stuff/3DS-Tools-Collection-master/3DS%20Explorer/3DSExplorer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Rainierman

Member
Newcomer
Joined
Mar 1, 2013
Messages
11
Trophies
1
Age
34
XP
150
Country
United States
For peoples having problems with makerom (dll and other things) try this one.
It has been compiled with release, and not debug this time.
https www 29 zippyshare com v EWa6xa7t file html
I want to report to the dev and to people still having trouble that:
1) On version V12
2) After downloading the DLL's the error messages told me (vcruntime140d.dll)
3) After updating .NET Framework Runtime (microsoft com/net/download)
4) And finally after replacing the makerom.exe in Program Files (x86)

I got it to repack successfully.

And for the record, although I can't tell if #3 made a difference, #4 did not work without #2 first.

Thanks for the tool!
 
Last edited by Rainierman,
  • Like
Reactions: Asia81

SpiralGoku

Member
Newcomer
Joined
Aug 11, 2018
Messages
5
Trophies
0
Age
28
XP
67
Country
Venezuela
Hi, I am a noob in this and am having problems. Every time I try to repack my game it does the entire process but doesn't give me a .cia file. What am I doing wrong?.
 

Nuclear999

Member
Newcomer
Joined
Sep 5, 2018
Messages
7
Trophies
0
Age
112
XP
72
Country
United States
everytime i enter the cia file name, and i press extract it always finishes fast and no folders show up for some reason

can anyone help me with this?
 

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
37
XP
835
Country
Canada
Question: how do we repack a CXI ? with the app we can unpack it, but cant repack..


everytime i enter the cia file name, and i press extract it always finishes fast and no folders show up for some reason

can anyone help me with this?
make sure you dont have spaces in your title and dont type the extention..exemple: PokemonUltraMoon instead of pokemon ultra moon.3ds
 

Nuclear999

Member
Newcomer
Joined
Sep 5, 2018
Messages
7
Trophies
0
Age
112
XP
72
Country
United States
Question: how do we repack a CXI ? with the app we can unpack it, but cant repack..



make sure you dont have spaces in your title and dont type the extention..exemple: PokemonUltraMoon instead of pokemon ultra moon.3ds
My Cia is called "KRB" and it just finishes instantly without any folders popping up
 

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
37
XP
835
Country
Canada
My Cia is called "KRB" and it just finishes instantly without any folders popping up
i mean, when you type it in HackingTool's command prompt, make sure to type KRB and not KRB.cia
also, make sure your folder isnt in your program files directory in your pc.
 

Nuclear999

Member
Newcomer
Joined
Sep 5, 2018
Messages
7
Trophies
0
Age
112
XP
72
Country
United States
i mean, when you type it in HackingTool's command prompt, make sure to type KRB and not KRB.cia
also, make sure your folder isnt in your program files directory in your pc.
got it to work, turns out my dumbass wrote "KRB" instead of "KRB", sorry to bother all of you lmao
 

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
37
XP
835
Country
Canada
got it to work, turns out my dumbass wrote "KRB" instead of "KRB", sorry to bother all of you lmao
I think you made a typo since you wrote the same thing twice haha.. but I think I understand what you meant.

And you don't need to apology, you are not bothering anyone :) its a good place to get help and usually users are respectful, and don't forget.. even users with 20000posts, have once been newbies, everyone are noob in some domains :P so feel free to ask as many questions as you want, this is how progress is made :)

Glad you got it to work! Have fun, see you around.
 

SpiralGoku

Member
Newcomer
Joined
Aug 11, 2018
Messages
5
Trophies
0
Age
28
XP
67
Country
Venezuela
Hi, would somebody be able to answer my question: Some days ago my little brother asked my if I could randomize his Pokemon X. I could unpack the cia of his game easy and modified the game. The problem is that every time I repack it no modified cia file appears. Am I doing something wrong or is there something I haven't done?.
 

Deleted member 414661

Well-Known Member
Newcomer
Joined
Feb 13, 2017
Messages
79
Trophies
0
XP
182
So I'm attempting to open up my .3ds file of MHXX, and I installed everything right as was directed.

I used the program to extract the file but no new folders popped up with the contents. Did something go wrong?

Edit:

The file to be extracted needs to be in the same file as the 9DS program for it to actually extract it.
 
Last edited by Deleted member 414661,

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
37
XP
835
Country
Canada
Hi, would somebody be able to answer my question: Some days ago my little brother asked my if I could randomize his Pokemon X. I could unpack the cia of his game easy and modified the game. The problem is that every time I repack it no modified cia file appears. Am I doing something wrong or is there something I haven't done?.
was the same for me, until i used another version of HackingToolKit9ds. heres what i do:
- to unpack i use HackingToolKit9ds version 12
- to repack i use HackingToolKit9ds version 9

you should be able to repack your edited cia that way, good luck and have fun.
 

gaberilde

Well-Known Member
Member
Joined
Sep 25, 2016
Messages
109
Trophies
0
XP
272
Country
United Kingdom
I have been trying to do this but for most games I get this error when trying to open them in 3DSExplorer


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'H:\Console and emulator stuff\3DS stuff\cia\1326 - Persona Q - Shadow of the Labyrinth (Europe) Decrypted.3ds' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at _3DSExplorer.frmExplorer.OpenFile(String path)
at _3DSExplorer.frmExplorer.menuFileOpen_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3131.0 built by: NET472REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
3DSExplorer
Assembly Version: 1.0.0.0
Win32 Version: 1.5.3.0
CodeBase: file:///H:/3D%20model%20ripping%20stuff/3DS%20stuff/3DS-Tools-Collection-master/3DS%20Explorer/3DSExplorer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
This indicates a security error. Check your security on the file you are trying to open or try running the program as administrator.

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

If you guys want a updated tool with a gui to do this then visit this:
https://gbatemp.net/threads/gabrieloromtoolsgui.517483/#post-8268232
 
  • Like
Reactions: puss2puss

puss2puss

.. well ..
Member
Joined
Dec 18, 2013
Messages
927
Trophies
0
Age
37
XP
835
Country
Canada
I try to extract my *.CIA file but it doesn't extract. No folder or files come up.
When you type the name of your cia file in the program, make sure to type it without the extention.. so, dont type .cia in the end of your file name.
Are you using hackingtoolkit9ds version 9 or more recent? personally, i use version 9 to repack, and version 11 to unpack.
 

MaxiBash

Your Local Random Internet Geek
Member
Joined
Jul 14, 2018
Messages
1,287
Trophies
1
Website
trashbandatcootofficial.cardd.co
XP
5,035
Country
Netherlands
When you type the name of your cia file in the program, make sure to type it without the extention.. so, dont type .cia in the end of your file name.
Are you using hackingtoolkit9ds version 9 or more recent? personally, i use version 9 to repack, and version 11 to unpack.

I use V12, I forgot to say I didn’t type in the extention, I even installed the program, still didn’t work.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/2n3nUOadWxM?si=7QMANPmqPdFcdlfm