More actions
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox 3DS Homebrews | {{Infobox 3DS Homebrews | ||
|title=Nintendo darc tool | |title=Nintendo darc tool | ||
|image= | |image=Darctoollit3.png | ||
|description= | |description=Modify data-archive (darc) files using in 3DS games. | ||
|author=LITTOMA | |author=LITTOMA | ||
|lastupdated= | |lastupdated=2021/01/04 | ||
|type= | |type=File Operation | ||
|version=2015 | |version=2015 | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/ | |download=https://dlhb.gamebrew.org/3dshomebrews/darctool_littoma.zip | ||
|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 | ||
}} | }} | ||
The darc file format was found in the early version of Nintendo Ware for CTR (nw4c). | |||
This | 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]). | ||
== | ==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> | |||
darc.py | ===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. | |||
== | ===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. | |||
==Credits== | |||
Thanks Smariter for help. | |||
== | ==External links== | ||
* GitHub - https://github.com/LITTOMA/DARCTool | |||
* - | * GBAtemp - https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945 | ||
* - | |||
Latest revision as of 11:09, 22 Haziran 2024
Nintendo darc tool | |
---|---|
General | |
Author | LITTOMA |
Type | File Operation |
Version | 2015 |
License | Mixed |
Last Updated | 2021/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.