It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I love Steam games that support saving your games to the cloud. Installing a game anywhere and continuing your game is a beautiful thing. I've come up with a slapdash way to add this functionality to possibly any game ever made.

IMPORTANT NOTE: During the writing of this post I realized something. This currently doesn't efficiently support saves requiring multiple files of various types where the files are intermixed with the game files. Basically, it will copy either one file, or all files in a folder specified. I'm fairly certain there is a way to specify multiple files in one line and loop through them. I just wanted to get this out ASAP.

You need two things:
A Dropbox account, or some similar system that allows you to treat a folder on your hard drive as a "cloud drive". Dropbox offers free accounts that can store up to 2GB at the time this was posted. From here on I'm going to assume Dropbox since that's what I'm using.

A batch file that will copy your saves to and from the cloud. I just happen to have a template below.

Follow these steps:
1. Create a batch file in the root directory of the game you are going to launch. A batch file is a file with a .bat extension that executes command line commands. If you don't know how to create a batch file see here (assuming you're in Windows).

2. Paste the following in the batch file:

@echo off
REM ------------------------------------------------------------------
REM Set variables
REM ------------------------------------------------------------------
set cloudpath=c:\MyDropbox\
set cloudgamepath=Might and Magic Series\Might and Magic 1 - Book I\
set cloudsavefolder=saves\
set cloudlauncherfolder=launcher\
set localsavepath=.\
set locallauncherpath=.\
set savefile=roster.dta
set launcherfile=cloudlaunch.bat
set launchcommand="C:\Program Files\GOG.com\Might & Magic VI Limited Edition\DOSBOX\dosbox.exe" -conf dosboxMM1.conf -noconsole -c "exit"

REM ------------------------------------------------------------------
REM Copy save from cloud
REM ------------------------------------------------------------------
echo.
echo "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%"
if exist "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%" (goto :copysavefromcloud) else (goto :launchgame)

:copysavefromcloud
echo , downloading from cloud
copy "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%" "%localsavepath%%savefile%" /y

REM ------------------------------------------------------------------
REM Execute %launchcommand%
REM ------------------------------------------------------------------
:launchgame
REM %launchcommand%

REM ------------------------------------------------------------------
REM Copy save(s) to cloud
REM ------------------------------------------------------------------
echo.
echo "%cloudpath%%cloudgamepath%%cloudsavefolder%"
if not exist "%cloudpath%%cloudgamepath%%cloudsavefolder%" (goto :createcloudsavepath) else (goto :copysavetocloud)

:createcloudsavepath
echo , creating
mkdir "%cloudpath%%cloudgamepath%%cloudsavefolder%"

:copysavetocloud
echo , uploading "%localsavepath%%savefile%"
copy "%localsavepath%%savefile%" "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%" /y

REM ------------------------------------------------------------------
REM Copy launcher to cloud
REM ------------------------------------------------------------------
echo.
echo "%cloudpath%%cloudgamepath%%cloudlauncherfolder%"
if not exist "%cloudpath%%cloudgamepath%%cloudlauncherfolder%" (goto :createcloudlauncherpath) else (goto :copylaunchertocloud)

:createcloudlauncherpath
echo , creating
mkdir "%cloudpath%%cloudgamepath%%cloudlauncherfolder%"

:copylaunchertocloud
echo , uploading "%locallauncherpath%%launcherfile%"
copy "%locallauncherpath%%launcherfile%" "%cloudpath%%cloudgamepath%%cloudlauncherfolder%%launcherfile%" /y

@echo on

2a. Edit the batch. The only parts you should have to edit are in the Set variables section. Note the back-slash '\' placement. When you customize this, that's likely to be the place to make mistakes.
- cloudpath : In the case of Dropbox, this is the path to your Dropbox folder. You can customize this to be any folder structure within your Dropbox folder.
- cloudgamepath : This is for more organizational purposes.
- cloudsavefolder : Again, more organization. I like to have my saves and launchers separate. Obviously this one is for saves files.
- cloudlauncherfolder : Again, more organization. I like to have my saves and launchers separate. I copy the launcher up to the cloud just to make it easier when setting up a new location since depending on setup the files may not be installed to the exact same location on each PC.
- localsavepath : Where to find the local save file or files.
- locallauncherpath : Where to find this launcher... it's always 'right here' so this is really unnecessary, but I like things to be uniform.
- savefile : The file the game uses for saving the game. You can also use wildcards (e.g. '*.dat', '*.*')
- launcherfile : Another sort of fluffy one, the name of the batch file
- launchcommand : The command line to launch the game. Above you'll see I'm launching DOSBOX which is running Might and Magic 1.

