Fork of https://github.com/Perfare/AssetStudio to experiment with extracting Unity assets
Go to file
Lucidiot 682745177b Add quick and dirty path extractor 2020-12-06 00:06:08 +01:00
AssetStudio Fixed #618 2020-09-29 07:08:14 +08:00
AssetStudio.PInvoke Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
AssetStudioFBXNative fix problems in exporting fbx with multiple blendshapes 2020-09-16 19:44:11 +09:00
AssetStudioFBXWrapper fix problems in exporting fbx with multiple blendshapes 2020-09-16 19:44:11 +09:00
AssetStudioGUI Add dump viewer 2020-08-14 17:38:43 +08:00
AssetStudioUtility fix problems in exporting fbx with multiple blendshapes 2020-09-16 19:44:11 +09:00
PathIDExtractor Add quick and dirty path extractor 2020-12-06 00:06:08 +01:00
Texture2DDecoderNative Set Runtime Library to /MT 2020-08-10 09:52:09 +08:00
Texture2DDecoderWrapper Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
.gitattributes Initial commit 2015-10-30 04:41:37 +02:00
.gitignore using Nuget 2020-03-24 07:19:59 +08:00
AssetStudio.sln Add quick and dirty path extractor 2020-12-06 00:06:08 +01:00
LICENSE update LICENSE 2020-03-28 01:22:26 +08:00
README.md Update README.md 2020-08-16 18:53:55 +08:00

README.md

AssetStudio

Build status

None of the repo, the tool, nor the repo owner is affiliated with, or sponsored or authorized by, Unity Technologies or its affiliates.

AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.

Features

  • Support version:
    • 2.5 - 2020.1
  • Support asset types:
    • Texture2D : convert to png, tga, jpeg, bmp
    • Sprite : crop Texture2D to png, tga, jpeg, bmp
    • AudioClip : mp3, ogg, wav, m4a, fsb. support convert FSB file to WAV(PCM)
    • Font : ttf, otf
    • Mesh : obj
    • TextAsset
    • Shader
    • MovieTexture
    • VideoClip
    • MonoBehaviour : json
    • Animator : export to FBX file with bound AnimationClip

Requirements

Usage

Load Assets/AssetBundles

Use File-Load file or File-Load folder.

When AssetStudio loads AssetBundles, it decompresses and reads it directly in memory, which may cause a large amount of memory to be used. You can use File-Extract file or File-Extract folder to extract AssetBundles to another folder, and then read.

Extract/Decompress AssetBundles

Use File-Extract file or File-Extract folder.

Export Assets

use Export menu.

Export Model

Export model from "Scene Hierarchy" using the Model menu.

Export Animator from "Asset List" using the Export menu.

With AnimationClip

Select model from "Scene Hierarchy" then select the AnimationClip from "Asset List", using Model-Export selected objects with AnimationClip to export.

Export Animator will export bound AnimationClip or use Ctrl to select Animator and AnimationClip from "Asset List", using Export-Export Animator with selected AnimationClip to export.

Export MonoBehaviour

When you select an asset of the MonoBehaviour type for the first time, AssetStudio will ask you the directory where the assembly is located, please select the directory where the assembly is located, such as the Managed folder.

For Il2Cpp

First, use my other program Il2CppDumper to generate dummy dll, then when using AssetStudio to select the assembly directory, select the dummy dll folder.

Build

  • Visual Studio 2019 or newer
  • AssetStudioFBXNative uses FBX SDK 2020.0.1 VS2017, before building, you need to install the FBX SDK and modify the project file, change include directory and library directory to point to the FBX SDK directory

Open source libraries used

Texture2DDecoder