Nintendo darc tool 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 3: Line 3:
| image = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.jpg|250px
| image = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.jpg|250px
| type = PC Utilities
| type = PC Utilities
| version=unknown
| version=2015
| lastupdated = 2015/04/04
| lastupdated = 2015/04/04
| licence = Mixed
| licence = Mixed
Line 9: Line 9:
| website = https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945/
| website = https://gbatemp.net/threads/release-a-darc-tool-for-nintendo3ds.385945/
| download = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.rar
| download = https://dlhb.gamebrew.org/3dshomebrew/Nintendodarctool.rar
| source =  
| source = https://github.com/LITTOMA/DARCTool
}}
}}
<youtube>uXu-dHnTiJA</youtube>
<youtube>uXu-dHnTiJA</youtube>


<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 is a tool for modifying data-archive(darc) files using in Nintendo3DS games.
�'''<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>


==Usage:==


* <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>
darc.py [options] [object]
* <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>
* <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>
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-o ...... Set out put name</span></span></span>
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-d ...... Set work directory</span></span></span>


<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>
==PLATFORM:==
�<span style="font-family: 'courier new'"><span style="font-size: 12px">GitHub: https://github.com/LITTOMA/DARCTool</span></span>
�<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>
'''<span style="font-size: 12px"><span style="font-family: 'courier new'">Thanks Smariter for help!</span></span>'''
�'''<span style="font-size: 18px"><span style="font-family: 'courier new'">UPDATE:</span></span>'''
�<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>


Python 2.7:https://www.python.org/downloads/release/python-279/
compression only on WindowsXP+ .


* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-evb .... VRAM compatible, big-endian (LZ11)</span></span></span>
==options:==
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-ewb .... WRAM compatbile, big-endian (LZ11)</span></span></span>
* <span style="font-size: 16px"><span style="font-family: 'courier new'"><span style="color: #333333">-evl .... VRAM compatible, little-endian (LZ40)</span></span></span>
* <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>'''
* -u ...... Unpack specified darc
�'''<span style="font-size: 18px"><span style="font-family: 'courier new'"><span style="color: #333333">UPDATE 2:</span></span></span>'''
* -p ...... Pack up specified folder
�<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>
* -i ...... Inject file(s) to specified darc
�<span style="font-size: 12px"><span style="font-family: 'courier new'">inject usage:</span></span>
* -o ...... Set out put name
<span style="font-size: 12px"><span style="font-family: 'courier new'">darc.py -i [darc file] [file to inject]</span></span>
* -d ...... Set work directory


<div class="messageTextEndMarker">
You can use '-d' option to contain multiple objects in a directory.


This tool hasn't been tested completely, so it may not work in some cases, please tell me while errors occur.


</div>
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 07:36, 19 September 2021

Template:Infobox-3DS-Homebrews

This is a tool for modifying data-archive(darc) files using in Nintendo3DS games.

Usage:

darc.py [options] [object]

PLATFORM:

Python 2.7:https://www.python.org/downloads/release/python-279/ compression only on WindowsXP+ .

options:

  • -u ...... Unpack specified darc
  • -p ...... Pack up specified folder
  • -i ...... Inject file(s) to specified darc
  • -o ...... Set out put name
  • -d ...... Set work directory

You can use '-d' option to contain multiple objects in a directory.

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]

Advertising: