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 AssetsManager

am = AssetsManager()

# 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.2.1.1.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

UnityPy-1.2.1.1-py3.7.egg (159.9 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: UnityPy-1.2.1.1.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4

File hashes

Hashes for UnityPy-1.2.1.1.tar.gz
Algorithm Hash digest
SHA256 27e8c75aad9afb732c2650c25f898c0c3923fb1450b7c1f63db02e70644ab142
MD5 baad2cb7e684727cd50cdf2e3a676a8e
BLAKE2b-256 938a4c487b9b767650f6e4143fcf6b26212acc83409fc4a3eb5bfec2973c45ce

See more details on using hashes here.

File details

Details for the file UnityPy-1.2.1.1-py3.7.egg.

File metadata

  • Download URL: UnityPy-1.2.1.1-py3.7.egg
  • Upload date:
  • Size: 159.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4

File hashes

Hashes for UnityPy-1.2.1.1-py3.7.egg
Algorithm Hash digest
SHA256 efaab51491cd3faaeb53eaf14401d863a69a7eddcc50358734adb1470f54f040
MD5 88496f22bc5a489962b5e5ab8f4adc70
BLAKE2b-256 a575c7134fe32b9bc474f524f4964efefa9043b92bfd2411c1e02e25acbe4151

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