Page 1 of 1
Portable Forge Support...

Posted:
09 Sep 2013, 03:36
by noian
So I know that some recent versions of Forge switched to saving image pictures on the local machine, which is good for upgrading versions, but not that great if I just want to keep everything on an external Hard Drive. It's also VERY annoying when I have dual boot system of XP (64 bit)/Win7 (Yes, some games actually run better on WinXP than Win7, don't ask me why). Will it be possible to add in an option to support the old method of file management in a future version?
Re: Portable Forge Support...

Posted:
09 Sep 2013, 06:41
by moomarc
There's no need to support the old method. Just check your Forge installation folder for forge.profile.properties.example and remove the .example from the name. Open it in any text editing program and you can specify a folder for userDir, cacheDir and cardPicsDir. You can also specify set folder names. All lines in the file beginning with a hash (#) can be deleted or ignored as they are just there to explain each function.
Using this file you could migrate all your user data and pics to a folder named ForgeCommonData and either keep it in a commonly accessible location or in the Forge directory itself. In future releases you just need to copy this file to the new release.
My profile uses the following as an example:
userDir=F:/Personal/CardForge/ForgeCommon/User
cacheDir=F:/Personal/CardForge/ForgeCommon/Cache
cardPicsDir=
(I left the cardPicsDir unspecified so it uses the default <the cacheDir defined above>/pics/cards/)
Hope that helps!
Using this method you could also store the data in your
Re: Portable Forge Support...

Posted:
11 Sep 2013, 00:28
by neurodrjoshua
I made the forge.profile.properties file with the following:
userDir=C:/Documents/forge-1.4.7/Magic/user
cacheDir=C:/Documents/forge-1.4.7/Magic/cache
cardPicsDir=
These are the only lines on the file and it still sends the files to default app data, etc folders. Is there something I am missing in the file?
As a side note I am able to run Forge using jportable from a usb drive. The forge.profile.properties doesn't work for that either.
Re: Portable Forge Support...

Posted:
11 Sep 2013, 15:32
by neurodrjoshua
I figured out the problem. When saving the forge.profile.properties using windows notepad it saved it with the properties extension effectively making the file name: forge.profile.properties.properties. I changed the name just to forge.profile while still maintaining the properties extension and it worked fine. Now I have 1.4.7 running from a usb drive that can run on any pc and saves all of my data.
Re: Portable Forge Support...

Posted:
12 Sep 2013, 07:47
by moomarc
I have my file extensions visible so never encountered that problem, so I'm glad you managed to sort it out.