Save game on more than one computer

Tips, tactics, and general discussion for Evochron Legacy.
airassassin
Lieutenant
Lieutenant
Posts: 212
Joined: Sat Jul 02, 2011 9:53 pm

Save game on more than one computer

Post by airassassin »

As most of you know I have 2 computers now. I have dropbox

Dropbox.com

and I was wondering if there is a way to get the game to save on and load from there
Like I found the save game file but right now I have to manually move and replace it from my tower to my laptop when I go on trips. I want to use something like dropbox so I don't have to worry about having the most current saved file.
Tech Reviews and Help videos https://www.youtube.com/user/TechRHelp
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 13936
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

Save game on more than one computer

Post by Marvin »

:cool: Email it to yourself.
Malix
Lieutenant
Lieutenant
Posts: 136
Joined: Tue May 24, 2011 7:24 pm
Location: Finland

Save game on more than one computer

Post by Malix »

how about making a .bat which:

1. copies the save from dropbox to c:\\sw3dg if newer
2. starts the game
3. copies the save crom c:\\sw3dg to dropbox

or you could use symlinks (I just discovered these on windows, haven't tried this, but will try later tonight when I get home), basically what you do is:

1. move c:\\sw3dg into dropbox, (lets assume its D:\\herpderp\\dropbox\\)
2. run cmd as administrator
3: type in this into cmd:

Code: Select all

mklink /D c:\\sw3dg d:\\herpderp\\dropbox\\sw3dg

4. done, enjoy! :)

sources: http://www.windows7home.net/how-to-crea ... windows-7/

(quick googling reveals this is present in vista too, no idea about XP)

EDIT3:
http://www.howtogeek.com/howto/windows- ... ows-vista/ states that soft links (/D switch in mklink) "mostly work" and hardlinks (/H for files, /J for folders, apparently) would be better.. I'll experiment later tonight with these and report back

[Edited on 9-21-2011 by Malix]
Evochron Mercenaries rank: newbie
airassassin
Lieutenant
Lieutenant
Posts: 212
Joined: Sat Jul 02, 2011 9:53 pm

Save game on more than one computer

Post by airassassin »

From post: 115448, Topic: tid=7999, author=Malix wrote:how about making a .bat which:

1. copies the save from dropbox to c:\\sw3dg if newer
2. starts the game
3. copies the save crom c:\\sw3dg to dropbox

or you could use symlinks (I just discovered these on windows, haven't tried this, but will try later tonight when I get home), basically what you do is:

1. move c:\\sw3dg into dropbox, (lets assume its D:\\herpderp\\dropbox\\)
2. run cmd as administrator
3: type in this into cmd:

Code: Select all

mklink /D c:\\sw3dg d:\\herpderp\\dropbox\\sw3dg

4. done, enjoy! :)

sources: http://www.windows7home.net/how-to-crea ... windows-7/

(quick googling reveals this is present in vista too, no idea about XP)

EDIT3:
http://www.howtogeek.com/howto/windows- ... ows-vista/ states that soft links (/D switch in mklink) "mostly work" and hardlinks (/H for files, /J for folders, apparently) would be better.. I'll experiment later tonight with these and report back

[Edited on 9-21-2011 by Malix]
I'm having trouble with this. I try d h and j. On all of them I just get a "The syntax of the command is incorrect".

I try both letting it make a file or use a file that's already there.

The code I put in looks like

Code: Select all

mklink /D c:\\sw3dg c:\\users\\AA\\documents\\My Dropbox
This is when I try it with the files that is already there

When I take the spaces out I get "Cannot create a file when that file already exists"


[Edited on 9-22-2011 by airassassin]
Tech Reviews and Help videos https://www.youtube.com/user/TechRHelp
Malix
Lieutenant
Lieutenant
Posts: 136
Joined: Tue May 24, 2011 7:24 pm
Location: Finland

Save game on more than one computer

Post by Malix »

From post: 115452, Topic: tid=7999, author=airassassin wrote:
From post: 115448, Topic: tid=7999, author=Malix wrote: 1. move c:\\sw3dg into dropbox, (lets assume its D:\\herpderp\\dropbox\\)
2. run cmd as administrator
3: type in this into cmd:

Code: Select all

mklink /D c:\\sw3dg d:\\herpderp\\dropbox\\sw3dg

4. done, enjoy! :)
I'm having trouble with this. I try d h and j. On all of them I just get a "The syntax of the command is incorrect".

I try both letting it make a file or use a file that's already there.

The code I put in looks like

Code: Select all

mklink /D c:\\sw3dg c:\\users\\AA\\documents\\My Dropbox
This is when I try it with the files that is already there

