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

Nintendo darc tool 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 2: Line 2:
|title=Nintendo darc tool
|title=Nintendo darc tool
|image=Nintendodarctool.jpg
|image=Nintendodarctool.jpg
|description=This is a tool for modifying data-archive(darc) files using in Nintendo3DS games.
|description=Modify data-archive (darc) files using in 3DS games.
|author=LITTOMA
|author=LITTOMA
|lastupdated=2015/04/04
|lastupdated=2021/01/04
|type=PC Utilities
|type=PC Utilities
|version=2015
|version=2015
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.rar
|download=https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.rar
|website=https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945/
|website=https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945
|source=https://github.com/LITTOMA/DARCTool
|source=https://github.com/LITTOMA/DARCTool
}}
}}
<youtube>uXu-dHnTiJA</youtube>
This is a tool for modifying data-archive (darc) files using in Nintendo 3DS games. The darc file format was found in the early version of Nintendo Ware for CTR (nw4c).


This is a tool for modifying data-archive(darc) files using in Nintendo3DS games.
==User guide==
===Command===
* <code> darc.py [-h] (-c | -x | -l) [-a ALIGN] [-t [TYPEALIGN ...]] [-d DIR] [-f FILE] [-n [EXCLUDE ...]] [-e {big,little}] </code>
* <code> -c/--create -x/--extract -l/--list </code>


==Usage:==
===Samples===
* <code> python darc.py -xf input.arc -d output </code> - Extract "input.arc" to "output" folder.
* <code> python darc.py -cf output.arc -d input dirs files ...</code> - Change directory to "input/" and add entries recursively to "output.arc".
* <code>python darc.py -c -a 0x20 -f output.arc -d input dirs files ...</code> - Create darc with all file data align to 32.
* <code> python darc.py -c -a 0x20 -t *.bcfnt:0x80 -f output.arc -d input dirs files ...</code> - Create darc with *.bcfnt files data align to 128, other files align to 32.


darc.py [options] [object]
===Notes===
* By default, this tool creates archives without the "." entry, which is commonly found in many games.
* If you need that entry, you just need to add a "." as the input entry.
* For example: <code> python darc.py -c -f output.arc -d input . </code>
* Note that there's a dot at the end of the command.


==PLATFORM:==
==Changelog==
'''Update 2'''
* Add inject feature, Modified files can work in game now.


Python 2.7:https://www.python.org/downloads/release/python-279/
'''Update'''
compression only on WindowsXP+ .
* By using CUE's lzx tool, this darc tool also support compress/decompress darc files (decompress is automatic).


==options:==
==Credits==
Thanks Smariter for help.


* -u ...... Unpack specified darc
==External links==
* -p ...... Pack up specified folder
* GitHub - https://github.com/LITTOMA/DARCTool
* -i ...... Inject file(s) to specified darc
* GBAtemp - https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945
* -o ...... Set out put name
* -d ...... Set work directory


You can use '-d' option to contain multiple objects in a directory.
[[Category:3DS homebrew applications]]
 
[[Category:PC utilities for 3DS homebrew]]
This tool hasn't been tested completely, so it may not work in some cases, please tell me while errors occur.
 
Thanks Smariter for help!
 
==UPDATE:==
 
By using CUE's lzx tool, this darc tool support compress/decompress darc files now.
You can use these following commands to compress darc files(decompress is automatically):
 
* -evb .... VRAM compatible, big-endian (LZ11)
* -ewb .... WRAM compatbile, big-endian (LZ11)
* -evl .... VRAM compatible, little-endian (LZ40)
* -ewl .... WRAM compatbile, little-endian (LZ40)
 
You should place the lzx.exe in 'C:\Windows\' to make drag&drop unpacking available.
 
==UPDATE 2:==
 
Add inject feature, Modified files can work in game now.
 
inject usage: darc.py -i [darc file] [file to inject]

Revision as of 13:30, 18 February 2022

Nintendo darc tool
File:Nintendodarctool.jpg
General
AuthorLITTOMA
TypePC Utilities
Version2015
LicenseMixed
Last Updated2021/01/04
Links
Download
Website
Source

This is a tool for modifying data-archive (darc) files using in Nintendo 3DS games. The darc file format was found in the early version of Nintendo Ware for CTR (nw4c).

User guide

Command

  • darc.py [-h] (-c | -x | -l) [-a ALIGN] [-t [TYPEALIGN ...]] [-d DIR] [-f FILE] [-n [EXCLUDE ...]] [-e {big,little}]
  • -c/--create -x/--extract -l/--list

Samples

  • python darc.py -xf input.arc -d output - Extract "input.arc" to "output" folder.
  • python darc.py -cf output.arc -d input dirs files ... - Change directory to "input/" and add entries recursively to "output.arc".
  • python darc.py -c -a 0x20 -f output.arc -d input dirs files ... - Create darc with all file data align to 32.
  • python darc.py -c -a 0x20 -t *.bcfnt:0x80 -f output.arc -d input dirs files ... - Create darc with *.bcfnt files data align to 128, other files align to 32.

Notes

  • By default, this tool creates archives without the "." entry, which is commonly found in many games.
  • If you need that entry, you just need to add a "." as the input entry.
  • For example: python darc.py -c -f output.arc -d input .
  • Note that there's a dot at the end of the command.

Changelog

Update 2

  • Add inject feature, Modified files can work in game now.

Update

  • By using CUE's lzx tool, this darc tool also support compress/decompress darc files (decompress is automatic).

Credits

Thanks Smariter for help.

External links

Advertising: