Hi all,
I am doing my masters thesis now which is focused on Civilization 5 map generation. The gist of it is that I would make some assumptions on what a "good", "fair" or a "fun" map in Civ5 is and try to maximize some evaluations on a map, searching for the "best" maps.
Now my code is written in C++ and I am in early alpha, so far my output is only text or HTML, you can see the lengths I've taken in creating a "decent" output for my maps. For this map, resource constrictions have not been set and the goal was to find a map that was completely grassy. map.
My question to some elite hackers in here, do you know how to dissect the .Civ5Map files ? I tried to hex edit and dumping it into a binary file again but to no avail. Is there someone out there that maybe knows how to unserialize the civ5map in c++ code.
If not, my second option was to create an xml output and have a Lua script read it and create the map that way ?
Any hints, help, recommandations ?
-TomasGudm
Moderator Action: Moved to the main forum.
Because the utilities subforum is only for utilities, not for questions about utilities
.
I am doing my masters thesis now which is focused on Civilization 5 map generation. The gist of it is that I would make some assumptions on what a "good", "fair" or a "fun" map in Civ5 is and try to maximize some evaluations on a map, searching for the "best" maps.
Now my code is written in C++ and I am in early alpha, so far my output is only text or HTML, you can see the lengths I've taken in creating a "decent" output for my maps. For this map, resource constrictions have not been set and the goal was to find a map that was completely grassy. map.
My question to some elite hackers in here, do you know how to dissect the .Civ5Map files ? I tried to hex edit and dumping it into a binary file again but to no avail. Is there someone out there that maybe knows how to unserialize the civ5map in c++ code.
If not, my second option was to create an xml output and have a Lua script read it and create the map that way ?
Any hints, help, recommandations ?
-TomasGudm
Moderator Action: Moved to the main forum.
Because the utilities subforum is only for utilities, not for questions about utilities
