Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DotNet 3DS Toolkit: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 12: Line 12:
}}
}}


=.Net 3DS Toolkit=
==.Net 3DS Toolkit==


.Net 3DS Toolkit is a code library intended to simplify extracting and rebuilding 3DS ROMs.
.Net 3DS Toolkit is a code library intended to simplify extracting and rebuilding 3DS ROMs.
Line 40: Line 40:
To extract:
To extract:


Code: ToolkitConsole.exe MyRom.3ds RawFiles
ToolkitConsole.exe MyRom.3ds RawFiles


To repack as a CIA:
To repack as a CIA:


Code: ToolkitConsole.exe RawFiles Repacked.cia
ToolkitConsole.exe RawFiles Repacked.cia


To repack as a 0-key encrypted CCI (for use with Gateway):
To repack as a 0-key encrypted CCI (for use with Gateway):


Code: ToolkitConsole.exe RawFiles Repacked.3ds -key0
ToolkitConsole.exe RawFiles Repacked.3ds -key0


OR
OR
Line 58: Line 58:
To repack as a decrypted CCI (for use with Citra or Decrypt9):
To repack as a decrypted CCI (for use with Citra or Decrypt9):


Code: ToolkitConsole.exe RawFiles Repacked.3ds
ToolkitConsole.exe RawFiles Repacked.3ds


To repack for HANS:
To repack for HANS:


Code: ToolkitConsole.exe RawFiles G:/ MyHack
ToolkitConsole.exe RawFiles G:/ MyHack


A GUI is available for anyone who doesn't want to bother with console commands. A .Net 4.6 code library is available for .Net developers making their own programs. See GitHub for library usage. Latest package will be on Sky Editor's MyGet feed and may be added to NuGet at some point.
A GUI is available for anyone who doesn't want to bother with console commands. A .Net 4.6 code library is available for .Net developers making their own programs. See GitHub for library usage. Latest package will be on Sky Editor's MyGet feed and may be added to NuGet at some point.


System requirements:
==System requirements:==
* .Net Framework 4.6
* .Net Framework 4.6
* Free space on the system drive. Cleanup happens as soon as possible, but especially for larger ROMs, you may need several GB free.
* Free space on the system drive. Cleanup happens as soon as possible, but especially for larger ROMs, you may need several GB free.


Supported formats for extraction:
==Supported formats for extraction:==
* Decrypted CCI (aka .3DS)
* Decrypted CCI (aka .3DS)
* Decrypted CXI (what Braindump gives you)
* Decrypted CXI (what Braindump gives you)
Line 76: Line 76:
* NDS ROM
* NDS ROM


Supported formats for building:
==Supported formats for building:==
* Decrypted CCI (aka .3DS)
* Decrypted CCI (aka .3DS)
* For use with Citra
* For use with Citra
Line 87: Line 87:
* NDS ROM
* NDS ROM


Planned Features:
==Planned Features:==
Copy private header to 0-key encrypted CCI files as they are built. Until this is done, any *.3dz files created are invalid until a private header is added.
Copy private header to 0-key encrypted CCI files as they are built. Until this is done, any *.3dz files created are invalid until a private header is added.


Credits:
==Credits:==
* SciresM for 3DS Builder (modified to use command-line arguments)
* SciresM for 3DS Builder (modified to use command-line arguments)
* profi200 for Project_CTR's makerom
* profi200 for Project_CTR's makerom
* dnasdw for 3dstool
* dnasdw for 3dstool
* Asia81 for HackingToolkit3DS, which provided the usage for 3dstool.
* Asia81 for HackingToolkit3DS, which provided the usage for 3dstool.

Revision as of 06:17, 21 September 2021

Template:Infobox-3DS-Homebrews

.Net 3DS Toolkit

.Net 3DS Toolkit is a code library intended to simplify extracting and rebuilding 3DS ROMs.

It is currently being rewritten in .Net Core 2.2 (and .Net Standard 2.1 once it's out). Please see the Old folder for the original source and details.

Current features:

  • Extract decrypted CCI files
  • Extract decrypted CIA files
  • Extract & Rebuild decrypted CXI files
  • Extract & Rebuild decrypted RomFS files
  • Extract & Rebuild decrypted ExeFS files
  • Allow reading data of individual files for all above formats without extraction

Planned features:

  • Console interface
  • GUI
  • Build ROMs

Credits

Ever notice how the majority of command-line applications require about a dozen commands for a single logical operation? This tool aims to fix that! ROMs can be extracted and repacked with a single command per operation, like so:

To extract:

ToolkitConsole.exe MyRom.3ds RawFiles

To repack as a CIA:

ToolkitConsole.exe RawFiles Repacked.cia

To repack as a 0-key encrypted CCI (for use with Gateway):

ToolkitConsole.exe RawFiles Repacked.3ds -key0

OR

ToolkitConsole.exe RawFiles Repacked.3dz

Note: 3dz files will be invalid until a private header is applied.

To repack as a decrypted CCI (for use with Citra or Decrypt9):

ToolkitConsole.exe RawFiles Repacked.3ds

To repack for HANS:

ToolkitConsole.exe RawFiles G:/ MyHack

A GUI is available for anyone who doesn't want to bother with console commands. A .Net 4.6 code library is available for .Net developers making their own programs. See GitHub for library usage. Latest package will be on Sky Editor's MyGet feed and may be added to NuGet at some point.

System requirements:

  • .Net Framework 4.6
  • Free space on the system drive. Cleanup happens as soon as possible, but especially for larger ROMs, you may need several GB free.

Supported formats for extraction:

  • Decrypted CCI (aka .3DS)
  • Decrypted CXI (what Braindump gives you)
  • Decrypted CIA
  • NDS ROM

Supported formats for building:

  • Decrypted CCI (aka .3DS)
  • For use with Citra
  • Can be used for Gateway and Sky 3DS (with CFW) if encrypted using Decrypt9
  • 0-Key Encrypted CCI
  • For use with Gateway
  • CIA
  • For use with CFW
  • HANS RomFS, Code.Bin, and Homebrew Launcher Shortcut
  • NDS ROM

Planned Features:

Copy private header to 0-key encrypted CCI files as they are built. Until this is done, any *.3dz files created are invalid until a private header is added.

Credits:

  • SciresM for 3DS Builder (modified to use command-line arguments)
  • profi200 for Project_CTR's makerom
  • dnasdw for 3dstool
  • Asia81 for HackingToolkit3DS, which provided the usage for 3dstool.

Advertising: