Command-Line

PBO Tools Professional Edition offers Command-Line Interface (CLI) support, enhancing the flexibility and automation of tasks for advanced users.

Available Command-Line Options:

Here is a list of the available command-line options that you can use with PBO Tools:

  • -o | Enable Obfuscation: Activates the obfuscation process for the PBO file.

  • -c | Enable Compression: Compresses the PBO file to reduce file size.

  • -b | Convert config.cpp to config.bin: Transforms config.cpp files into binary format (config.bin) for enhanced performance.

  • -d | Enable Code Obfuscation: Applies additional obfuscation techniques to the code within the PBO.

  • -r | Remove Comments from Output File: Strips all comments from the code in the output file, ensuring a cleaner and more secure file.

Example Usage:

To use PBO Tools via the command line, you can structure your commands as follows:

PBO Tools.exe -o -c P:/ModName

This command will enable both obfuscation and compression for the mod located at P:/ModName.

Important Note:

  • Dependency of Options: When using the -d (Enable Code Obfuscation) or -r (Remove Comments) options, you must also include the -o (Enable Obfuscation) option. Failing to do so will result in an error. This requirement ensures that all necessary obfuscation processes are activated for these additional features to function correctly.

Utilizing the CLI support provided by PBO Tools Professional Edition allows for efficient batch processing and integration into build scripts, making it an invaluable tool for developers looking to optimize their workflow

For any questions or assistance, please contact our support team.

Last updated