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

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Asia81, Mar 4, 2015.

?

How is my english?

  1. So bad...

    36 vote(s)
    7.1%
  2. Good, sometimes it's not understandable

    77 vote(s)
    15.1%
  3. Very understandable

    312 vote(s)
    61.3%
  4. Perfect?

    84 vote(s)
    16.5%
  1. Geration

    Geration Member

    Newcomer
    18
    0
    Apr 3, 2017
    Italy
    can i get access to games code with this? I mean once I have the rom extracted
     


  2. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,958
    2,452
    Nov 15, 2014
    France
    Albi
    Not the source code, only compiled binaries files
     
  3. Geration

    Geration Member

    Newcomer
    18
    0
    Apr 3, 2017
    Italy
    do you know if there is a way to get the source code? or if it's possibile to get it somehow? i know some people got their hands on the source code of a game.
     
  4. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,958
    2,452
    Nov 15, 2014
    France
    Albi
  5. pixelmasher

    pixelmasher Gaming Gamer

    Member
    1,626
    666
    Dec 12, 2016
    United States
    Near N3DS
    Go work for the game company, hack their server, bribe their employee, etc. You get the idea.
     
  6. HBKoko

    HBKoko Newbie

    Newcomer
    2
    1
    Jun 8, 2017
    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!
     
    Asia81 likes this.
  7. Adam_Elhalawany

    Adam_Elhalawany Member

    Newcomer
    27
    3
    Mar 12, 2017
    United States
    When i try to rebuild my cia file it says its done but no cia appears.
     
  8. starburst

    starburst Member

    Newcomer
    23
    2
    Apr 15, 2017
    United States
    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?
     
  9. jommyjomjom

    jommyjomjom Member

    Newcomer
    11
    2
    Jan 23, 2017
    United States
    Is there a way to take a Super Nintendo VC CIA, extract out the 3D banner and replace it with the Super Famicom one?
     
  10. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,958
    2,452
    Nov 15, 2014
    France
    Albi
    replace the banner.bin with your
     
    jommyjomjom likes this.
  11. Vidpic

    Vidpic Member

    Newcomer
    14
    0
    Jun 21, 2017
    Germany
    I have extract the RomFs but i can't open the fa-files. What should I do to open these files?
     
  12. pixelmasher

    pixelmasher Gaming Gamer

    Member
    1,626
    666
    Dec 12, 2016
    United States
    Near N3DS
    Asia81 likes this.
  13. jommyjomjom

    jommyjomjom Member

    Newcomer
    11
    2
    Jan 23, 2017
    United States
    So just decrypt, replace, and then rebuild it?

    Is there anywhere where I can download the SuperFamicom banner.bin?
     
  14. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,871
    3,133
    Mar 16, 2012
    United States
    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.
     
    jommyjomjom likes this.
  15. jommyjomjom

    jommyjomjom Member

    Newcomer
    11
    2
    Jan 23, 2017
    United States
    Ah ok, understood! Sorry for asking for that.
     
  16. Swampy

    Swampy Member

    Newcomer
    16
    4
    Aug 12, 2016
    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?
     
  17. Vidpic

    Vidpic Member

    Newcomer
    14
    0
    Jun 21, 2017
    Germany
    https://github.com/evandixon/DotNet3dsToolkit

    Try this tool to unpack your CIA.

    — Posts automatically merged - Please don't double post! —

    The 1.4.6 release if you don't know how to build the exe.
     
  18. Swampy

    Swampy Member

    Newcomer
    16
    4
    Aug 12, 2016
    United States
    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.)
     
  19. Vidpic

    Vidpic Member

    Newcomer
    14
    0
    Jun 21, 2017
    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.
     
  20. ParzivalWolfram

    ParzivalWolfram Newbie

    Newcomer
    7
    3
    Jun 28, 2017
    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