Easy way to turn made vehicle to json?

Is there a way to directly convert vehicle data from a save to json for a mod?

there’s a tools/vehicleDef.py script that will turn all the vehicles in a save file into reasonably formatted JSON.

4 Likes

I only seem to get this message from my python interpreter:

usage: temp_iiec_codefile.py [-h] save [vehicle] 
temp_iiec_codefile.py: error: the following 
arguments are required: save

[Program finished]

You need to pass the path to the save file directory as an argument to interpreter, is
python ./tools/vehicleDef.py save/Sep2019_Magic or whatever.

1 Like