When I take the spaces out I get "Cannot create a file when that file already exists"
[Edited on 9-22-2011 by airassassin]
sounds to me like you skipped #1 (c:\\sw3dg is still on c:\\, instead of your dropbox), so actually move the sw3dg -folder from c:\\ to your dropbox. mklink cannot create a link when a file/folder of the same name exists. the link works as a reference from then on.

also, I wouldn't advice linking to the root of your dropbox as you probably have some misc. files floating around there, but instead link to a subfolder, (as adviced in previous post) something like:

Code: Select all

mklink /D c:\\sw3dg "c:\\users\\AA\\documents\\My Dropbox\\sw3dg"
added quotes, because your dropbox path had spaces. This could have had something to do with the syntax error, as spaces separate parameters, and mklink only takes 3 parameters, without quotes, your dropbox -path is split by space and considered as 3rd and 4th parameter.
always quotes when paths have spaces! :)

also, tested this last night, worked just fine on win7, no idea if it works as smoothly on vista. apparently XP doesn't have this feature at all (do correct me if I'm wrong). :cool:

Hope this helps! :)

(ps. remember #4.)
Evochron Mercenaries rank: newbie
airassassin
Lieutenant
Lieutenant
Posts: 212
Joined: Sat Jul 02, 2011 9:53 pm

Save game on more than one computer

Post by airassassin »

From post: 115522, Topic: tid=7999, author=Malix wrote:
From post: 115452, Topic: tid=7999, author=airassassin wrote:
From post: 115448, Topic: tid=7999, author=Malix wrote: 1. move c:\\sw3dg into dropbox, (lets assume its D:\\herpderp\\dropbox\\)
2. run cmd as administrator
3: type in this into cmd:

Code: Select all

mklink /D c:\\sw3dg d:\\herpderp\\dropbox\\sw3dg

4. done, enjoy! :)
I'm having trouble with this. I try d h and j. On all of them I just get a "The syntax of the command is incorrect".

I try both letting it make a file or use a file that's already there.

The code I put in looks like

Code: Select all

mklink /D c:\\sw3dg c:\\users\\AA\\documents\\My Dropbox
This is when I try it with the files that is already there

When I take the spaces out I get "Cannot create a file when that file already exists"
[Edited on 9-22-2011 by airassassin]
sounds to me like you skipped #1 (c:\\sw3dg is still on c:\\, instead of your dropbox), so actually move the sw3dg -folder from c:\\ to your dropbox. mklink cannot create a link when a file/folder of the same name exists. the link works as a reference from then on.

also, I wouldn't advice linking to the root of your dropbox as you probably have some misc. files floating around there, but instead link to a subfolder, (as adviced in previous post) something like:

Code: Select all

mklink /D c:\\sw3dg "c:\\users\\AA\\documents\\My Dropbox\\sw3dg"
added quotes, because your dropbox path had spaces. This could have had something to do with the syntax error, as spaces separate parameters, and mklink only takes 3 parameters, without quotes, your dropbox -path is split by space and considered as 3rd and 4th parameter.
always quotes when paths have spaces! :)

also, tested this last night, worked just fine on win7, no idea if it works as smoothly on vista. apparently XP doesn't have this feature at all (do correct me if I'm wrong). :cool:

Hope this helps! :)

(ps. remember #4.)
I have windows 7. Now the thing is saying Invalid switch - "c:\\sw3dg"
Tech Reviews and Help videos https://www.youtube.com/user/TechRHelp
Malix
Lieutenant
Lieutenant
Posts: 136
Joined: Tue May 24, 2011 7:24 pm
Location: Finland

Save game on more than one computer

Post by Malix »

Sounds like you are giving the parameters in wrong order. You can check the proper syntax with mklink without parameters, i think.
Evochron Mercenaries rank: newbie
airassassin
Lieutenant
Lieutenant
Posts: 212
Joined: Sat Jul 02, 2011 9:53 pm

Save game on more than one computer

Post by airassassin »

From post: 115537, Topic: tid=7999, author=Malix wrote:Sounds like you are giving the parameters in wrong order. You can check the proper syntax with mklink without parameters, i think.
Well at worst case I can just copy and past the file to drop box then to the other computer when I switch computers
Tech Reviews and Help videos https://www.youtube.com/user/TechRHelp
Malix
Lieutenant
Lieutenant
Posts: 136
Joined: Tue May 24, 2011 7:24 pm
Location: Finland

Save game on more than one computer

Post by Malix »

From post: 115538, Topic: tid=7999, author=airassassin wrote:
From post: 115537, Topic: tid=7999, author=Malix wrote:Sounds like you are giving the parameters in wrong order. You can check the proper syntax with mklink without parameters, i think.
Well at worst case I can just copy and past the file to drop box then to the other computer when I switch computers
to me it sounds like you just have some issues with syntax. post exact error message and filelist of C:\\ and I can have a looksie to sort this out.

the link to dropbox has been sweet to me, atleast :)
Evochron Mercenaries rank: newbie