Skip to main content

A pythonic port of AssetStudio by Perfare

Project description

UnityPy

A unity asset extractor based on unitypack and AssetStudio.

The basic structure is from AssetStudio and the object handling is from unitypack.

Installation

pip install UnityPy

Usage

from UnityPy import AssetManager

am = AssetManager()

# Load file via file path
am.load_file(fp)
# Load all files in a folder
am.load_folder(fp)

for name, asset in am.assets.items():
    for id, obj in asset.objects.items():
        data = obj.read()

Goals

near future

  • adding a documentation

far future

  • ability to edit assets (like in UABE)
  • broader object type support
  • code optimization
  • multiprocessing

Motivation

I'm an active data-miner and noticed that unitypack has problems with new unity assets. The problem in unitypack isn't that easy to fix and the undocumented code is a bit hard to understand. That's why I tried other tools like UABE and AssetStudio. Sadly none of these tools can be used like unitypack. That's why I started this project.

License

UnityPy is licensed under the terms of the MIT license. The full license text is available in the LICENSE file.

Community

Discord

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

UnityPy-1.1.2.3.tar.gz (36.3 kB view details)

Uploaded Source

File details

Details for the file UnityPy-1.1.2.3.tar.gz.

File metadata

  • Download URL: UnityPy-1.1.2.3.tar.gz
  • Upload date:
  • Size: 36.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for UnityPy-1.1.2.3.tar.gz
Algorithm Hash digest
SHA256 7d3174fad0bb12fa06232f08b13391a48ff1f0aa31245f371aac4e0d7b1eb938
MD5 cba3e4f8b72740eb7f1097074d055b9c
BLAKE2b-256 19e35577ded83f47b35f0733044f73b1ac8ffb81cd2af66235a2151ee1780b42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page