DXOpal anmxml2json


Source code

main.rb

Resources

Tools

convert animation XML to JSON. XML is exported from EDGE2.

> ruby anmxml2json.rb --help

Usage: anmxml2json [options]
    -i, --xml=FILE       Input XML file
    -o, --output=FILE    Output JSON file
    -w, --width=VAL      Tile width (dot)
    -h, --height=VAL     Tile height (dot)
    -x, --xcount=VAL     Tile x number

Example

ruby anmxml2json.rb -i hoge.xml -w 96 -h 96 -x 10 -o hoge.json

License

CC0 / Public Domain