CivOne
CivOne copied to clipboard
Implement save games
Documenting map-related saving bugs:
In a game started in CivOne, saving caused the following problems (offsets are relative to land):
-
Cities offset 1 to the left

-
Villages re-generated
-
Roads and irrigation offset 2 to the right

-
Fog of war offset 2 to the left

-
One unit was offset 1 to the left

Not all cities were offset 1 to the left
Not all fog of war was offset 2 to the left

All other units remained where they were relative to the land
I should load this save in Civilization and check for discrepancies, as you mentioned that loading is currently buggy.
Okay, that save hangs the original Civilization after moving a unit.

Here is the save in question: http://lex.clansfx.co.uk/dump/CIVIL1.MAP http://lex.clansfx.co.uk/dump/CIVIL1.SVE
Yeah, the save game function is very, very unstable at the moment. First of all, I'm missing all kinds of data from the original game, making it nearly impossible to make anything out of it for the original game. Then I've got a lot of details in the save game wrong. I mean to get it working and fully compatible with the original game soon though... thanks for reporting the issues, it will help me track down some of the bugs.
I also noticed one one occasion that after loading a saved game the huts (villages) respawn.
That's because I don't (yet) properly record unit visited tiles. It should get fixed soon.
Alternatively, if you're going to record visited tiles instead of simply recording the current game state, saving an initial game state and input performed since that state would allow replay playback. That could be used as the custom non-Civilization-compatible save format also. To load a game on a certain date, the engine would simply play back the input recording without animating it.
The data recorded for the game playback is a lot more compact. Here's an overview: https://forums.civfanatics.com/threads/sve-file-format.493581/#post-12383993
Eventually, recording the entire game in the new save game format is a pretty cool idea. I'm going to steal it. ;-)
A couple of issues when loading saved games:
- immediately after loading a game I get a "choose new government" question
- tax & science rates stuck at 0 % (and cannot be changed as in the pic below)
