Skip to main content

A pythonic port of AssetStudio by Perfare

Project description

UnityPy

A Unity asset extractor based on AssetStudio.

Installation

UnityPy

main module

pip install UnityPy

or download/clone the git and use

python setup.py install

optional modules

It's highly recommended to install following modules to enjoy the full power of UnityPy.

All texture modules use Cython, so they won't work on some systems.

Windows users have to install Microsoft Visual C++ 14.0 Build Tools Only to be able to use Cython.

pip install fsb5
pip install decrunch
pip install etcpack
pip install pvrtc_decoder
pip install astc_decomp

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.4.2.tar.gz (48.7 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.4.2-py3.7.egg (169.7 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: UnityPy-1.2.4.2.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for UnityPy-1.2.4.2.tar.gz
Algorithm Hash digest
SHA256 cf882b60bd797eb183060f57800d95d5caaf78d34d3ffbe98ff2ee0c7ca2761e
MD5 0c3086d439818e59155ece7f67970243
BLAKE2b-256 739edf02a36cfbfce9a667003e86ee2f5f9e681bb5c79e8a3a5339775bd37b5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: UnityPy-1.2.4.2-py3.7.egg
  • Upload date:
  • Size: 169.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for UnityPy-1.2.4.2-py3.7.egg
Algorithm Hash digest
SHA256 1138296eb6e30a47d67d525136f878c72a94b2bf093fefc1ed819cc44b5a912a
MD5 ffe31a92884c46cb92935071c341fb4c
BLAKE2b-256 9af6e460d89ccd3b0888413b1f155f6e416692d1c0c73261f895fe7bd95077f1

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