Git Product home page Git Product logo

disunity's Introduction

DisUnity

An experimental toolset for Unity asset and asset bundle files, mostly designed for extraction.

Download

The latest build can be found on the releases page.

Usage

disunity -c <command> <file>

Note: depending on the platform, you may need to run disunity.bat (Windows) or disunity.sh (Linux/MacOS). In case the launch script fails, try java -jar disunity.jar.

Commands

dump - Converts the asset file to plain text, similar to the binary2text tool shipped with the Unity editor.

dump-struct - Like dump, but just for the data structure.

extract - Extracts supported asset content and stores it in regular files. Default command if the -c parameter is omitted.

extract-raw - Extracts the raw serialized binary data from the asset.

learn - Learns the structure from an Unity webplayer bundle (*.unity3d) and stores any new structs in the database file structdb.dat. Its data is required to deserialize standalone asset files, which usually don't contain any structure data.

info - Outputs various information for asset and asset bundle files.

info-stats - Outputs class usage statistics for asset files.

unbundle - Extracts Unity webplayer bundles (*.unity3d).

fixrefs - Converts the relative paths for shared assets in compiled scene files to absolute paths. This allows the scenes to be opened in the Unity editor properly.

Note: If the file and its dependencies are moved to a different folder, disunity needs to be run again with this command.

split - Attempts to split an asset file to multiple smaller asset files, usually one for each object.

Other parameters

Run disunity with the -h parameter for further usage.

Support

Tested engine versions

  • 2.6
  • 3.1
  • 3.3
  • 3.4
  • 3.5
  • 4.1
  • 4.2

Asset extraction

Type Status
AudioClip Ok
Font Ok, but wrong file extension for OpenType fonts
Mesh Unity 4 and uncompressed only
TextAsset Ok
Shader Ok
Texture2D Missing support for PVR, ATC and some exotic color formats
Cubemap Wrong texture flags
SubstanceArchive Ok
MovieTexture Unity 2.6 only

Dependencies

disunity's People

Contributors

ata4 avatar kennytm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.