-
-
Notifications
You must be signed in to change notification settings - Fork 26
CLI
ShadelessFox edited this page Aug 5, 2023
·
13 revisions
Decima Workshop comes with built-in command-line interface.
To use it, you need to open the terminal application in the root directory and type the following command to get started:
decima.bat --helpdecima --helpThis will show the list of available commands.
| Name | Description |
|---|---|
paths |
Dump all valid file paths from archives of the selected project |
projects list |
List all available projects |
repack |
Add or overwrite files in the selected archive |
decima.bat repack [options] <path to archive to repack> <path to files to add>| Names | Description |
|---|---|
-c or --compressor
|
Path to the compressor library |
-b or --backup
|
Create a backup of the destination archive |
-e or --encrypt
|
Encrypt the archive (supported by DS only) |
-t or --truncate
|
Truncate the archive |
-l or --level
|
Compression level |
Use the following command to get a complete overview of each option:
decima.bat repackYou can utilize CLI's capabilities to easily repack archives without GUI interactions.
First of all, you need to prepare a folder containing hierarchical structure of files that needs to be added to the archive. For example:
\--ds
\--artparts
\--characters
\--sam_sam
part_sam_body_naked.core
part_sam_body_private.core
Then you need a compression library. Don't worry, it's the same thing used during project creation.
When everything is ready, you can execute the following command in the terminal:
decima.bat repack -be --compressor="path/to/oo2core_xxx.dll" path/to/archive.bin path/to/files_to_repack