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
(Created page with "{{Infobox 3DS homebrew | title = Nintendo darc tool | image = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.jpg|250px | type = PC Utilities | version = | licence = Mi...")
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox 3DS homebrew
{{Infobox 3DS Homebrews
| title = Nintendo darc tool
|title=Nintendo darc tool
| image = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.jpg|250px
|image=Darctoollit3.png
| type = PC Utilities
|description=Modify data-archive (darc) files using in 3DS games.
| version =
|author=LITTOMA
| licence = Mixed
|lastupdated=2021/01/04
| author = LITTOMA
|type=File Operation
| website = https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945/
|version=2015
| download = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.rar
|license=Mixed
| source = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/darctool_littoma.zip
|website=https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945
|source=https://github.com/LITTOMA/DARCTool
}}
}}
<youtube>uXu-dHnTiJA</youtube>
The darc file format was found in the early version of Nintendo Ware for CTR (nw4c).


<span style="font-size: 12px"><span style="font-family: 'courier new'">This is a tool for modifying data-archive(darc) files using in Nintendo3DS games.</span></span>
This tool can help you extract existing darc files and create new darc files (written in [https://img.shields.io/badge/Python-2.7-blue Python 2.7]).
�'''<span style="font-size: 18px"><span style="font-family: 'courier new'">Usage:</span></span>'''
<span style="font-size: 12px"><span style="font-family: 'courier new'">darc.py [options] [object]</span></span>
�'''<span style="font-size: 18px"><span style="font-family: 'courier new'">PLATFORM:</span></span>'''
<span style="font-size: 12px"><span style="font-family: 'courier new'">Python 2.7:https://www.python.org/downloads/release/python-279/</span></span>
<span style="font-size: 12px"><span style="font-family: 'courier new'">compression only on WindowsXP+</span> .</span>
�<span style="font-size: 12px"><span style="font-family: 'courier new'">options:</span></span>


==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>


* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-u ...... Unpack </span></span></span><span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">specified darc</span></span></span>
===Samples===
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-p ...... Pack up </span></span></span><span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">specified folder</span></span></span>
* <code> python darc.py -xf input.arc -d output </code> - Extract "input.arc" to "output" folder.
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-i ...... Inject file(s) to specified darc</span></span></span>
* <code> python darc.py -cf output.arc -d input dirs files ...</code> - Change directory to "input/" and add entries recursively to "output.arc".
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-o ...... Set out put name</span></span></span>
* <code>python darc.py -c -a 0x20 -f output.arc -d input dirs files ...</code> - Create darc with all file data align to 32.
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-d ...... Set work directory</span></span></span>
* <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.


<span style="font-size: 12px"><span style="font-family: 'courier new'">You can use '-d' option to contain multiple objects in a </span></span><span style="font-size: 10px"><span style="font-family: 'courier new'">directory.</span></span>
===Notes===
�<span style="font-family: 'courier new'"><span style="font-size: 12px">GitHub: https://github.com/LITTOMA/DARCTool</span></span>
* By default, this tool creates archives without the "." entry, which is commonly found in many games.  
�<span style="font-size: 12px"><span style="font-family: 'courier new'">This tool hasn't been tested completely, so it may not work in some cases, please tell me while errors occur.</span></span>
* If you need that entry, you just need to add a "." as the input entry.
'''<span style="font-size: 12px"><span style="font-family: 'courier new'">Thanks Smariter for help!</span></span>'''
* For example: <code> python darc.py -c -f output.arc -d input . </code>
�'''<span style="font-size: 18px"><span style="font-family: 'courier new'">UPDATE:</span></span>'''
* Note that there's a dot at the end of the command.
�<span style="font-size: 12px"><span style="font-family: 'courier new'">By using CUE's lzx tool, this darc tool support compress/decompress darc files now.</span></span>
<span style="font-size: 12px"><span style="font-family: 'courier new'">You can use these following commands to compress darc files(decompress is automatically):</span></span>


==Credits==
Thanks Smariter for help.


* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-evb .... VRAM compatible, big-endian (LZ11)</span></span></span>
==External links==
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-ewb .... WRAM compatbile, big-endian (LZ11)</span></span></span>
* GitHub - https://github.com/LITTOMA/DARCTool
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-evl .... VRAM compatible, little-endian (LZ40)</span></span></span>
* GBAtemp - https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-ewl .... WRAM compatbile, little-endian (LZ40)</span></span></span>
 
'''<span style="font-family: 'courier new'"><span style="color: #333333"><span style="font-size: 16px">You should place the lzx.exe in 'C:\Windows\' to make drag&amp;drop unpacking available.</span></span></span>'''
�'''<span style="font-size: 18px"><span style="font-family: 'courier new'"><span style="color: #333333">UPDATE 2:</span></span></span>'''
�<span style="font-size: 12px"><span style="font-family: 'courier new'">Add inject feature,<span style="font-family: 'Consolas'"><span style="color: #596063">Modified files can work in game now.</span></span></span></span>
�<span style="font-size: 12px"><span style="font-family: 'courier new'">inject usage:</span></span>
<span style="font-size: 12px"><span style="font-family: 'courier new'">darc.py -i [darc file] [file to inject]</span></span>
 
<div class="messageTextEndMarker">
 
 
</div>

Latest revision as of 11:09, 22 Haziran 2024

Nintendo darc tool
Darctoollit3.png
General
AuthorLITTOMA
TypeFile Operation
Version2015
LicenseMixed
Last Updated2021/01/04
Links
Download
Website
Source

The darc file format was found in the early version of Nintendo Ware for CTR (nw4c).

This tool can help you extract existing darc files and create new darc files (written in Python 2.7).

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.

Credits

Thanks Smariter for help.

External links

Advertising: