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
(Created page with "{{Infobox 3DS homebrew | title = DotNet 3ds Toolkit | image = https://dlhb.gamebrew.org/3dshomebrew/DotNet3dsToolkit.png|250px | type = PC Utilities | version = v1.5.0 | licen...")
 
No edit summary
Line 10: Line 10:
| source = https://dlhb.gamebrew.org/3dshomebrew/DotNet.3DS.Toolkit.v1.4.6.rar
| source = https://dlhb.gamebrew.org/3dshomebrew/DotNet.3DS.Toolkit.v1.4.6.rar
}}
}}
<youtube>-</youtube>


# .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.


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.
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:
===Current features:===
* Extract decrypted CCI files
* Extract decrypted CCI files
* Extract decrypted CIA files
* Extract decrypted CIA files
Line 25: Line 25:
* Allow reading data of individual files for all above formats without extraction
* Allow reading data of individual files for all above formats without extraction


Planned features:
===Planned features:===
* Console interface
* Console interface
* GUI
* GUI
* Build ROMs
* Build ROMs


## Credits
== Credits ==


* 3dbrew.org for documentation
* 3dbrew.org for documentation
Line 38: Line 38:


To extract:
To extract:
Code:
 
ToolkitConsole.exe MyRom.3ds RawFiles
Code: ToolkitConsole.exe MyRom.3ds RawFiles
 
To repack as a CIA:
To repack as a CIA:
Code:
 
ToolkitConsole.exe RawFiles Repacked.cia
Code: 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
Code: ToolkitConsole.exe RawFiles Repacked.3ds -key0
 
OR
OR
ToolkitConsole.exe RawFiles Repacked.3dz
ToolkitConsole.exe RawFiles Repacked.3dz
Note: 3dz files will be invalid until a private header is applied.
Note: 3dz files will be invalid until a private header is applied.


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
Code: ToolkitConsole.exe RawFiles Repacked.3ds
 
To repack for HANS:
To repack for HANS:
Code:
 
ToolkitConsole.exe RawFiles G:/ MyHack
Code: 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)
Decrypted CIA
* Decrypted CIA
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
Can be used for Gateway and Sky 3DS (with CFW) if encrypted using Decrypt9
* Can be used for Gateway and Sky 3DS (with CFW) if encrypted using Decrypt9
0-Key Encrypted CCI
* 0-Key Encrypted CCI
For use with Gateway
* For use with Gateway
CIA
* CIA
For use with CFW
* For use with CFW
HANS RomFS, Code.Bin, and Homebrew Launcher Shortcut
* HANS RomFS, Code.Bin, and Homebrew Launcher Shortcut
NDS ROM
* NDS ROM


Planned Features:
Planned Features:
Line 83: Line 90:


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 13:08, 15 April 2020

Template:Infobox 3DS homebrew

.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:

Code: ToolkitConsole.exe MyRom.3ds RawFiles

To repack as a CIA:

Code: ToolkitConsole.exe RawFiles Repacked.cia

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

Code: 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):

Code: ToolkitConsole.exe RawFiles Repacked.3ds

To repack for HANS:

Code: 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: