Overview
This batch file will create backups of your savegames periodically.
How it works:
This Guide was written for Win 7. Win 10 doesnt recognize some of the commands.
A .bat (batch) file will copy the saves to a folder every few minutes and name them with time and date. You can change the frequency of the backups. They can be used to restore lost progress.
There a two versions:
Version1: It will create a backup and will restore your save files as soon as they are deleted. (easier to use)
Downside: You can have only one backup per save slot, it will always be the last ingame safe.
Version2: It will create a backup named with time & date. You can continue where ever you want. Downside: You have to copy + paste your files at your own.
Version2:
How to install (Version 1):
1.)
disable steam cloud
open Steamsteamappscommondont_starvesettings.ini and change “DISABLECLOUD = false” to “DISABLECLOUD = true”
2.)
create a “backup.txt” file. Open it and copy / paste the following:
If your save games are located elsewhere, you have to adjust the path lines in the batch file.
Example:
3.)
cange the “backup.txt” file to “backup.bat”. Now it should look like this:
4.)customization
This works for the first save slot. To enable it for other slots change “survival_1” to “survival_2(3,…)”
Don’t starve saves only once per ingame day (8 minutes).
How to use (Version 1):
1.) Run the “backup.bat” and don’t starve. If your save is deleted close both, and restart the .batch and then don’t starve.
How to install (Version 2):
1.)
disable steam cloud
open Steamsteamappscommondont_starvesettings.ini and change “DISABLECLOUD = false” to “DISABLECLOUD = true”
2.)
go to C:UsersUSERNAMEDocumentsKleiDoNotStarve and create a new folder named “backup”
If your save games are located elsewhere, you have to adjust the path lines in the batch file.
3.)
create a “backup.txt” file. Open it and copy / paste the following:
4.)
cange the “backup.txt” file to “backup.bat”. Now it should look like this:
5.)customization
This works for the first save slot. To enable it for other slots change “survival_1” to “survival_2(3,…)”
You can change backup frequency by changing the line “timeout /t 600 /nobreak”
Don’t starve saves only once per ingame day (8 minutes). Therefore more then one backup every 8 minutes (480 sec.) will only have an effect if you safe & quit or use save mods.
If you want another filename change C:Users%username%DocumentsKleiDoNotStarvebackup%year%-%month%-%day%-%hour%-%minute%-%second%-saveindex (or survival_1).
It is possible to add %hundredth% or remove parts if you don’t need the seconds or the year delete (%year% or %second%).
How to use (Version 2)
1.) Run the “backup.bat” and don’t starve.
2.) If you want to use the backup, close don’t starve and copy the “saveindex” and “survival_1” from your “backup” folder to you “saves” folder and replace the existing files.
3.) Start don’t starve and continue playing.