#unity #gamedev #cli-tool #cli

app lwa_unity_unpack

Simple CLI tool for unpacking the unitypackages

6 releases (3 breaking)

0.4.1 Jan 2, 2024
0.4.0 Dec 29, 2023
0.3.0 Dec 27, 2023
0.2.1 Dec 27, 2023
0.1.0 Dec 23, 2023

#579 in Command line utilities

Download history 1/week @ 2024-02-27 6/week @ 2024-03-26 30/week @ 2024-04-02

52 downloads per month

MIT license

502 lines

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>

  -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
          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 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"


It can be downloaded by going to Releases page.

It can be also installed using Rust Cargo:

cargo install lwa_unity_unpack


~291K SLoC