https://github.com/leinnan/lwa_unity_unpack
CLI tool for unpacking the unitypackage files.
https://github.com/leinnan/lwa_unity_unpack
cli gamedev unity
Last synced: 9 months ago
JSON representation
CLI tool for unpacking the unitypackage files.
- Host: GitHub
- URL: https://github.com/leinnan/lwa_unity_unpack
- Owner: Leinnan
- License: mit
- Created: 2023-12-23T18:00:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T15:36:23.000Z (over 1 year ago)
- Last Synced: 2025-10-08T10:54:42.229Z (9 months ago)
- Topics: cli, gamedev, unity
- Language: Rust
- Homepage:
- Size: 92.8 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# lwa_unity_unpack [](https://github.com/Leinnan/lwa_unity_unpack/actions/workflows/rust.yml)
[](https://opensource.org/licenses/MIT)
[](https://crates.io/crates/lwa_unity_unpack)
[](https://crates.io/crates/lwa_unity_unpack)
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](https://github.com/godotengine/FBX2glTF) and pass the path to executable file as `--fbx-to-gltf` argument value.
```bash
Program for unpacking unitypackages files
Usage: lwa_unity_unpack.exe [OPTIONS] --input --output
Options:
-i, --input .unitypackage file to extract
-o, --output target directory
-f, --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
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:
```sh
cargo install lwa_unity_unpack
```