Skip to content

yvsdrop/UnityPy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A unity asset extractor based on unitypack and AssetStudio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%