How razviar/assetstudio works
AssetStudio extracts Unity assets from files and bundles, then lets users inspect and export them through GUI or CLI workflows. The principal path is input selection, game/version and format handling, asset loading and deserialization, then filtering and export or map generation. The graph also preserves documented parallel loading/export, model and animation conversion, and optional FBX output. Relationships among sampled modules are grounded in the SOURCE INDEX; broader workflow links are based on README statements, so unsampled implementation details are not expanded.
Main entry points: Program.cs CLI workflow · ModelExporter.cs Asset export · AssetsManager.cs Asset loading · ObjectReader.cs Object reader
Components 24
User interfaces
- GUI workflow
AssetStudio.GUI/MainForm.cs - CLI workflow
AssetStudio.CLI/Program.cs - CLI options
AssetStudio.CLI/Components/CommandLine.cs
Input and loading
- Asset loading
AssetStudio/AssetsManager.cs - Container readers
AssetStudio - Serialized files
AssetStudio/SerializedFile.cs - Object reader
AssetStudio/ObjectReader.cs
Asset model
- Unity asset types
AssetStudio/Classes - Animation assets
AssetStudio/Classes/AnimationClip.cs - Animator controllers
AssetStudio/Classes/AnimatorController.cs - Asset references
AssetStudio/Classes/PPtr.cs - Asset maps
AssetStudio/AssetMap.cs
Conversion and export
- Asset export
AssetStudio.Utility/ModelExporter.cs - Asset converters
AssetStudio.Utility - YAML export
AssetStudio/YAML/Base/YAMLMappingNode.cs - Model conversion
AssetStudio.Utility/ModelConverter.cs - FBX export
AssetStudio.FBXWrapper/FbxExporterContext.cs
Game and support
- Game/version config
AssetStudio/GameManager.cs - Asset index
AssetStudio/AIVersionManager.cs - UnityCN handling
AssetStudio/UnityCNManager.cs - Logging
AssetStudio/Logger.cs
Other components
- User
- Unity files
- Exported files
Connections 26
- User → GUI workflow: uses
README.md - User → CLI workflow: runs
README.md - Unity files → Asset loading: loads
README.md - CLI workflow → CLI options: parses options
AssetStudio.CLI/Program.cs - CLI workflow → Asset loading: loads assets
README.md - GUI workflow → Asset loading: loads assets
README.md - CLI workflow → Game/version config: configures game
AssetStudio.CLI/Program.cs - CLI workflow → UnityCN handling: configures
AssetStudio.CLI/Program.cs - CLI workflow → Asset index: uses index
- Asset loading → Container readers: reads containers
AssetStudio/AssetsManager.cs - Asset loading → Serialized files: opens serialized files
AssetStudio/AssetsManager.cs - Serialized files → Object reader: creates readers
AssetStudio/ObjectReader.cs - Object reader → Unity asset types: deserializes
AssetStudio/ObjectReader.cs - Object reader → Animation assets: reads animation data
AssetStudio/Classes/AnimationClip.cs - Object reader → Animator controllers: reads controller data
AssetStudio/Classes/AnimatorController.cs - Animator controllers → Animation assets: references clips
AssetStudio/Classes/AnimatorController.cs - Unity asset types → Asset references: resolves references
AssetStudio/Classes/PPtr.cs - CLI workflow → Asset maps: builds maps
AssetStudio.CLI/Program.cs - CLI workflow → Asset export: exports assets
README.md - GUI workflow → Asset export: exports assets
README.md - Asset export → Asset converters: converts assets
- Asset export → YAML export: writes YAML
- Asset export → Model conversion: converts models
- Model conversion → FBX export: exports FBX
AssetStudio.FBXWrapper/FbxExporterContext.cs - Asset export → Exported files: writes exports
README.md - Asset loading → Logging: logs progress
AssetStudio/AssetsManager.cs