Civ2-clone icon indicating copy to clipboard operation
Civ2-clone copied to clipboard

Saving game

Open axx0 opened this issue 1 year ago • 5 comments

So we can either:

  1. save the game as in the original binary .sav format (this shouldn't be a problem as the whole .sav structure is more or less figured out)
  2. save the game in a newer format which would make editing the saved game easier and new stuff could also be added, but this means you can't open the file with the original game (is this even important?)

axx0 avatar Feb 20 '24 18:02 axx0

Option 1 is a no go if we want more than 7 civs,

I think option 2 is the only option. I suggest a ziped json or bson format

reubene avatar Mar 08 '24 09:03 reubene

Should the new sav file have a new extension (e.g. .savx) to distinguish it from the classic files?

axx0 avatar Mar 10 '24 20:03 axx0

It's not really necessary, you can tell what a file is from the contents

reubene avatar Mar 10 '24 21:03 reubene

I was planning on looking into this next unless you want to tackle it?

reubene avatar Mar 11 '24 20:03 reubene

Go ahead, I'm busy with some other stuff.

axx0 avatar Mar 11 '24 21:03 axx0