Page 1 of 1

Branching for another card game

PostPosted: 26 Aug 2014, 22:09
by schnautzr
I'd like to make a branch to handle the trading card game ''Redemption'', and also possibly for ''Digimon Hyper Colosseum''. However, I'm having troubles figuring out where the code is that tells the program where to look for my %APPDATA%, so I've had to develop on a different Windows profile-- very inconvenient. Can someone tell me where that code is? Thanks!

Re: Branching for another card game

PostPosted: 28 Aug 2014, 05:17
by timmermac
Forge is set up for Magic only. You would probably have to code for a different game from scratch.

Re: Branching for another card game

PostPosted: 28 Aug 2014, 13:36
by rikimbo
If I understand what you're asking correctly, you can actually change where forge looks for the things it normally finds in %APPDATA%/Forge without changing anything in the code. You can rename the "forge.profile.properties.example" file to "forge.profile.properties", edit it in a text editor and set values for these fields:

cacheDir=
cardPicsDir=

Then you can have several installations of Forge existing concurrently, each looking for the user data and cache data in separate locations.

Re: Branching for another card game

PostPosted: 28 Aug 2014, 23:17
by schnautzr
Thanks, rikimbo! No wonder I couldn't find it in the code!

Re: Branching for another card game

PostPosted: 29 Aug 2014, 15:33
by schnautzr
So far, so good! It is working wonderfully. Last year I started on a branch to handle both Forge and Redemption (which was coming along great) but gave up when I accidentally screwed up my existing Forge installation a few weeks ago. This should keep that from happening again!