Saves file - rmed/textventures GitHub Wiki
The saves.xml file, located in textventures/adventures/ directory, stores the progress of the player in each game. This file is created by TextVentures if it does not exist and should not be edited manually unless required to do so.
<savefile>
<save id="My first game" adventure="my-adventure" progress="chapter_1">Chapter 1</save>
<save id="Another story" adventure="textventures-adventure" progress="prelude">Prelude</save>
</savefile>
At the beginning of a new adventure, the player will have to specify a name in order to save the game. Game is saved every time the player arrives at a new scenario. This is a required attribute for the xml tag:
- id: String that identifies the saved game. It will be displayed with the adventure title.
- adventure: String that identifies the directory of the adventure. This value is not displayed.
- progress: The name of the current scenario file.
The text inside the tag represents the title current scenario instead of the scenario itself to have a more user-friendly loading menu.