HearthSim / UnityPack

Python deserialization library for Unity3D Asset format

Home Page:https://hearthsim.info/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying to extract image file

captSpirk opened this issue · comments

I am trying to extract a UnityExtract image file, using

python unityextract --image_full_filename.SD, but it's giving me this usage error:

usage: unityextract [-h] [--all] [--audio]] [--fonts] [--images] [--models] [--shaders] [--text] [--video] [-o [OUTDIR]] [--as-asset] [filter [FILTER [FILTER ...]]] [-n] files [files ...] unityextract: error: the following arguments are required: files

What am I doing wrong?

if image_full_filename.SD is your file name, you should call via either python unityextract image_full_filename.SD or python unityextract -- image_full_filename.SD

Where are the unityextract files save after successfully extracting the files?

You can specify that with the -o option, eg python unityextract -o out image_full_filename.SD will save the extracted files to the out/ folder.

Nothing is working. I'm using the -o option and specify the directory to save the file, but nothing shows up.

Does unityextract even work?

No errors so far, but there is nothing saved. Don't see any files.

EDIT: I got it working.