depends on swftools
use python 2.7 (might work on 2.6 or 2.5 if you install argparse
)
usage: extract.py [-h] [-t {production,testing}] [--test] [--prod]
[-v VERSION] [-f FILE] [-d DIR] [--archive]
optional arguments:
-h, --help show this help message and exit
-t {production,testing}
--test same as "-t testing"
--prod same as "-t production"
-v VERSION download specific version (default: latest)
-f FILE, --file FILE use local swf
-d DIR, --dir DIR output directory (default: current directory)
--archive write output to a subdir "type-version". If exists, do
nothing (no effect with -f)
-t
defaults to testing
creates 3 subdirectories with:
obj
: any non-xml data from DEFINEBINARY, right now only 3d modelssheets
: spritesheetsxml
: the xml files as-is
also writes concatenated xml files grouped by root tag (Objects.xml etc)