Skip to content

Simple script to extract the contents of a UnityPackage into a readable file/folder structure.

License

Notifications You must be signed in to change notification settings

shino-hinaduki/extractunitypackage

 
 

Repository files navigation

UnityPackage Extractor

Python application

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.

About

Simple script to extract the contents of a UnityPackage into a readable file/folder structure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.7%
  • Dockerfile 3.1%
  • Shell 2.7%
  • Batchfile 2.5%