Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Savegame Naming (PR#542)
Home

[Freeciv-Dev] Savegame Naming (PR#542)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Savegame Naming (PR#542)
From: Erik Sigra <freeciv@xxxxxxx>
Date: Sun, 27 Aug 2000 04:23:29 -0700 (PDT)

Full name: Erik Sigra
Version: Current CVS

Problems (no serious bugs, could be moved to the wishlist section):
* "cvs update" complains about savegames.
* User has to type the name of a game he wants to save by hand.

Solution:
Change the name of savegames to YYYY[ba]NN.civgame.gz, where YYYY is the
year, [ba] is 'b' for BC-years and 'a' for AC-years and NN is the number
of times the game has been saved before this turn. This way the player
only has to type "sa" to save a game and it will always get a unique
name. Autosaved games should be named YYYY[ba]NN.civgame.autosave.gz,
scenarios YYYY[ba]NN.civgame.scenario.gz
        Add the following rows to diff_ignore and .cvsignore:
*.civgame
*.civgame.gz
*.civgame.autosave*
        so that normal savegames and autosaved games will not bother cvs or
diff, but scenarios will.




[Prev in Thread] Current Thread [Next in Thread]