UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2) IP: 64.81.113.168 URI: http://wesnoth.slack.it/?SavefileWML - - - - - Index: SavefileWML =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/SavefileWML,v retrieving revision 1.8 diff -u -r1.8 SavefileWML --- SavefileWML 20 Jul 2004 16:16:00 -0000 1.8 +++ SavefileWML 3 Jul 2005 19:28:29 -0000 @@ -1,22 +1,23 @@ ||the format for Wesnoth savegames|| A Wesnoth savegame has two parts. -One is a file stored in ||~/.wesnoth/saves/|| (on Windows, ||userdata/saves/||, -on Mac OS X, ||//Computer-name//>//HD-Name//>Users>//User-Home-Folder//>Library>Preferences>Wesnoth||). -The other is a [save] tag in ||~/.wesnoth/save_index||. +One is a file stored in ||~saves/|| (See "user data directory", PreprocessorRef). +The other is a [save] tag in ||~save_index||. Each savegame describes a position in a scenario which can be loaded by pressing the "Load" button in-game. -Note: since these are not config(||.cfg||) files the normal coloring will not be generated for these files. +In order to view or modify these files, +the option "Binary Saves" (Advanced Preferences) must be set to "No". +Also, since they are not config(||.cfg||) files the normal coloring will not be generated. To generate coloring, simply save the file as ||.cfg||, then open it again. The [save] tag is used to describe a save so that information about the save can be displayed in the "Load game" menu before the savefile is opened (loading savefiles takes a while) the following keys are recognized for [save]: -* //save// heading of the save; displayed in bold. -Also the value of //label// in the savefile -* //mod_time// a number describing when the game was saved/last edited. -Display format will not be described here +* //save// heading of the save; displayed in bold +* //mod_time// a number describing when the savefile was last edited +(i.e. when the game was saved). +Display format will not be described * //campaign_type// whether the scenario is a scenario or multiplayer. Displayed as is * //turn// describes which turn it is, and the number of turns allowed in the scenario. @@ -38,7 +39,7 @@ It describes how the game should be loaded when "Show replay" is not selected In addition to the [snapshot] tag, the following key/tags are recognized: -* //label// the text displayed as the option of the "Load game" menu corresponding to loading this game +* //label// obsolete? It is the same as //save// in [save] * //campaign_define// when this replay is loaded, the symbol //campaign_define// will be stored. See also "#ifdef", PreprocessorRef * //campaign_type//,//scenario// the tag type and ID of the scenario, respectively. See ScenarioWML @@ -55,7 +56,7 @@ * ||[variables]|| a list of the current values of all variables. The attribute ||//variable//=//value//|| means that the variable //variable// has the value //value//. The tag ||[//array//]|| describes a unit stored in the array //array// (see SingleUnitWML). -See also ||[set_variable]||, InternalActionsWML +See also VariablesWML * ||[replay]|| describes what should be displayed if the option "Show replay" is selected * ||[command]|| describes one action. Syntax for [command] is described in ReplayWML
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
