diff --git a/AssetStudioCLI/ReadMe.md b/AssetStudioCLI/ReadMe.md
index 1f27b91..4924620 100644
--- a/AssetStudioCLI/ReadMe.md
+++ b/AssetStudioCLI/ReadMe.md
@@ -1,34 +1,39 @@
-## AssetStudioModCLI
-CLI version of AssetStudioMod.
-- Supported asset types: `Texture2D`, `Sprite`, `TextAsset`, `MonoBehaviour`, `Font`, `Shader`, `MovieTexture`, `AudioClip`, `VideoClip`, `Mesh`.
+## ArknightsStudioCLI
+CLI version of ArknightsStudio.
+- Supported asset types for export: `Texture2D`, `Sprite`, `AkPortraitSprite`, `TextAsset`, `MonoBehaviour`, `Font`, `Shader`, `MovieTexture`, `AudioClip`, `VideoClip`, `Mesh`.
- *There are no plans to add support for `AnimationClip`, `Animator` for now.*
### Usage
```
-AssetStudioModCLI [-m, --mode ]
+ArknightsStudioCLI [-m, --mode ]
[-t, --asset-type ] [-g, --group-option ]
[-o, --output ] [-h, --help]
[--log-level ] [--log-output ]
[--image-format ] [--audio-format ]
- [--export-asset-list ] [--filter-by-name ]
- [--filter-by-container ] [--filter-by-pathid ]
- [--filter-by-text ] [--assembly-folder ]
- [--unity-version ] [--not-restore-extension]
+ [--fbx-scale-factor ] [--fbx-bone-size ]
+ [--filter-by-name ] [--filter-by-container ]
+ [--filter-by-pathid ] [--filter-by-text ]
+ [--spritealpha-mode ] [--alphatex-resampler ]
+ [--shadow-gamma ] [--original-avg-names]
+ [--add-aliases] [--export-asset-list ]
+ [--assembly-folder ] [--unity-version ]
+ [--not-restore-extension] [--load-all]
General Options:
-m, --mode Specify working mode
-
+
Export - Exports converted assets
ExportRaw - Exports raw data
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 - Exports split objects (fbx)
Example: "-m info"
-t, --asset-type Specify asset type(s) to export
-
+
All - export all asset types, which are listed in the values
*To specify multiple asset types, write them separated by ',' or ';' without spaces
Examples: "-t sprite" or "-t tex2d,sprite,audio" or "-t tex2d;sprite;font"
@@ -67,12 +72,16 @@ Convert Options:
None - Do not convert audios and export them in their own format
Example: "--audio-format wav"
-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"
+FBX Options:
+ --fbx-scale-factor Specify the FBX Scale Factor
+ Specify the FBX Bone Size
+ 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"
@@ -90,8 +99,49 @@ Advanced Options:
*To specify multiple values write them separated by ',' or ';' without spaces
Example: "--filter-by-text portrait" or "--filter-by-text portrait,art"
+
+Arknights Options:
+ --spritealpha-mode Specify the mode in which you want to export sprites with alpha texture
+
+ None - Export sprites without alpha texture applied
+ InternalOnly - Export sprites with internal alpha texture applied (if exist)
+ SearchExternal - Export sprites with internal alpha texture applied,
+ and in case it doesn't exist, Studio will try to find an external alpha texture
+ Example: "--spritealpha-mode internalOnly"
+
+ --alphatex-resampler Specify the alpha texture upscale algorithm for 2048x2048 sprites
+
+ Mitchell - Mitchell Netravali algorithm. Yields good equilibrium between
+ sharpness and smoothness (produces less artifacts than bicubic in the current use case)
+ Spline - Similar to Mitchell Netravali but yielding smoother results
+ Welch - A high speed algorithm that delivers very sharpened results
+ Example: "--alphatex-resampler bicubic"
+
+ --shadow-gamma Specify the gamma correction of semi-transparent shadow for 2048x2048 sprites
+
+ <0 - Make the shadow darker
+ 0 - Do not change the brightness of the shadow
+ >0 - Make the shadow lighter
+ Example: "--shadow-gamma 0"
+
+ --original-avg-names (Flag) If specified, names of avg character sprites will not be fixed
+
+ --add-aliases (Flag) If specified, aliases will be added to avg character sprite names (if exist)
+
+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"
- --not-restore-extension (Flag) If specified, AssetStudio will not try to use/restore original TextAsset
+
+ --unity-version Specify Unity version
+ Example: "--unity-version 2017.4.39f1"
+
+ --not-restore-extension (Flag) If specified, Studio 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, Studio will load assets of all types
+ (Only for Dump, Info and ExportRaw modes)
```
diff --git a/README.md b/README.md
index ccbad86..9c3a0b6 100644
--- a/README.md
+++ b/README.md
@@ -1,107 +1,80 @@
-# AssetStudioMod
+# ArknightsStudio
-[](https://ci.appveyor.com/project/aelurum/assetstudiomod/branch/AssetStudioMod)
+[](https://ci.appveyor.com/project/aelurum/arknightsstudio)
-**AssetStudioMod** - modified version of Perfare's [AssetStudio](https://github.com/Perfare/AssetStudio), mainly focused on UI optimization and some functionality enhancements.
+**ArknightsStudio** is a modified version of AssetStudio designed for Arknights. Based on [AssetStudioMod](https://github.com/aelurum/AssetStudio).
**Neither the repository, nor the tool, nor the author of the tool, nor the author of the modification is affiliated with, sponsored, or authorized by Unity Technologies or its affiliates.**
-Since the original repo has been archived, it's worth saying that you shouldn't expect support for newer versions of Unity from this fork.
-Unfortunately, I can't continue Perfare's work and keep AssetStudio up to date.
-
-## Game specific modifications
-
-- ArknightsStudio - soon™
-
-## AssetStudio Features
-
-- Support version:
- - 3.4 - 2022.1
-- Support asset types:
- - **Texture2D** : convert to png, tga, jpeg, bmp, webp
- - **Sprite** : crop Texture2D to png, tga, jpeg, bmp, webp
- - **AudioClip** : mp3, ogg, wav, m4a, fsb. Support converting FSB file to WAV(PCM)
- - **Font** : ttf, otf
- - **Mesh** : obj
- - **TextAsset**
- - **Shader** (for Unity < 2021)
- - **MovieTexture**
- - **VideoClip**
- - **MonoBehaviour** : json
- - **Animator** : export to FBX file with bound AnimationClip
-
-## AssetStudioMod Features
+## ArknightsStudio Features
- CLI version (for Windows, Linux, Mac)
- `Animator` and `AnimationClip` assets are not supported in the CLI version
-- Support of sprites with alpha mask
-- Support of image export in WebP format
-- Support of Live2D Cubism 3 model export
- - Ported from my fork of Perfare's [UnityLive2DExtractor](https://github.com/aelurum/UnityLive2DExtractor)
- - Using the Live2D export in AssetStudio allows you to specify a Unity version and assembly folder if needed
-- Detecting bundles with UnityCN encryption
- - Detection only. If you want to open them, please use Razmoth's [Studio](https://github.com/RazTools/Studio)
-- Some UI optimizations and bug fixes (See [CHANGELOG](https://github.com/aelurum/AssetStudio/blob/AssetStudioMod/CHANGELOG.md) for details)
-
+- Support of sprites with alpha texture
+- Support of portrait sprites
+- Correct support of avg character sprites
+- Correct support of character art sprites
## Requirements
-- AssetStudioMod.net472
+- ArknightsStudio-net472
- GUI/CLI - [.NET Framework 4.7.2](https://dotnet.microsoft.com/download/dotnet-framework/net472)
-- AssetStudioMod.net6
+- ArknightsStudio-net6
- GUI/CLI (Windows) - [.NET Desktop Runtime 6.0](https://dotnet.microsoft.com/download/dotnet/6.0)
- CLI (Linux/Mac) - [.NET Runtime 6.0](https://dotnet.microsoft.com/download/dotnet/6.0)
-- AssetStudioMod.net7
+- ArknightsStudio-net7
- GUI/CLI (Windows) - [.NET Desktop Runtime 7.0](https://dotnet.microsoft.com/download/dotnet/7.0)
- CLI (Linux/Mac) - [.NET Runtime 7.0](https://dotnet.microsoft.com/download/dotnet/7.0)
## CLI Usage
-You can read CLI readme [here](https://github.com/aelurum/AssetStudio/blob/AssetStudioMod/AssetStudioCLI/ReadMe.md).
+You can read CLI readme [here](https://github.com/aelurum/AssetStudio/blob/ArknightsStudio/AssetStudioCLI/ReadMe.md).
### Run
-- Command-line: `AssetStudioModCLI `
-- Command-line for Portable versions (.NET 6+): `dotnet AssetStudioModCLI.dll `
+- Command-line: `ArknightsStudioCLI `
+- Command-line for Portable versions (.NET 6+): `dotnet ArknightsStudioCLI.dll `
### Basic Samples
- Show a list with a number of assets of each type available for export
```
-AssetStudioModCLI -m info
+ArknightsStudioCLI -m info
```
- Export assets of all supported for export types
```
-AssetStudioModCLI
+ArknightsStudioCLI
```
- Export assets of specific types
```
-AssetStudioModCLI -t tex2d
+ArknightsStudioCLI -t sprite
```
```
-AssetStudioModCLI -t tex2d,sprite,audio
+ArknightsStudioCLI -t tex2d,sprite,audio
+```
+- Export portrait sprites
+```
+ArknightsStudioCLI -t akPortrait
```
- Export assets grouped by type
```
-AssetStudioModCLI -g type
+ArknightsStudioCLI -g type
```
- Export assets to a specified output folder
```
-AssetStudioModCLI -o