PDA

View Full Version : Ruleset Folders



MadBeardMan
November 21st, 2015, 16:13
Evening folks,

I found this over on the CoC forum and have a question.


The problem is most likely because it is an older install. In versions of the CoC ruleset older than about a year, the installer placed the ruleset files in a folder, instead of installing as a PAK file as it does now. Ruleset folders override PAK files, to allow community developers to work on new content without it getting overwritten.

Am I correct in thinking that if I have a folder structure such as this:

D:\FantasyGrounds\rulesets\Traveller

Then I don't need to zip that folder to make the Traveller.pak?

So it means I can code outside (in my dev folder) and xcopy the folder stucture and not need the .pak so much quicker to check/update/dev changes.

Cheers
MBM

MadBeardMan
November 21st, 2015, 16:22
Ah did some tests.

If I have the .pak, then it uses that, if I remove the .pak then it uses the folder - super.

ddavison
November 21st, 2015, 16:23
That is correct. The rulesets folder should be located in your Application Data Folder and not your Program Folder where the EXE is stored. Otherwise, yes, you can have a folder that is not zipped up instead of a PAK file.

MadBeardMan
November 21st, 2015, 16:29
That is correct. The rulesets folder should be located in your Application Data Folder and not your Program Folder where the EXE is stored. Otherwise, yes, you can have a folder that is not zipped up instead of a PAK file.

Yep, super little feature. I've decided to work the other way around, code direct into the FG folder and then linked that to my BitBucket source.

Nice, now to continue with Character Sheets...

Trenloe
November 21st, 2015, 17:30
If I have the .pak, then it uses that, if I remove the .pak then it uses the folder - super.
It should be the other way around - the directory will take priority over a .PAK of the same name. This is the same for rulesets (.PAK), extensions (.EXT) and modules (.MOD) - a directory of the same name will be used instead of the packaged file.

MadBeardMan
November 21st, 2015, 17:34
It should be the other way around - the directory will take priority over a .PAK of the same name. This is the same for rulesets (.PAK), extensions (.EXT) and modules (.MOD) - a directory of the same name will be used instead of the packaged file.

You are correct, dunno why it didn't work when I checked not so long ago, cache?

All working now though, which is ace.