Results 1 to 3 of 3

Thread: How to install disunity and extract assets and bundles from unity games

  1. #1
    Survivor
    Join Date
    Dec 2014
    Location
    Looting your ammobox
    Posts
    87
    Rep Power
    0

    How to install disunity and extract assets and bundles from unity games

    This video only concerns the installation of disunity.

    1. Download and install the latest Java JDK for your operating system http://www.oracle.com/technetwork/ja...s-2133151.html
    2. Download latest disunity zip here: https://github.com/ata4/disunity/rel...ity_v0.3.4.zip
    3. Create a folder called disunity on your C drive, and extract content of disunity_v0.3.4.zip to this folder.
    4. Download Jcommander https://github.com/cbeust/jcommander...ander-1.47.zip and extract it to your desktop.
    5. Navigate to Desktop\jcommander-jcommander-1.47\src\main\java and copy the com folder to the C:\disunity\ folder.
    6. Add C:\disunity\ to your systempath



    Available commands
    https://github.com/ata4/disunity/blob/master/README.md

    Command Purpose

    dump Converts binary object data to human-readable plain text, similar to the binary2text tool shipped with the Unity editor.
    dump-struct Like dump, but just for the structure information.
    extract Extracts asset objects to regular files (.txt, .wav, .tga, etc.). See SUPPORT.md for a list of supported asset types.
    extract-raw Extracts raw serialized object data. Could be useful for manual extraction if extract doesn't support the wanted asset type.
    extract-txt Like dump, but writes the output to text files instead of the console.
    extract-struct Like extract-txt, but just for the structure information.
    learn Learns the structure information from the submitted files and stores any new structs in the database file structdb.dat. The database is required to deserialize standalone asset files, which usually don't contain any structure information.
    info Outputs various information about assets and asset bundle files.
    info-stats Outputs class usage statistics for asset files.
    bundle-extract Extracts all packed files from asset bundles.
    bundle-inject Injects files previously extracted with the bundle-extract back into the asset bundle.
    bundle-list Lists all files contained in asset bundles.
    split Attempts to split an asset file into multiple smaller asset files.
    list Lists all asset objects in a tabular form.

    Other parameters

    Run disunity with the -h parameter for further usage.

  2. #2
    Colony Founder Pacco's Avatar
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    2,173
    Rep Power
    1
    Well done, disunity is a very powerfull modding-tool. With this tutorial, you saved me from doing this.👍

  3. #3
    Survivor
    Join Date
    Dec 2014
    Location
    Looting your ammobox
    Posts
    87
    Rep Power
    0
    Yes.. and DisUnity v0.4.0 looks even better, I haven't tested the write functions yet, but I really hope that we will be able to write into assets through command line soon. I would be nice just to have a folder with the extracted asset, and then being able to re import everything after modification

    I got it installed and running, so I will test it this week sometime

    [info] DisUnity v0.4.0
    Usage: disunity [options] [command] [command options]
    Options:
    -h, --help
    Print this help.
    Default: false
    -f, --output-format
    Set output text format.
    Default: PLAINTEXT
    -v, --verbose
    Show more verbose log output.
    Default: false
    Commands:
    info Shows basic information about asset files.
    Usage: info [options] <file> [file]...

    learn Copies new run-time type information to the local database.
    Usage: learn [options] <file> [file]...

    list Lists all objects inside asset files.
    Usage: list [options] <file> [file]...

    bundle-extract Extracts files from asset bundles.
    Usage: bundle-extract [options] <file>
    Options:
    -o, --output
    Output directory

    bundle-build Builds an asset bundle from a .json property file.
    Usage: bundle-build [options] <file>
    Options:
    -o, --output
    Asset bundle output file

    bundle-list Lists files contained in asset bundles.
    Usage: bundle-list [options] <file> [file]...

    bundle-info Prints info for asset bundle files.
    Usage: bundle-info [options] <file> [file]...

    gui Opens the experimental graphical user interface.
    Usage: gui [options]

    debug-asset-test Test asset file deserialization and writing.
    Usage: debug-asset-test [options] <file> [file]...

    debug-bundle-move Moves a bunch of asset bundles in directories based on their Unity version.
    Usage: debug-bundle-move [options] <file>

    debug-bundle-copy Copies an asset bundle to test format reading and writing.
    Usage: debug-bundle-copy [options] <file> [file]...
    Options:
    * -o, --output
    Output file

    [info] DisUnity v0.4.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •