Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 547 Bytes

assets-parser.md

File metadata and controls

13 lines (8 loc) · 547 Bytes

assets-parser

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.

Usage

python3 asset-parser.py <src-directory> <dst-directory>