[Discontinued] JSON encoder, decoder and raw data exporter deprecated


Export data.raw of prototypes like recipes, entities and items to JSON files for tools external to the game like web sites and provide JSON services to other mods.

6 years ago
0.14 - 0.15
4

g No data exported?

6 years ago

Hello! When running your tool with the command /c remote.call("JsonTools", "export_all", "recipes.json", nil); I only get this data:

{"active_mods":{"base":"0.15.12","data-raw-prototypes":"0.3.1","json-tools":"0.0.2"},"prototypes":[]}

Likewise with the example command in the readme. How can I get all the recipe data?

Factorio 0.15.12, Win64, Stream

6 years ago

You have to use Data Raw Prototypes version 0.2.1 instead of 0.3.1. Thats a bug, I think OhChirpy will fix it.

6 years ago

Changing to Data Raw Prototypes 0.2.1 worked, thank you!

New response