/extractunitypackage

增加meta文件的解析等 1 增加meta文件的解析; 2 用来指定源文件名的第二个参数修改成可以指定路径,这样就不需要让工作目录一定得是unity插件所在目录。

Primary LanguagePython

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.