Page 1 of 1

Can the default My Games location folder be changed for PzC?

Posted: Thu Feb 02, 2012 10:25 pm
by El_Condoro
I would really like to have this folder, with all its important and non-replaceable data, as part of my Dropbox folder so that it can be backed up. So far I cannot find any way to get PzC to use a folder other than the default My Games\Panzer Corps folder, so I am manually copying the files across to Dropbox for backup.

Is there a way, perhaps in the registry (have looked but can't see anything) to change this folder location?

Posted: Thu Feb 02, 2012 11:56 pm
by VPaulus
As far as I know it's hardcoded.

Posted: Fri Feb 03, 2012 10:58 am
by IainMcNeil
No sorry

Posted: Fri Feb 03, 2012 12:12 pm
by Tarrak
Maybe a symbolic link can solve the problem.

Move the PC data from their original directory into your dropbox folder and then create there a symbolic link pointing to the new location. The game should call the OS functions to save the file and the OS should then follow the link and place the files in your dropbox folder. I will test it when i find some time. Of course before experimenting make a backup of your data first. You never know with computers.

Edit: I don't like untested ideas so i just took me the time to test it. :) Yes it is working. At least on Windows 7 and Vista. If you are still using Windows XP it doesn't support symbolic links but you can probably achieve the same using Junction points. I can not verify this tho as i do not have any Windows XP system anymore. On top of that the usage of junction points is a bit more tricky.

Posted: Fri Feb 03, 2012 1:34 pm
by El_Condoro
You have revolutionised my Dropbox! Thank you. Not only does it work for the application I had in mind, I can also now link to other PzC mods and folders (in the GME, for example) that I can now store in Dropbox and access anywhere. Cheers!

Posted: Fri Feb 03, 2012 2:53 pm
by Tarrak
Glad i could help. :)

Re: Can the default My Games location folder be changed for

Posted: Tue Feb 21, 2012 2:07 am
by Amaranthus
This is a brilliant solution Tarrak. I'm using this too, and can confirm that using junction to achieve this in XP also works (I'm now seamlessly sharing my Panzer Corps save files between a Windows 7 notebook and a Windows XP desktop)

Re: Can the default My Games location folder be changed for

Posted: Tue Feb 21, 2012 11:14 am
by IainMcNeil
Look at you and your fancy symbolic links!

Seriously though - nice workaround :)

Re: Can the default My Games location folder be changed for

Posted: Tue Feb 21, 2012 9:18 pm
by El_Condoro
Might be nice to have it in the game setup and options, if possible, too.

Re: Can the default My Games location folder be changed for

Posted: Tue Feb 21, 2012 10:00 pm
by VPaulus
Done. But please feel free to edit the sticky as well.