1
Utilities and 3rd Party Applications / Making all world_region_details structures accessible in DFHack?
« on: December 22, 2021, 02:17:42 pm »
Hi. I'm trying to export elevation data from a Dwarf Fortress world for use in another application. I have written a Lua script to do this, but I can't get data for all the region tiles. Some of the world_region_details structs are missing. Is there a way I can generate/access these missing structs?
Alternatively, maybe I could just use the elevation bitmap that can be exported from legends mode. Does this contain the same elevation information? If so, how can I convert from pixels to elevation data? The method of doing so eludes me.
Alternatively, maybe I could just use the elevation bitmap that can be exported from legends mode. Does this contain the same elevation information? If so, how can I convert from pixels to elevation data? The method of doing so eludes me.