Backstory (you can skip this)
A while ago (maybe a week?) I created a small AutoHotkey script to allow games to be portable from a USB. It was designed specifically for FTL, but I realized that it can work with other games as well. I then posted it on /r/ftlgame, but the spam filter deleted it so no-one knew about it.
What PortableSaves Does
All PortableSaves does is make a backup of the existing save files on the computer, moves the saves on your USB to the computer, runs the program then moves everything back afterwards (as well as creating some backups on the way). It's configured via an INI, but I've already put in a premade INI for FTL (and VVVVVV).
How to configure the INI
The options are stored in PortableSaves.ini with the header "Options".
The values read by the script are:
SaveLocation - where saves are normally kept for the game (where you want the portable saves to be when the game is running)
PortableSaveLocation - where the saves are stored (it's recommended not to change this)
GameBinary - the file to run as the game (normally the .exe)
There are certain variables you can use when using these:
%A_ScriptDir% - where the script is located
%A_MyDocuments% - the My Documents folder
%A_AppData% - the AppData folder.
The Guide
- Download PortableSaves from below.
- Find your FTL game directory (should be in C:\Program Files\FTL or something like that) and copy it to a USB
- From the PortableSaves.zip, find PortableSaves.exe and the PortableSaves.ini inside the Example INI Files/FTL folder and put them in the same folder as FTL on the USB. (Make sure the .exe and the .ini are in the same folder!)
- Done! When you want to run FTL from your USB, just run PortableSaves.exe.
- Optional: Create a folder called "PortableSaves" in the folder you put everything in and copy in your existing save files if you want to use them
Download
Version 1.0 (I doubt I'll have more versions)
-mcpower