Nintendo darc tool 3DS

From GameBrew
Revision as of 07:36, 19 September 2021 by HydeWing (talk | contribs)

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: