Simple script to extract the contents of a UnityPackage into a readable file/folder structure.
Python
Switch branches/tags
Nothing to show
Latest commit 8cf2599 Jul 25, 2014 @gered Merge pull request #3 from Entwicklerpages/master
Update extractunitypackage.py
Permalink
Failed to load latest commit information.
.gitignore add ignore filter Feb 19, 2013
README.md initial commit Feb 19, 2013
extractunitypackage.py Update extractunitypackage.py Jul 25, 2014

README.md

UnityPackage Extractor

Extracts files/folders from a .unitypackage file, reading the 'pathname' files it contains to build a "readable" file/folder structure which all the files will be extracted and renamed to match.

Usage

extractunitypackage.py input_file [output_path]

input_file should be a .unitypackage file. The part of the filename before the extension will be used as the name of the directory that the packages contents will be extracted to.

output_path is an optional path where the package's files will be extracted to. If omitted, the current working directory is used. If specified, the path should already exist.

Disclaimer

This is a pretty bare-bones script which does a very, very minimal amount of error checking. I take no responsibility if you lose files, your computer blows up, etc, as a result of using this script.