PDA

View Full Version : 3.5_JPG Ruleset Install Problem/Question



afd1366
January 2nd, 2009, 17:09
Hey All (and Moon_Wizard) in Particular,

I have attempted to load the d20_JPG v1.3.1 and encountered a problem:

Similar to the problem identified by a mr_joker_81 in another post, every time I try to start a "Workshop" campaign using this ruleset I am told that it "Could not load ruleset root file base.xml." I am using Windows Vista.

As indicated in the read-me file, I:

1. Unzipped the contents of the d20_JPG ruleset into the existing FG II Ruleset directory.

2. Copied the contents of the d20_JPG modules subdirectory (one module) into the FGII modules directory.

When I create a new campaign in order to experiment with the new ruleset, I get the "Could not load ruleset root file base.xml." message.

Unfortunately, Griogre's response was that Joker must have been trying to create a local character which I do not believe he was (and nor am I). There are no more posts with regard to correcting our problem.

Additionally, I have a question regarding the PCGen Setup instructions:

Am I to infer that I am supposed to create a new folder in C: Program Files, name it PCGen, then create a subfolder entitled PCGen5101, and then place the PCGen subdirectory from the d20_JPG ruleset into this new subdirectory or does the PCGen subdirectory already exist somewhere in my C drive by virtue of the initial download?

If these are ridiculous questions, I apologize, but I am at a loss.

Thanks in advance for any help offered,

Doug

Phystus
January 3rd, 2009, 18:14
When you unzipped the ruleset into your ruleset folder did you end up with folder named d20_JPG? That folder should contain 45 objects, including 7 folders. The file your error refers to, base.xml, should be in \rulesets\d20_JPG.

As for the PCGen setup, that path (or it's version-dependent equivalent) should already exist if you have PCGen installed. (If you don't have PCGen the files won't do you any good.) You copy the two files into C:\Program Files\PCGen\PCGen5101\outputsheets\d20\fantasy\htm lxml folder. Once you've done that you can create a character in PCGEN and export it as a character sheet or NPC sheet. This produces an xml file that can be cut an pasted into the db.xml file of a module.

Hope that helps!

~P

afd1366
January 3rd, 2009, 20:32
Thanks for the response, Phystus.

Here's my situation relative to your inquiries:

Yes, there is a folder named d_20 JPG in my Ruleset folder.
The d_20 JP folder contains 46 items, including 7 folders.
Yes, the base.xml is there.

Do I need to go into the base.xml and alter something?

As far as the PCGen thing - Wow, I feel like an idiot for not recognizing it as an external program. I've been off the whole FG & digital gaming scene for a while now. Now that I have a new laptop that's mine all mine (my kids crashed three consecutive PCs), I'm trying to get back up to speed.

Doug

Tenian
January 3rd, 2009, 20:47
Are you using a Lite license and trying to create local characters? Unless the ruleset has been specially created in a PAK file this will produce the error you mentioned.

afd1366
January 3rd, 2009, 20:50
Nope - Full License. I'm trying to create a new test campaign when I receive the error.

Oberoten
January 3rd, 2009, 21:09
Do you have everything in the base-folder or in it's proper subfolder?
IE there should be no lua script files in the base folder.

- Obe

afd1366
January 3rd, 2009, 21:23
Thanks for chiming in, Oberoten. I've silently picked your brain through your commentary for some time now.

Nothing has been altered from the configuration of the original download save the single module that the read.me instructs me to copy into the base FGII module subfolder.

All lua script files are in the d20_JPG Scripts subfolder.

This is extremely vexing.....:confused:

Phystus
January 3rd, 2009, 21:28
Have you upgraded FG to 2.6.3 by chance?

I ask because there's a statement in d20_JPG 1.3.1 base.xml that says:


<importinfo>
<acceptfrom ruleset="d20" />
</importinfo>

From the sound of it FG 2.6.3 removed the d20 ruleset, so that may be the problem. You might try removing that section of code (save a copy first!).

Odds are you'll then be missing the d20 library modules though. I'm not sure whether those were included in the new version of FG, or how they're packaged (I haven't upgraded yet). Much less how to fix it if it does happen. If anyone else has ideas, please chime in!

~P

afd1366
January 3rd, 2009, 21:43
Hah! I have indeed upgraded to FG 2.6.3. That may very well be the problem.

To answer your question regarding the d20 modules - yes, they are indeed gone and have been replaced by 4 somewhat pared down 3.5E modules. I'm not sure how (or if) I can access my CSRD modules anymore (see my post 3 threads down from here in the Armory).

Bear in mind - I'm no XML or FG inner-workings ninja. The new FG base ruleset is now called "foundation" and the update comes with an extension entitled "3.5E (version 1)". I'm not quite sure what the purpose/benefit of the extension is because I see no difference when I create a test campaign with or without it activated.

But I digress. So what you are saying is that I should try modifying "acceptfrom ruleset="d20" to "acceptfrom ruleset="foundation"?

