Files
YarikStudio/README.md
2023-05-26 19:39:36 +04:00

58 lines
3.3 KiB
Markdown

# Studio
Check out the [original AssetStudio project](https://github.com/Perfare/AssetStudio) for more information.
Note: Requires Internet connection to fetch asset_index jsons.
_____________________________________________________________________________________________________________________________
How to use:
```
1. Build CABMap (Misc. -> Build CABMap).
2. Load files.
```
_____________________________________________________________________________________________________________________________
CLI Version:
```
Description:
Usage:
AssetStudioCLI <input_path> <output_path> [options]
Arguments:
<input_path> Input file/folder.
<output_path> Output folder.
Options:
--silent Hide log messages.
--type <Texture2D|Sprite|etc..> Specify unity class type(s)
--filter <filter> Specify regex filter(s).
--game <BH3|CB1|CB2|CB3|GI|SR|TOT|ZZZ> (REQUIRED) Specify Game.
--map_op <AssetMap|Both|CABMap|None> Specify which map to build. [default: None]
--map_type <JSON|XML> AssetMap output type. [default: XML]
--map_name <map_name> Specify AssetMap file name.
--group_assets_type <ByContainer|BySource|ByType|None> Specify how exported assets should be grouped. [default: 0]
--no_asset_bundle Exclude AssetBundle from AssetMap/Export.
--no_index_object Exclude IndexObject/MiHoYoBinData from AssetMap/Export.
--xor_key <xor_key> XOR key to decrypt MiHoYoBinData.
--ai_file <ai_file> Specify asset_index json file path (to recover GI containers).
--version Show version information
-?, -h, --help Show help and usage information
```
_____________________________________________________________________________________________________________________________
NOTES:
```
- in case of any "MeshRenderer/SkinnedMeshRenderer" errors, make sure to enable "Disable Renderer" option in "Export Options" before loading assets.
- in case of need to export models/animators without fetching all animations, make sure to enable "Ignore Controller Anim" option in "Options -> Export Options" before loading assets.
```
_____________________________________________________________________________________________________________________________
Special Thank to:
- Perfare: Original author.
- Khang06: [Project](https://github.com/khang06/genshinblkstuff) for extraction.
- Radioegor146: [Asset-indexes](https://github.com/radioegor146/gi-asset-indexes) for recovered/updated asset_index's.
- Ds5678: [AssetRipper](https://github.com/AssetRipper/AssetRipper)[[discord](https://discord.gg/XqXa53W2Yh)] for information about Asset Formats & Parsing.
- mafaca: [uTinyRipper](https://github.com/mafaca/UtinyRipper) for `YAML` and `AnimationClipConverter`.
_____________________________________________________________________________________________________________________________
If you find `Studio` useful, you can leave a star 😄
Thank you, looking forward for your feedback