That's really it.

I'm sure there's mistakes somewhere within the explanation, but the batch should work just fine once properly configured. Also notice that folders and files will be created and copied after the game launches the first time. You don't have to setup the cloud directories prior to running your batch.

Enjoy!
Great work! An alternate method is outlined in this thread.
GameSave Manager can do something similar BTW, although I think it symlinks your save directory to your Dropbox so there is no copying.
And of course you have to install another program instead of using batch scripts.
Edit: Of course it's not as fancy as the solution Vagabond suggested either, which has three pages of instructions. ;)
Post edited November 24, 2010 by Smannesman
This entire post seems oddly familiar...

Oh yeah, now I remember:
http://www.gog.com/en/forum/general/howto_online_storage_and_sync_of_save_game_files

EDIT - Damn! Ninja'd by Vagabond.
Post edited November 24, 2010 by cogadh
Mandatory Dropbox referral link. 250 more Mb if you sign up using a referral link (and the referrer gets 250 more Mb as well).
avatar
YardGnomeNinja: I love Steam games that support saving your games to the cloud. Installing a game anywhere and continuing your game is a beautiful thing. I've come up with a slapdash way to add this functionality to possibly any game ever made.

IMPORTANT NOTE: During the writing of this post I realized something. This currently doesn't efficiently support saves requiring multiple files of various types where the files are intermixed with the game files. Basically, it will copy either one file, or all files in a folder specified. I'm fairly certain there is a way to specify multiple files in one line and loop through them. I just wanted to get this out ASAP.

You need two things:
A Dropbox account, or some similar system that allows you to treat a folder on your hard drive as a "cloud drive". Dropbox offers free accounts that can store up to 2GB at the time this was posted. From here on I'm going to assume Dropbox since that's what I'm using.

A batch file that will copy your saves to and from the cloud. I just happen to have a template below.

Follow these steps:
1. Create a batch file in the root directory of the game you are going to launch. A batch file is a file with a .bat extension that executes command line commands. If you don't know how to create a batch file see here (assuming you're in Windows).

2. Paste the following in the batch file:

@echo off
REM ------------------------------------------------------------------
REM Set variables
REM ------------------------------------------------------------------
set cloudpath=c:\MyDropbox\
set cloudgamepath=Might and Magic Series\Might and Magic 1 - Book I\
set cloudsavefolder=saves\
set cloudlauncherfolder=launcher\
set localsavepath=.\
set locallauncherpath=.\
set savefile=roster.dta
set launcherfile=cloudlaunch.bat
set launchcommand="C:\Program Files\GOG.com\Might & Magic VI Limited Edition\DOSBOX\dosbox.exe" -conf dosboxMM1.conf -noconsole -c "exit"

REM ------------------------------------------------------------------
REM Copy save from cloud
REM ------------------------------------------------------------------
echo.
echo "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%"
if exist "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%" (goto :copysavefromcloud) else (goto :launchgame)

:copysavefromcloud
echo , downloading from cloud
copy "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%" "%localsavepath%%savefile%" /y

REM ------------------------------------------------------------------
REM Execute %launchcommand%
REM ------------------------------------------------------------------
:launchgame
REM %launchcommand%

REM ------------------------------------------------------------------
REM Copy save(s) to cloud
REM ------------------------------------------------------------------
echo.
echo "%cloudpath%%cloudgamepath%%cloudsavefolder%"
if not exist "%cloudpath%%cloudgamepath%%cloudsavefolder%" (goto :createcloudsavepath) else (goto :copysavetocloud)

:createcloudsavepath
echo , creating
mkdir "%cloudpath%%cloudgamepath%%cloudsavefolder%"

:copysavetocloud
echo , uploading "%localsavepath%%savefile%"
copy "%localsavepath%%savefile%" "%cloudpath%%cloudgamepath%%cloudsavefolder%%savefile%" /y

