Created
October 25, 2020 18:13
-
-
Save KSAMissionCtrl/889b6732f4c98421897a5e4c869cf03e to your computer and use it in GitHub Desktop.
Monitors a folder for a quicksave to pop up and then renames it numerically, sequentially, so multiple quicksave files can be generated by kOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET /A count = 0 | |
echo quicksave renaming watch active | |
:loop | |
if exist "D:\Steam Games\steamapps\common\Kerbal Space Program\saves\Kerbal Space Agency\quicksave.sfs" ( | |
timeout 1 | |
rename "D:\Steam Games\steamapps\common\Kerbal Space Program\saves\Kerbal Space Agency\quicksave.sfs" "quicksave%count%.sfs" | |
set /A count = %count% + 1 | |
) | |
goto loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment