I’ve made a map. To make sure it works, I simply took the content of earth-160x90-v2.sav.gz and replaced the map found inside with my own map (I also changed the name and the description, but I expect this shouldn’t cause problems). I even left out the rivers, which I’ve made, to let things as simple as possible so I can know what is bugging. I also left only the Roman starting position there and set it to another coordinate to make sure that I don’t get bugs because of units falling into water.
I have attached my .sav file to this thread.
My version of freeciv is 2.4.4 (1.fc21).
It confuses me that it doesn’t work, since earth-160x90-v2 works, and these two are basically the same save for the different map, the absence of rivers and the start positions. But surely there’s something else I *should* have changed?
There are the errors I get when trying to load the scenario:
Even though I don’t know C, I wanted to take a look at savegame.c hoping I could understand something. I’ve been searching for savegame.c in the sources of Freeciv and I couldn’t find it. I’m confused. The problem is clearly happening at the running of savegame.c, if we are to believe the error message.[19:33:56] in map_load_tiles() [savegame.c::861]: assertion '0' failed.
[19:33:56] Please report this message at http://gna.org/projects/freeciv/
[19:33:56] Saved game contains incomplete map data. This can happen with old saved games, or it may indicate an invalid saved game file. Proceed at your own risk.
[19:33:56] in map_load_rivers_overlay() [savegame.c::933]: assertion '0' failed.
[19:33:56] Please report this message at http://gna.org/projects/freeciv/
[19:33:56] Saved game contains incomplete map data. This can happen with old saved games, or it may indicate an invalid saved game file. Proceed at your own risk.
I would be grateful if someone could help me with either of my problems.
Daniel