Parse Diabotical .assets
files
Recursively parses all .assets
files in a given directory and converts everything into a JSON file. There's a lot of syntax errors inside .assets
files and while this script handles all of those, in some cases the parser will probably handle things differently than the games parser.
The script expects a directory as destination because it writes two JSON files, one is formated for readability and one is minified.
python3 asset-parser.py <src-directory> <dst-directory>