:: This is a draft of a script to run a particular version of a Battletech
:: It will switch the save directory (located in the Steam files) to preserve version differences
:: Create a different version of this batch per version you use, and only use that file to open it, and you'll avoid save errors
:: If there are icon differences, you can copy the icons over to the script files
:: *** REQUIREMENT: Disable steam cloud sync for Battletech
:: *** NOTICE: Elements have been tested for other games, but I have not actually run this script for Battletech
:: ------
:: Replace "NNNNNNN" with your steam ID (If you only use one account, it's the only one there)
::
cd C:\Program Files (x86)\Steam\userdata\NNNNNNN\637090\remote\C0
:: ------
:: SG0 appears to be the save directory. It's possible this should be done at "C0" instead
:: This should remove the current link folder, so that we can replace it.
rmdir SG0
:: ------
:: As an example, I create a folder in my Dropbox labelled "SAVES" and then make a new folder per version
:: ("BATTLETECH_PUBLIC" and "BATTLETECH_BETA" for example)
:: This command (mklink /d) will create a junction (a pretend folder that is treated like the destination)
mklink /d SG0 %USERPROFILE%\Dropbox\SAVES\BATTLETECH_PUBLIC
:: ------
:: Run the version you want to use with this save directory, so you can use this script once to switch savedir and app.
C:\Program Files (x86)\Steam\steamapps\common\BATTLETECH\BattleTechLauncher.exe
:: ------ NOTES
:: Dropbox backs up my saves, and even provides multiple versions to revert in case of corruption in the files.
:: Dropbox and Steam will sometimes get in each other's way, but in 5+ years, dropbox only leaves extra files around, no damage.
:: Alternately, you can use (mklink /d /h) to make a hard link - they work better sometimes, but are harder to track
:: Would be better with more %ENV%, but written clear for example
:: cd / rmdir / mklink <link> <full_original_name>
:: is just the order I've become comfortable with. These should work without the 'cd' step and full paths