CLI tool for unpacking the unitypackage files.
Go to file
Piotr Siuszko 6483ebfc56 Update deps 2023-12-29 15:30:30 +01:00
.github/workflows Add windows target 2023-12-27 21:53:11 +01:00
.idea Init 2023-12-22 17:40:42 +01:00
src Refactor unpacker.rs- asset filtering 2023-12-29 15:28:49 +01:00
.gitignore Init 2023-12-22 17:40:42 +01:00
CHANGELOG.md Update changelog, README 2023-12-29 15:20:28 +01:00
Cargo.lock Update deps 2023-12-29 15:30:30 +01:00
Cargo.toml Remove pathdiff dependency and unused function 2023-12-29 15:25:23 +01:00
LICENCE.md Conf updates 2023-12-23 23:14:09 +01:00
README.md Update changelog, README 2023-12-29 15:20:28 +01:00

README.md

lwa_unity_unpack build

License: MIT crates.io crates.io

Simple CLI tool for unpacking the unitypackages.

Also allows auto convert of the FBX files to GLTF during unpacking. For that download the tool from here and pass the path to executable file as --fbx-to-gltf argument value.

Program for unpacking unitypackages files

Usage: lwa_unity_unpack.exe [OPTIONS] --input <INPUT> --output <OUTPUT>

Options:
  -i, --input <INPUT>              .unitypackage file to extract
  -o, --output <OUTPUT>            target directory
  -f, --fbx-to-gltf <FBX_TO_GLTF>  optional- path to the tool that will auto convert fbx files to gltf during unpacking
      --get-materials-from-prefabs
          checks if material base texture in prefabs differ from the one specified in fbx model that is converted to GLTF and overrides it with the one from prefab and copy texture to models folder
      --ignore-extensions <IGNORE_EXTENSIONS>
          optional- extensions that will be ignored during unpacking
      --copy-meta-files
          copy meta files alongside regular files
  -h, --help                       Print help
  -V, --version                    Print version

lwa_unity_unpack -i "C:\\PROJECTS\\lwa_unity_unpack\\POLYGON_Snow_Kit_Unity_2020_3_v1_4.unitypackage" -o "output" -f "C:\\tools\\FBX2glTF.exe" --ignore-extensions "mat" --ignore-extensions "prefab"

Install

It can be downloaded by going to Releases page.

It can be also installed using Rust Cargo:

cargo install lwa_unity_unpack