-
-
Notifications
You must be signed in to change notification settings - Fork 26
CLI
ShadelessFox edited this page Jan 28, 2024
·
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 --help./decima --helpThis will show the list of available commands.
| Name (click for usage) | Description |
|---|---|
paths |
Dumps all valid file paths |
entry-points |
Dumps all script entry point names and checksums |
file-references |
Dumps all file references |
dump-localization |
Dumps all localization resources |
repack |
Adds or overwrites files in archives |
get-oodle |
Downloads Oodle compression library |
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- Follow the provided instructions to access the Unreal Engine repository: https://github.com/EpicGames/Signup
- Download the following file: https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Build/Commit.gitdeps.xml
decima.bat get-oodle get-oodle [options] <path to Commit.gitdeps.xml>| Names | Description | Default |
|---|---|---|
-o or --output
|
Output directory | Current working directory |
-d or --default
|
Use default choice or prompt if multiple files were found | true |
-p or --platform
|
The target platform. Valid values: WINDOWS_64, LINUX_64, DARWIN_64
|
WINDOWS_64 |