The utility is designed to watch a directory with save data of a game and automatically back the data up.
- error messages instead of some faults
- fixup "File" -> "Add"
Save data files are backed-up with a delay after changes have been detected. I.e. it may happen many times during game runtime.
Backed-up data is under Git Version Control System. So, the last version of backed files is always available in backup directory.
Use "Switch" button to revert to a previous version of the save data. Current version will also be accessible for switch back. Files in the save directory are automatically replaced.
Also, there are many free/open source tools to access previous file versions (ex. TortoiseGit for Windows). Warning: never use another tools while save directory is being monitored. It may result in failures with unpredictable consequences.
It's Windows-only (for now).
The utility's settings are stored in user directory in file
savemon.settings.py
.
E.g.: C:\Users\Vasya\savemon.settings.py
.
-
Install Python. At least version 3.7 is recommended.
-
Launch
cmd.exe
(Win
+R
shortcut) install dependencies of the utility:
C:\Python37\python.exe -m pip install wxPython pywin32 gitpython
-
Install Git because it seems to be required by
pywin32
and, likely, by you to access old versions of backed up files. -
Launch
savemon.py
. Python normally integrates to file explorer during installation to allow launching scripts on double click.
- Buttons to open both save & backup directories in the file explorer.
- Support multiple backup settings (
File
->Add
).
- fixup failure when a directory is created at runtime
- switching between backup versions
- overwriting files in save directory with current backup version, useful after game installation
- correctly handle non-existing files and directories in save directory
- workaround internal Git error with
index.lock
file
- hide/show backup settings
- fixup failure when a game creates nesting directories in save directory during monitoring
- debug logging (turned off by default)
- fixup the failure on absence a folder inside backup folder at monitoring startup