pokeemerald
pokeemerald copied to clipboard
Replace mapjson with templates passed to jsonproc
tools/mapjson uses its own JSON parser (json11 instead of jsonproc's nlohmann/json), and hard-codes the details of the map-related files inside its C++ source. This is difficult to edit without knowing C++. It seems to me that the map-related files, like data/layouts/layouts.inc, could be generated the same way as wild data, with tools/jsonproc.
Might be able to make the whole generation process more repo-agnostic that way too
Also something to note: Would this in turn fix https://github.com/pret/pokeemerald/issues/1261?