Update changelog, README

This commit is contained in:
Piotr Siuszko 2023-12-29 15:20:28 +01:00
parent c3b959f632
commit 1d7e43fa5c
3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## [0.4.0]
### Added
- New flag `--get_materials_from_prefabs` for updating model textures based on prefabs and materials.
## [0.3.0] ## [0.3.0]
### Added ### Added

2
Cargo.lock generated
View File

@ -345,7 +345,7 @@ checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456"
[[package]] [[package]]
name = "lwa_unity_unpack" name = "lwa_unity_unpack"
version = "0.3.0" version = "0.4.0"
dependencies = [ dependencies = [
"clap", "clap",
"flate2", "flate2",

View File

@ -16,6 +16,8 @@ Options:
-i, --input <INPUT> .unitypackage file to extract -i, --input <INPUT> .unitypackage file to extract
-o, --output <OUTPUT> target directory -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 -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> --ignore-extensions <IGNORE_EXTENSIONS>
optional- extensions that will be ignored during unpacking optional- extensions that will be ignored during unpacking
--copy-meta-files --copy-meta-files