v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "v0.34:Saved game folder"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (moved Saved game folder to DF2012:Saved game folder: Move potentially version-sensitive game to non-main namespace)

Revision as of 01:19, 23 March 2012

Individual worlds are stored in the dwarffortress / data / save folder. By default, they are saved in the format: region#, where # is a number, starting with region1 and then incrementing.

(Note to Windows 7 users:
the save folder is under the following file path:
Users/Myname/Appdata/Local/VirtualStore/Program Files/Dwarf Fortress/data/save
-make sure that you can see hidden folders to access AppData)


If you have modified your init.txt to seasonally backup, then the back folders will be named region#-season-year, eg region1-spr-202.

This can become confusing if you frequently savescum. There is no way to change the name of these folders inside the game, but it is safe to change them using the standard methods of your operating system ~IF~ the game is not running. However, never alter or delete the folder with the name of the game you're playing while saving from the game, or while that game is running! This can cause fatal flaws many dwarf-seasons later, and is one known cause of the "Nemesis Unit" crash error.

Toady recommends that you make backups, and always save to a fresh file:

TO BACKUP SAVES:


(1) Copy the relevant region folder in "data/save" to a safe location.
(2) When you want to reuse it, copy that region back to "data/save". Do *NOT* overwrite an old folder, as it might leave residual files.

Please *DO* back up saves. Although the game has permanent death and you might want to play it in that spirit, the game, it is also an alpha, and your world might become corrupted by an error. You can also

make use of the auto save features settable in "data/init/init.txt".

(release notes, ver 40.d)''

For more info on the autosave feature, see Init.txt

Disappearing Saves

Restoring a savegame from backup can be very confusing.

The game saves to the directory from which it was loaded, so if you restore a game from a seasonal save after a crash, you will be saving to the folder from which you loaded and not to your default folder where you would expect it.

This can cause some high blood pressure and panic, because you will see your 'Region X' save as several years older than you would expect it and it will look like you lost all your work since last autosave to some bug. The save you would like to load is however going to be hidden in the slot from which you loaded from automatic backup.

The golden rule is: if you want to restore a savegame from backup, you should rename that backup to indicate that. Remember to do that while the game is not running, per the instructions for savescumming above.