A partial implementation of libjigen-rust
(non-existent, coming in the future) only for
simple data format handling such as converting, compartmentalization, etc...
If you just want to read/write, visualize and convert data formats, this is the convenience tool
To check which commands are available type:
python main.py --help
Converting from a format to another is simple, for example converting a map from Legacy format to JSON
python main.py --from-format=legacy --convert --target=json --out='result-directory/' map --source='map-directory'
Or converting a unified racedata file from Legacy to JSON
python main.py --from-format=legacy --convert --target=json --out='result-directory/' script racedata 'racedata-path' --parted=False
Format | Legacy | JSON | XML | CSV |
---|---|---|---|---|
Map | ✔️ | ❌ | ❌ | |
Item Proto | ❌ | |||
Mob Proto | ❌ | |||
Script Files | ❌ | ❌ |
Note:
You can type the 'help' command to see the available format groups
python main.py --help
Optimization: simple-libjigen is not optimized for performance (parsing/converting lacking optimization),
if you require speed check the low level equivalent libjigen-rust
Exceptions: There are not many checks for exceptions when parsing, the library expects that the given data obeys the involved formats