From be4ced77ea521ebe6c94a4136ba20113bf699a60 Mon Sep 17 00:00:00 2001 From: VaDiM Date: Tue, 12 Sep 2023 03:36:03 +0300 Subject: [PATCH] Update readmes --- AssetStudioCLI/ReadMe.md | 34 +++++++++++++++++++++------------- README.md | 16 ++++++++++++++-- 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/AssetStudioCLI/ReadMe.md b/AssetStudioCLI/ReadMe.md index be58165..24489a6 100644 --- a/AssetStudioCLI/ReadMe.md +++ b/AssetStudioCLI/ReadMe.md @@ -1,6 +1,6 @@ ## AssetStudioModCLI CLI version of AssetStudioMod. -- Supported asset types: `Texture2D`, `Sprite`, `TextAsset`, `MonoBehaviour`, `Font`, `Shader`, `MovieTexture`, `AudioClip`, `VideoClip`, `Mesh`. +- Supported asset types for export: `Texture2D`, `Sprite`, `TextAsset`, `MonoBehaviour`, `Font`, `Shader`, `MovieTexture`, `AudioClip`, `VideoClip`, `Mesh`. - *There are no plans to add support for `AnimationClip`, `Animator` for now.* ### Usage @@ -11,11 +11,11 @@ AssetStudioModCLI [-m, --mode ] [--log-level ] [--log-output ] [--image-format ] [--audio-format ] [--fbx-scale-factor ] [--fbx-bone-size ] - [--export-asset-list ] [--filter-by-name ] - [--filter-by-container ] [--filter-by-pathid ] - [--filter-by-text ] [--assembly-folder ] + [--filter-by-name ] [--filter-by-container ] + [--filter-by-pathid ] [--filter-by-text ] + [--export-asset-list ] [--assembly-folder ] [--unity-version ] [--not-restore-extension] - + [--load-all] General Options: -m, --mode Specify working mode @@ -25,7 +25,7 @@ General Options: Dump - Makes asset dumps Info - Loads file(s), shows the number of available for export assets and exits Live2D - Exports Live2D Cubism 3 models - SplitObjects - Export split objects (fbx) + SplitObjects - Exports split objects (fbx) Example: "-m info" -t, --asset-type Specify asset type(s) to export @@ -78,12 +78,7 @@ FBX Options: Specify the format in which you want to export asset list - - None - Do not export asset list - Example: "--export-asset-list xml" - +Filter Options: --filter-by-name Specify the name by which assets should be filtered *To specify multiple names write them separated by ',' or ';' without spaces Example: "--filter-by-name char" or "--filter-by-name char,bg" @@ -101,8 +96,21 @@ Advanced Options: *To specify multiple values write them separated by ',' or ';' without spaces Example: "--filter-by-text portrait" or "--filter-by-text portrait,art" + +Advanced Options: + --export-asset-list Specify the format in which you want to export asset list + + None - Do not export asset list + Example: "--export-asset-list xml" + --assembly-folder Specify the path to the assembly folder - --unity-version Specify Unity version. Example: "--unity-version 2017.4.39f1" + + --unity-version Specify Unity version + Example: "--unity-version 2017.4.39f1" + --not-restore-extension (Flag) If specified, AssetStudio will not try to use/restore original TextAsset extension name, and will just export all TextAssets with the ".txt" extension + + --load-all (Flag) If specified, AssetStudio will load assets of all types + (Only for Dump, Info and ExportRaw modes) ``` diff --git a/README.md b/README.md index e91ad6a..1e7f71a 100644 --- a/README.md +++ b/README.md @@ -89,13 +89,17 @@ AssetStudioModCLI -g type ``` AssetStudioModCLI -o ``` +- Dump assets to a specified output folder +``` +AssetStudioModCLI -m dump -o +``` - Export Live2D Cubism models ``` AssetStudioModCLI -m live2d ``` > When running in live2d mode you can only specify `-o`, `--log-level`, `--log-output`, `--export-asset-list`, `--unity-version` and `--assembly-folder` options. Any other options will be ignored. -- Export all FBX objects (similar to "Export all objects (split)" in the GUI) +- Export all FBX objects (similar to "Export all objects (split)" option in the GUI) ``` AssetStudioModCLI -m splitObjects ``` @@ -142,6 +146,14 @@ AssetStudioModCLI -t monobehaviour --assembly-folder --unity-version 2017.4.39f1 ``` +- Load assets of all types and show them (similar to "Display all assets" option in the GUI) +``` +AssetStudioModCLI -m info --load-all +``` +- Load assets of all types and dump Material assets +``` +AssetStudioModCLI -m dump -t material --load-all +``` ## GUI Usage @@ -157,7 +169,7 @@ Use **File->Extract file** or **File->Extract folder**. ### Export Assets, Live2D models -use **Export** menu. +Use **Export** menu. ### Export Model