REM ------------------------------------------------------------------
REM Copy launcher to cloud
REM ------------------------------------------------------------------
echo.
echo "%cloudpath%%cloudgamepath%%cloudlauncherfolder%"
if not exist "%cloudpath%%cloudgamepath%%cloudlauncherfolder%" (goto :createcloudlauncherpath) else (goto :copylaunchertocloud)

:createcloudlauncherpath
echo , creating
mkdir "%cloudpath%%cloudgamepath%%cloudlauncherfolder%"

:copylaunchertocloud
echo , uploading "%locallauncherpath%%launcherfile%"
copy "%locallauncherpath%%launcherfile%" "%cloudpath%%cloudgamepath%%cloudlauncherfolder%%launcherfile%" /y

@echo on

2a. Edit the batch. The only parts you should have to edit are in the Set variables section. Note the back-slash '\' placement. When you customize this, that's likely to be the place to make mistakes.
- cloudpath : In the case of Dropbox, this is the path to your Dropbox folder. You can customize this to be any folder structure within your Dropbox folder.
- cloudgamepath : This is for more organizational purposes.
- cloudsavefolder : Again, more organization. I like to have my saves and launchers separate. Obviously this one is for saves files.
- cloudlauncherfolder : Again, more organization. I like to have my saves and launchers separate. I copy the launcher up to the cloud just to make it easier when setting up a new location since depending on setup the files may not be installed to the exact same location on each PC.
- localsavepath : Where to find the local save file or files.
- locallauncherpath : Where to find this launcher... it's always 'right here' so this is really unnecessary, but I like things to be uniform.
- savefile : The file the game uses for saving the game. You can also use wildcards (e.g. '*.dat', '*.*')
- launcherfile : Another sort of fluffy one, the name of the batch file
- launchcommand : The command line to launch the game. Above you'll see I'm launching DOSBOX which is running Might and Magic 1.

That's really it.

I'm sure there's mistakes somewhere within the explanation, but the batch should work just fine once properly configured. Also notice that folders and files will be created and copied after the game launches the first time. You don't have to setup the cloud directories prior to running your batch.

Enjoy!
Hey,

Great tip.

I was wondering if you could do one for ordinary files...e.g. this would be really useful for autosynching docs in My Documents...I have Dropbox but have to save manually...it can be easy to forget to save in Dropbox folder though, would be helpful to specify anything in certain folders are auto-synched .
avatar
Lucibel: Hey,

Great tip.

I was wondering if you could do one for ordinary files...e.g. this would be really useful for autosynching docs in My Documents...I have Dropbox but have to save manually...it can be easy to forget to save in Dropbox folder though, would be helpful to specify anything in certain folders are auto-synched .
It should, however I just use Briefcases.
avatar
Lucibel: Hey,

Great tip.

I was wondering if you could do one for ordinary files...e.g. this would be really useful for autosynching docs in My Documents...I have Dropbox but have to save manually...it can be easy to forget to save in Dropbox folder though, would be helpful to specify anything in certain folders are auto-synched .
What you might also try is SyncToy.
It's a free Microsoft tool to 'sync' folders. You could select your My Documents and exclude the My Dropbox folder.
Again, the downside is having another program installed and having to use a GUI to do your thing.
Thanks!
I'd like to ask, waht is so great about Cloud? What does it exactly do? Am I right that you can store your saves and settings on thier servers?
And that's it? I store them at my PC and I am quite content with it.
What's advantage of storing it in Cloud?
I don't have any game supporting it so I can actually try, that's why I ask here.
Thanks in advance.
avatar
Vitek: I'd like to ask, waht is so great about Cloud? What does it exactly do? Am I right that you can store your saves and settings on thier servers?
And that's it? I store them at my PC and I am quite content with it.
What's advantage of storing it in Cloud?
I don't have any game supporting it so I can actually try, that's why I ask here.
Thanks in advance.
The point is having your files available wherever you are.
If your saves are in a cloud you can install the game on any computer with internet and use the same saves you use(d) at home.
Well darn. I did a search before posting this to see if someone already outlined something similar, but came up empty.

Oh well. :)