Skip to content

Command Line Commands

Venomalia edited this page Nov 29, 2023 · 7 revisions

Mods

Mode Description Syntax
Help h Displays a list with all commands and their options help
Extract e Extracts textures with Dolphins texture hash extract Input Output* Options*
Unpack u Unpacks all files from archives unpack Input Output* Options*
Compress c Compresses files with a specific algorithm compress Input Output* Algorithm
Split s Splits files in parts by file identifier (Magic number) Split Input Output* Pattern*
Formats f Displays a list of known formats formats
Finalize z Separates RGBA textures & optimizes textures for dolphin finalize Input Output* Options*
CombineRGBA rgba Search for RGBA texture pairs and combine them combinergba Input Output* Options*
CombineBGRA bgra Search for BGRA texture pairs and combine them combinebgra Input Output* Options*

Parameter

Input: Full path to the input directory.
Output: Full path to the output directory, if not specified, a new folder will be created.
Pattern: A identifier or a list of identifier, if not specified a list of typical file identifiers is used.
Algorithm: Name of the algorithm to be used, supported are: FCMP, AKLZ, AsuraZlb, CNS, CNX, COMP, CRILAYLA, CXLZ, GCLZ, GZip, LZ00, LZ01, LZ10, LZ11, LZ4, LZ77, LZO, LZSS_Sega, PRS, PRS_BE, YAY0, YAZ0, YAZ1, ZLib, Zstd

Options:

These can be used in any order if the mode supports options.

Standard Options

These can always be used.

Parameter Description
-dryrun -d Test run, only creates a log file.
-progress:none -p:n Outputs only important events in the console.
-progress:bar -p:b Shows the progress as a progress bar in the console.
-progress:list -p:l Outputs any event in the console.
-tasks i -t i Sets the maximum number of concurrent tasks. i a integer that represents the maximum degree of parallelism. (default 4)
-log path -l path Defines the directory in which the log file will be saved. use -log none to create no log.

Advanced Options

These can only be used in certain context.

Parameter Description
-force -f Tries to extract unknown files, may cause errors!
-recursiv i -r i How far to extract Recursive, 0 for infinity (default 0)
-mip -m Extracts mipmaps
-Dolphinmipdetection -dmd Tries to imitate dolphin mipmap detection.
-ArbitraryMipmapDetection -amd Use Arbitrary Mipmap Detection
-Raw -r Extracts raw image files.
-CombinedRGBA -rgba Combine IA8 palette texture pairs into one RGBA texture
-Cleanup:none -c:n Keeping the original folder structure
-Cleanup:simple -c:s Move all files to a single folder
-Cleanup:default -c:d Shortens the path by deleting unnecessary folders
-Cleanup:compact -c:c Shortens the path significantly by deleting unnecessary folders
-Cleanup:group i -c:g i Shortens the path until a specified folder size is reached.
Clone this wiki locally