Fork of https://github.com/Perfare/AssetStudio to experiment with extracting Unity assets
Go to file
hozuki c76e41b1ab
Replace C++/CLI components with P/Invoke components (#562)
* Replace C++/CLI components with P/Invoke

* Deleted C++/CLI projects

* Use Utf8StringHandle to marshal UTF-8 strings

* Use plaform-default calling convention

* Handle DLL preloading on Linux and macOS

* Change intermediate and output directories of native projects

* Improve P/Invoke documentation
2020-08-06 10:35:50 +08:00
AssetStudio fixed bug 2020-04-10 18:20:45 +08:00
AssetStudio.PInvoke Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
AssetStudioFBXNative Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
AssetStudioFBXWrapper Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
AssetStudioGUI Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
AssetStudioUtility Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
Texture2DDecoderNative Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +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 Replace C++/CLI components with P/Invoke components (#562) 2020-08-06 10:35:50 +08:00
LICENSE update LICENSE 2020-03-28 01:22:26 +08:00
README.md Update README.md 2020-03-28 15:52:15 +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 - 2019.3
  • 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
    • Animator : export to FBX file with bound AnimationClip

Usage

Requirements

How to use

  • Use File-Load file, File-Load folder to load assets or assetbundles from multiple files or folder
  • Use File-Extract file, File-Extract folder to export assetbundles to assets from multiple files or 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

Build

  • Visual Studio 2019 or newer
  • AssetStudioFBX 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
  • If you want to change the FBX SDK version, you need to replace libfbxsdk.dll which in AssetStudioGUI/Libraries/x86/ and AssetStudioGUI/Libraries/x64/ directory to the new version

Open source libraries used

Texture2DDecoder