Obob912 wrote:Warning: do NOT place in your saves folder. Otherwise the program will make backups of your backups, and disk usage will increase exponentially.
Good tip, and not a use-case I had considered! The new patch (coming shortly, probably today) will fix this as it is going to come with new options to filter file types to include in the backups (characters, stashes, maps, and/or misc). I'll make sure that if everything is chosen to be backed up, which is what it currently does, it does *not* grab stuff like subfolders, .7z files, .bat files, etc.
Kirussen wrote:Starting the tool from a .cmd file after the median XL launcher like this: start "" "D:\Backups\Saves\Median XL\SimpleMedianBackup\SimpleMedianBackup.bat" tells me:[ERROR] No version of 7-Zip was found.. Opening it from it's location works as normally. Do you think that there's a way for it to work normally trough the .cmd file? Also, it made backups when I launched it when the game wasn't opened but the launcher was. I opened it 4 times from its location and got 4 backups. Is that supposed to happen?
Doing it that way means the config tool and backups will be generated wherever your command prompt is running from, which means the script won't actually load the config file as it should because it's in a totally different directory and isn't being populated by your manual changes. By default that is usually the C:\Users\YOURUSERNAME\ directory, which is probably not what you're wanting. If you want to use command prompt to run the script I'd suggest creating a shortcut to the .bat, and then calling the shortcut. That way it will properly run the script in the environment it is supposed to.
Example:
Right click the .bat, create shortcut. Rename it to whatever you want. Then in command prompt you can use:
start "" "WhateverYouNamedYourShortcut.lnk"
OR cd to the location of the script before running your command. Command prompt cares a lot about the location it is currently at.
The "opened it 4 times and got 4 backups": yes. The initial launch of the tool is supposed to immediately backup the saves, regardless of whether the game is running. It's specifically the automatic backup system that requires the game to be running.