BTW, I'm trying to download d20_JPG v2, the latest available.

afd1366
January 3rd, 2009, 22:06
No joy....

I tried removing the line you suggested, Phystus. Same error report.

I tried replacing "d20" with "foundation". Same error report.

I even decided to wing it and replace "d20" with "3.5E". Same error report.

Phystus
January 3rd, 2009, 22:10
Yes, give that a try. Though I think "foundation" might need to be capitalized.

If that works, I have an idea for the CSRD problem too.

~P

afd1366
January 3rd, 2009, 22:21
Phystus,

Addendum to my previous post -

It didn't work with "Foundation" capitalized, either.

As an aside, I am supposed to be selecting the d20_JPG v2 ruleset when I try to launch the new campaign using this ruleset, am I not? I mean, I'm assuming (based on watching Xorne select the 4E_JPG ruleset in his tutorials). I ask this because my understanding of the d20_JPG ruleset is that it primarily contains new utilities for FGII, not a truly "new" ruleset.

Listen, I know that some of my questions are extremely elementary when compared to the knowledge base of others in this community. So I really appreciate the time you're spending trying to help me.

Doug

Oberoten
January 3rd, 2009, 23:32
I am by no means a D20_jpg expert but it should be entirely self-contained.

Can you give us a description of the directory tree?

- Obe

afd1366
January 3rd, 2009, 23:33
When I run a validation check of the d20_JPG base.xml in XML Copy Editor, the only errors that are reported regard this string:

<!--
-- Please see the readme.txt file included with this distribution for
-- attribution and copyright information.
-->

The error reports read:

Error at Line 4, Column 5: not well formed (invalid token)
Error at Line 5, Column 3: comment not terminated

afd1366
January 3rd, 2009, 23:40
Obe,

Forgive my ignorance, but can you be more specific with regard to what you're asking for (i.e. directory tree)? I haven't quite got the lingo down yet and don't want to throw a lot of unecessary material at you.

If what you're asking for is the body of the d20_JPG base.xml (which I think it is), here it is:

?xml version="1.0" encoding="iso-8859-1"?>

<!--
-- Please see the readme.txt file included with this distribution for
-- attribution and copyright information.
-->

<root version="2.0" release="6">
<includefile source="bmpfonts.xml" />
<includefile source="graphics.xml" />

<includefile source="gameelements.xml" />

<includefile source="common_templates.xml" />

<includefile source="charsheet.xml" />
<includefile source="adventure.xml" />
<includefile source="utility.xml" />
<includefile source="library.xml" />
<includefile source="reference.xml" />

<includefile source="desktop.xml" />

<includefile source="thebox.xml" />

<desktopframe>desktop</desktopframe>

<script name="ChatManager" file="scripts/chatmanager.lua" />
<script name="GmIdentityManager" file="scripts/gmidentitymanager.lua" />
<script name="ModifierStack" file="scripts/modifierstack.lua" />
<script name="ExportManager" file="scripts/exportmanager.lua" />
<script name="WindowManager" file="scripts/windowmanager.lua" />
<script name="DesktopManager" file="scripts/manager_desktop.lua" />

<script name="d20JPGDesktop" file="scripts/desktop.lua" />

<tokenroot source="tokens" />

<importinfo>
<acceptfrom ruleset="d20" />
</importinfo>
</root>

Phystus
January 4th, 2009, 00:49
Have you tried removing those four lines of comments? Might be worth a shot.

~P

afd1366
January 4th, 2009, 01:04
Yes, I tried that with no success.

I even checked the example base.xml in the d20 ruleset bundled in my FGII full license for a similar occurrence of this text and the corresponding error messages and there they are, yet that ruleset operates fine.

Oberoten
January 4th, 2009, 01:19
The directory structure/tree



*Root
|____ Subdirectory 1
| |__Subdirectory 1 of Subdirectory 1
| |__Subdirectory 2 of Subdirectory 1
|
|_____Subdirectory 2


Etc.

In your Application Data folder is this the structure?

*Application Data Folder
|
|____Rulesets
|
|_D20_JPG
||_Scripts
||_Icons
||_Frames
||_Fonts
||_Tokens

And also? Did you install as Administrator? I have come to understand doing this in Vista screws things over in a royal way.

- Obe

afd1366
January 4th, 2009, 01:28
I'm beginning to come to the conclusion that this is a problem deriving from the incompatibility of the d20_JPG v2 with the new FGII v2.3.6 update. I have posted the problem over at FUM, the site from which I obtained the ruleset download. Hopefully Moon_Wizard will be able to shed some light on the subject.

I'm sort of in a quandry as I want to create and run my games with a supported ruleset and the extant d20 ruleset has been dropped by SW in favor of the new foundation/3.5E ruleset.

I'm going to try with the 4E_JPG ruleset just to see if I encounter a similar problem. I'll report back on that when I have a result to offer.

