Skip to content
Extract a .unitypackage, with or without Python
Branch: master
Clone or download
Latest commit 3605fee Apr 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests Fixes #1 missing last filename character, and adds test Apr 8, 2019
unitypackage_extractor Fixes #1 missing last filename character, and adds test Apr 8, 2019
.gitignore Added license and setup.py Mar 17, 2019
LICENSE.txt Added license and setup.py Mar 17, 2019
README.md
build_exe.py Built with Python 3.6 now instead of 3.7 Mar 19, 2019
extractor.spec Added the .zip file with the download Mar 18, 2019
requirements.txt Fixes #1 missing last filename character, and adds test Apr 8, 2019
setup.py New version Apr 8, 2019
unitypackage_extractor.zip New version Apr 8, 2019

README.md

Unity Package Extractor

twitter twitter

Extract your .unitypackage

Usage without Python

  • Download the unitypackage_extractor.zip
  • Extract everything into a new directory
  • Run the extractor.exe inside with extractor.exe [path/to/your/package.unitypackage] (optional/output/path)

Usage with Python

  • pip install unitypackage_extractor

  • From the command line python -m unitypackage_extractor.extractor [path/to/your/package.unitypackage] (optional/output/path)

  • OR in your Python file:

from unitypackage_extractor.extractor import extractPackage

extractPackage("path/to/your/package.unitypackage", outputPath="optional/output/path")

Contributing

Building

Install pyinstaller and run build_exe.py. I couldn't get this to work with Python 3.7 so I downloaded and ran it with 3.6 and it worked.

Testing

Install pytest and run pytest -v -s in the root directory.

Releasing

Refer to the python docs on packaging for clarification. Make sure you've updated setup.py, and have installed twine, setuptools, and wheel python3 setup.py sdist bdist_wheel - Create a source distribution and a binary wheel distribution into dist/ twine upload dist/unitypackage_extractor-x.x.x* - Upload all dist/ files to PyPI of a given version Make sure to tag the commit you released

You can’t perform that action at this time.