Metro Exodus Automatic Save backup tool (batch file)
Posted: Sat Feb 16, 2019 4:09 pm
Hey everyone!! I've had a few save issues in Metro Exodus, and Cohh has his issue, so I edited a batch file I made a while back for dark souls 3
You'll have to edit it for your needs, but should be easy enough.
Things you'll have to change:
Will need to have E:\GameSaves changed to where you want the saves kept
I'm not sure if this will be the same for everyone, but inside of your C:\Users\%username%\Saved Games\metro exodus\ folder there will be a folder full of numbers, copy that number down and place it here.
Here is the code, copy and paste this in to notepad and save it as something like "Metro Exodus Save Backup.cmd" you can name it whatever you want, just make sure the entire name is in " and it ends in .cmd
To use, after you have it saved, just double click on it and it should start working, might need to run it as admin depending on where you have the saves being saved.
What it does, is copies the saves to the directory you specify every hour, keeping a total of 6 copies, with "current" being of course the most current one, and going from 1 to 5, 1 being the next newest and 5 being the oldest.
If you have any issues with it, just let me know and I can try troubleshooting it with you.
*edit*
If you want to change how often it backs up, change 3600 in the line that reads "timeout 3600 /nobreak" to however long in seconds you want.
Updated!
I found a small issue that I corrected, (didn't upload the most current version, preventing the script from actually doing its job) also cleaned up some of the comments so they don't throw errors.
If you've downloaded before this message was added, Please redownload!!
You'll have to edit it for your needs, but should be easy enough.
Things you'll have to change:
Code: Select all
set backup="E:\GameSaves"
Code: Select all
set metroID=76561197961457604
Here is the code, copy and paste this in to notepad and save it as something like "Metro Exodus Save Backup.cmd" you can name it whatever you want, just make sure the entire name is in " and it ends in .cmd
To use, after you have it saved, just double click on it and it should start working, might need to run it as admin depending on where you have the saves being saved.
What it does, is copies the saves to the directory you specify every hour, keeping a total of 6 copies, with "current" being of course the most current one, and going from 1 to 5, 1 being the next newest and 5 being the oldest.
If you have any issues with it, just let me know and I can try troubleshooting it with you.
*edit*
If you want to change how often it backs up, change 3600 in the line that reads "timeout 3600 /nobreak" to however long in seconds you want.
Code: Select all
@echo off
setlocal EnableDelayedExpansion
:start
echo Starting backup, to stop backups, just close this window.
::#################################
::#Metro Exodus Save Backup ##
::#This will save a total of ##
::#6 backups of your Metro Exodus save ##
::#to a location of your choice ##
::################################
::Sets the location you want your backups to be saved
set backup="E:\GameSaves"
::To find this number, go to C:\Users\%username%\Saved Games\metro exodus\ copy down the folder name, mine was 76561197961457604 and place it after the metroID= below
set gameid=ME
set metroID=76561197961457604
::Renames previous backups if they exist.
cd "%backup%\%gameid%"
if exist 5 ren 5 6
if exist 4 ren 4 5
if exist 3 ren 3 4
if exist 2 ren 2 3
if exist 1 ren 1 2
if exist current ren current 1
if exist 6 rd /q /s 6
::does the actual backup
robocopy "C:\Users\%username%\Saved Games\metro exodus\%metroID%" "%backup%\%gameid%\current" /s
echo Backups started, to stop backups, just close this window.
timeout 3600 /nobreak
goto start
goto end
:end
echo you should not be here.
pause
I found a small issue that I corrected, (didn't upload the most current version, preventing the script from actually doing its job) also cleaned up some of the comments so they don't throw errors.
If you've downloaded before this message was added, Please redownload!!