Crates.io | unity-unpacker |
lib.rs | unity-unpacker |
version | 0.1.1 |
source | src |
created_at | 2022-06-04 21:55:23.026129 |
updated_at | 2022-06-04 21:57:41.921372 |
description | A CLI utility for unpacking the assets from Unity's .unitypackage file |
homepage | https://gitlab.com/eikobear/unity-unpacker |
repository | https://gitlab.com/eikobear/unity-unpacker |
max_upload_size | |
id | 599922 |
size | 9,006 |
unity-unpacker is a tiny, simplistic CLI utility for unpacking the assets from Unity's .unitypackage format.
The easiest way to install unity-unpacker is through cargo:
cargo install unity-unpacker
To unpack a file, you need to specify the source file and destination directory (unity-unpacker will create the destination directory, if it does not already exist):
unity-unpacker source-package.unitypackage destination-dir
If files appear to be missing from the unpacked directory, you can troubleshoot by specifying verbose mode, to see a list of all unpacked files, as well as explanations for any skipped file:
unity-unpacker source destination -v
unity-unpacker works by unpacking the .unitypackage to a temporary directory, then moving individual asset files into a new directory based on specified pathname information.
You can troubleshoot by telling unity-unpacker not to delete the temporary directory after mapping:
unity-unpacker source destination --no-clean
You can also skip the mapping phase entirely to get a look at the raw untouched files:
unity-packer source destination --no-clean --no-map