Phystus - you stated that you thought you might have a resolution/workaround regarding my inability to access CSRD modules in the new standard FG ruleset. Would you mind commenting on that in my other thread inquiring on that very issue?

https://www.fantasygrounds.com/forums/showthread.php?t=9494

I haven't heard a peep from anyone on that thread.

afd1366
January 4th, 2009, 01:42
Obe,

Ah - Thanks for the clarification.

Here you go (all located in C:\Users\<USER>\AppData\Roaming\Fantasy Grounds II\rulesets)

Folders:
fonts
frames
icons
modules
PCGen
scripts
tokens

Followed by 39 xml files:

adventure
adventure_images
adventure_items
adventure_npcs
adventure_story
etc.

Yup, I'm the Administrator.

Oberoten
January 4th, 2009, 01:45
Ahah...
... you need to make a folder named D20_Jpg under rulesets, all the files should go into that one.

Oberoten
January 4th, 2009, 01:50
Then proceed to start a new campaign and you should have D20_JPG as a ruleset option.

- Obe

Phystus
January 4th, 2009, 02:01
I'm beginning to come to the conclusion that this is a problem deriving from the incompatibility of the d20_JPG v2 with the new FGII v2.3.6 update. I have posted the problem over at FUM, the site from which I obtained the ruleset download. Hopefully Moon_Wizard will be able to shed some light on the subject.

I'm sort of in a quandry as I want to create and run my games with a supported ruleset and the extant d20 ruleset has been dropped by SW in favor of the new foundation/3.5E ruleset.

I'm going to try with the 4E_JPG ruleset just to see if I encounter a similar problem. I'll report back on that when I have a result to offer.

Phystus - you stated that you thought you might have a resolution/workaround regarding my inability to access CSRD modules in the new standard FG ruleset. Would you mind commenting on that in my other thread inquiring on that very issue?

https://www.fantasygrounds.com/forums/showthread.php?t=9494

I haven't heard a peep from anyone on that thread.

My resolution for the CSRD issue was based on the hypothesis that the ruleset statement in base.xml was the cause of the problem, which hasn't been confirmed.

Had it been the case, there's a reference to the ruleset in the definition.xml file in each module, and that would have to be changed as well.

Out of curiosity, did you have it up and running before the 2.3.6 upgrade, or is this a new install? If it's a new install, I'd consider reinstalling, not as adminstrator. My knowledge of Vista is sketchy but I've seen a lot of reports of problems here on the board that were apparently caused by that very thing.

~P

afd1366
January 4th, 2009, 02:07
Obe -

I failed to cite that I do indeed have a d20_JPG subdirectory in the FGII Rulesets directory (all of the files I listed previously are in that folder). When I attempt to launch a new campaign, I find the d20_JPG as an option in the rulesets available, but when the ruleset is selected I get the "Could not load root file base.xml" error message and FGII fails to launch.

I created a new user identity in Vista and assigned it as the administrator and downgraded my main user identity to plain user, then went back and retried the whole shebang with the same results.

afd1366
January 4th, 2009, 02:11
Phystus -

The d20_JPG ruleset is a new install (post FGII update). I will again reassign my current user ID as plain user and see if a full reload of d20_JPG yields any differing results.

I was unaware of the Administrator status problem. Any ideas been posited as to why this can cause such headaches?

Phystus
January 4th, 2009, 02:24
To tell you the truth I haven't followed it as I don't intend to run Vista. Just noticed a lot of posts where someone had a problem, fixed by a reinstall without admin.

~P

afd1366
January 4th, 2009, 02:48
Ahhhhh....same problem as a User. Well, let's hope for some input from the ruleset developer in light of the recent system upgrade.

I swear, I feel like I'm always one step behind the curve when it comes to this stuff.

Thanks go out to Phystus and Obe for giving the problem so much attention! You're both a credit to the FG community!

afd1366
January 4th, 2009, 03:14
BTW, I resolved the CSRD problem relative to the 2.3.6 FG upgrade.

Change the ruleset in each CSRD module's definition.xml from "d20" to "foundation" and they load up when you launch a campaign in FGII using the foundation ruleset and 3.5E extension.

I'll post this in my other thread regarding the problem.

The good news is, thanks to you guys, I did a lot of research today and learned a lot. This enabled me to try and successfully fix the FG 2.3.6/CSRD issue on my own.

afd1366
January 8th, 2009, 03:53
Moon_Wizard responded to the duplicate inquiry I made regarding this problem over in the FUM forums and offered a suggestion regarding a specific method of unzipping the d20_JPG files in the Apps Data Rulesets directory:

https://www.fouruglymonsters.com/index.php?option=com_fireboard&Itemid=42&func=view&catid=56&id=5077#5077

I will try out his suggestion this weekend and report back.

Doug

afd1366
January 20th, 2009, 02:42
Yep, Moon_Wizard's suggestion did it! Anyone experiencing similar problems to one I delineated in the OP should follow the link in the previous post (he explains it much more succinctly than I would).

Thanks again to everyone that offered their assistance.