Extracting a .unitypackage without Unity3D

It looks like all the libraries that currently exist to extract .unitypackage files are broken/don’t exist anymore so I made a simple Python library to extract them.

Unity packages are just a .tar.gz but the files aren’t stored normally. Every file has a folder named by a hash derived from the asset containing files that describe the original asset. This script simply iterates over all these entries to rebuild the original files.

Nothing special, just something useful.