uabxautomate is a robust automation tool designed to streamline and optimize tasks with minimal configuration. With a focus on simplicity and efficiency, this tool empowers users to automate repetitive processes, enhancing productivity and reducing manual workload.
- Ease of Use: Simple configuration using TOML files.
- Flexibility: Supports a wide range of automation scenarios.
- Performance: Built with Rust for high performance and reliability.
Clone the repository:
git clone https://github.com/SegaraRai/uabxautomate.git
cd uabxautomate
Build the project:
cargo build --release
If you are fortunate, you might be able to obtain pre-built binaries for Windows from Actions.
uabxautomate supports two modes of execution: extract
and inspect
.
The extract
command is used for extracting data based on the provided configuration file.
Usage:
./target/release/uabxautomate extract -c <CONFIG_FILE> [OPTIONS]
Options:
-c, --config <CONFIG_FILE>
: Specify the path to the configuration file.-i, --incremental
: Perform incremental extraction.-d, --dry
: Dry run without making any changes.-r, --chdir
: Change the working directory.
Example:
./target/release/uabxautomate extract -i -c example.toml
The configuration file is written in TOML format and specifies the parameters for the extraction process. Below is an example configuration file:
# example.toml
src = "../assetbundles/**/*.bytes"
dest = "../extracted"
[[targets]]
type = "texture2d"
template = "{container}#{name}"
match = "^.+/spines/([^/]+)/[^#]+#(.+)$"
dest = "$1/$2.png"
[[targets]]
type = "text"
template = "{container}#{name}"
match = "^.+/spines/([^/]+)/[^#]+#(.+)$"
dest = "$1/$2"
The inspect
command is used for inspecting files.
Usage:
./target/release/uabxautomate inspect [OPTIONS] <FILES>...
Options:
-s, --only-supported
: Inspect only supported file types.-h, --help
: Print help information.
Example:
./target/release/uabxautomate inspect -s path/to/file1.bytes path/to/file2.bytes
We welcome contributions! Please fork the repository and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.