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

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

HBKoko

New Member
Newbie
Joined
Jun 8, 2017
Messages
2
Trophies
0
Age
26
XP
67
Country
United States
As a newcomer who has been struggling to randomize my pokemon games, this tool and tutorial were amazingly easy to use and understand. Awesome work, I appreciate it!
 
  • Like
Reactions: Asia81

starburst

Well-Known Member
Member
Joined
Apr 15, 2017
Messages
158
Trophies
0
XP
286
Country
Spain
Disclaimer: I only read the instructions and the first couple of pages. I have never edited a ROM or a CIA file.

I would like to edit (reduce) the contents of a DLC packed as a CIA (Fire Emblem Fates DLC Europe), but on the very first page it is stated that the instructions do not apply to DLC. Would anyone mind pointing me to the right direction?
 

KunoichiZ

Well-Known Member
Member
Joined
Mar 16, 2012
Messages
8,830
Trophies
0
Age
28
XP
4,597
Country
United States
So just decrypt, replace, and then rebuild it?

Is there anywhere where I can download the SuperFamicom banner.bin?
Take the Super Famicom version of the game you want, extract its contents, and use the banner.bin from that...? We can't give an exact location of where you can find that as it's copyrighted content.
 
  • Like
Reactions: jommyjomjom

Swampy

Member
Newcomer
Joined
Aug 12, 2016
Messages
16
Trophies
0
Age
24
XP
102
Country
United States
When I try to extract a pokemon sun cia, the hackingtoolkit says that its done extracting, but nothing shows up. Any way to fix this?
 

Swampy

Member
Newcomer
Joined
Aug 12, 2016
Messages
16
Trophies
0
Age
24
XP
102
Country
United States
https://github.com/evandixon/DotNet3dsToolkit

Try this tool to unpack your CIA.

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

The 1.4.6 release if you don't know how to build the exe.
I get this error whenever I try to extract my cia (
Exception Details:
System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at DotNet3dsToolkit.Converter.VB$StateMachine_10_RunProgram.MoveNext() in D:\TeamCity\buildAgent\work\c024c1966f7da4c7\DotNet3dsToolkit\Converter.vb:line 37
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DotNet3dsToolkit.Converter.VB$StateMachine_61_ExtractCIAPartitions.MoveNext() in D:\TeamCity\buildAgent\work\c024c1966f7da4c7\DotNet3dsToolkit\Converter.vb:line 195
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DotNet3dsToolkit.Converter.VB$StateMachine_82_ExtractCIA.MoveNext() in D:\TeamCity\buildAgent\work\c024c1966f7da4c7\DotNet3dsToolkit\Converter.vb:line 522
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DotNet3dsToolkit.Converter.VB$StateMachine_81_ExtractCIA.MoveNext() in D:\TeamCity\buildAgent\work\c024c1966f7da4c7\DotNet3dsToolkit\Converter.vb:line 508
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DotNet3dsToolkit.Converter.VB$StateMachine_84_ExtractAuto.MoveNext() in D:\TeamCity\buildAgent\work\c024c1966f7da4c7\DotNet3dsToolkit\Converter.vb:line 570
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ToolkitForm.Form1.VB$StateMachine_23_btnExtract_Click.MoveNext() in D:\TeamCity\buildAgent\work\c024c1966f7da4c7\ToolkitForm\Form1.vb:line 138
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll

ToolkitForm, Version=1.4.6.18, Culture=neutral, PublicKeyToken=null
C:\Users\Bigben\Desktop\New folder\New folder\ToolkitForm.exe

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll

System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

DotNet3dsToolkit, Version=1.4.6.18, Culture=neutral, PublicKeyToken=null
C:\Users\Bigben\Desktop\New folder\New folder\DotNet3dsToolkit.dll

SkyEditor.Core, Version=4.0.7.1, Culture=neutral, PublicKeyToken=null
C:\Users\Bigben\Desktop\New folder\New folder\SkyEditor.Core.dll

System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program, but please report this error.)
 

Vidpic

Member
Newcomer
Joined
Jun 21, 2017
Messages
14
Trophies
0
Age
29
XP
59
Country
Germany
Do someone know how to play out of region games? I can open the game and save the data, but every time I restart the game the save data disappear.
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
Why do I get .BINs? It was stated that I'd get folders. Either I did something wrong while typing 2 letters or the tutorial is wrong. All the names are correct... they're just binary streams instead of folders. :P
 

gui710

Well-Known Member
Member
Joined
Feb 28, 2016
Messages
136
Trophies
0
Location
Home
XP
150
Country
Portugal
It looks like that I can't rebuild my Pokemon Sun .cia, it shows up nothing after rebuilding "success"
EDIT: pkm.cia is the original file that I extracted
nlZw5Bj.png
 
Last edited by gui710,

jonnytron

Well-Known Member
Newcomer
Joined
Dec 4, 2015
Messages
86
Trophies
0
Age
30
XP
151
Country
I have the same issue, it does however also massively slow down my computer to the point of freezing. Not sure if this is a similar experience to you and if it could be failing to write the file amidst such issues?
 

alejakaiser

Member
Newcomer
Joined
Jan 23, 2015
Messages
22
Trophies
0
Age
30
XP
284
Country
All the .cia I rebuild give me the same error
An exception occurred
Processor: ARM11 (core 1)
Exception type: prefetch abort (svcBreak)
Current process: loader (0000000000000000)

and a lot of hex characters. Im just using my pokémon X, Y, Sun and Moon from cartbridge decrypted with godmode9. I extracted it with the HackingToolkit, randomize with pk3ds and rebuilding it with HackingToolkit too. I'm doing something wrong?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Just 6 but dual band 6 lol