Jaxilon
November 9th, 2019, 19:39
I've been waiting for someone else to start a thread for issues using the GURPS ruleset but it seems I'm first so I'll go ahead.
While some of these issues may apply to FGU there is a good chance much of them are specific to our ruleset so keep that in mind if you are reading this and are NOT a GURPS user.
NOTE: you will need to be able to modify the files in GURPS.pak. This file can be found at <yourusernamehere>\AppData\Roaming\SmiteWorks\Fantasy Grounds\rulesets:
a. Rename GURPS.pak to GURPS.zip
b. Extract the ruleset to the "Roaming\SmiteWorks\Fantasy Grounds\rulesets" directory.
you will now have a GURPS folder in the Fantasy Grounds>rulesets directory and are ready to make changes as needed.
So things I've found...
XML comment issues
First of all when loading GURPS I had some xml format issues regarding comments. If you suffer the same listen to what Moon Wizard says:
The issue is that some older extensions and rulesets have comments encoded like this:
<!--
-- This is a comment
-->
According to the built-in parser for .Net which is used by FG (since it's built-in and we don't have to maintain) and which is a little stricter on enforcing valid XML, a "--" set of characters is not allowed within comments.
So it should be:
<!--
This is a comment
-->
Once you make that change, that error will go away.
Regards,
JPG
Basically change the comment to get rid of the '--' stuff it's complaining about.
FONT issues
Next I experienced a font issue warning in the console that does not stop things from loading but shouldn't be there.
[11/9/2019 1:03:05 PM] [NOTICE] Launcher scene starting.
[11/9/2019 1:03:09 PM] [NOTICE] Spawning private server.
[11/9/2019 1:03:11 PM] [NOTICE] Connected to game server.
[11/9/2019 1:03:11 PM] [NOTICE] Launcher scene exiting.
[11/9/2019 1:03:11 PM] [NOTICE] Tabletop scene starting.
[11/9/2019 1:03:19 PM] [WARNING] font: Could not find TTF tag for asset (sheetnumberlarge) in ruleset (GURPS) (graphics/graphics_fonts.xml)
[11/9/2019 1:03:19 PM] [WARNING] font: Could not find TTF tag for asset (sheetnumbersmall) in ruleset (GURPS) (graphics/graphics_fonts.xml)
[11/9/2019 1:03:19 PM] [WARNING] font: Could not find TTF tag for asset (sheetlabelsmall) in ruleset (GURPS) (graphics/graphics_fonts.xml)
How I fixed it:
1) Copy the "Open_Sans" folder from the CoreRPG.pak to the GURPS ruleset (you have to rename to .zip to do this).
Go to your installation directory = <yourusername>\AppData\Roaming\SmiteWorks\Fantasy_Grounds\rulese ts.
Rename CoreRPG.pak as a .zip file.
Browse into the CoreRPG.zip file to the '\CoreRPG\graphics\fonts' folder
copy the folder named "Open_Sans"
go to <yourusername>\AppData\Roaming\SmiteWorks\Fantasy_Grounds\rulese ts\GURPS\graphics\fonts
Paste the copied "Open_Sans" folder to here.
Remember to rename CoreRPG.zip back to CoreRPG.pak
2) Modify the GURPS graphics_fonts.xml file.
FROM:
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->
<root>
<!-- Number fields -->
<font name="sheetnumberlarge">
<fgffile name="graphics/fonts/bold-14.fgf" />
<color value="#000000" />
</font>
<font name="sheetnumbersmall">
<fgffile name="graphics/fonts/regular-8.fgf" />
<color value="#000000" />
</font>
<font name="sheetlabelsmall">
<fgffile name="graphics/fonts/bold-8.fgf" />
<color value="#000000" />
</font>
</root>
TO (changes highlighted in red):
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->
<root>
<!-- Number fields -->
<font name="sheetnumberlarge">
<fgffile name="graphics/fonts/bold-14.fgf" />
<ttf file="graphics/fonts/Open_Sans/OpenSans-Bold.ttf" name="Open Sans Bold" size="16" />
<color value="#000000" />
</font>
<font name="sheetnumbersmall">
<fgffile name="graphics/fonts/regular-8.fgf" />
<ttf file="graphics/fonts/Open_Sans/OpenSans-Regular.ttf" name="Open Sans" size="12" />
<color value="#000000" />
</font>
<font name="sheetlabelsmall">
<fgffile name="graphics/fonts/bold-8.fgf" />
<ttf file="graphics/fonts/Open_Sans/OpenSans-Regular.ttf" name="Open Sans" size="12" />
<color value="#000000" />
</font>
</root>
After that I seem to be loading up just fine. I'm not play testing anything yet but I've got the drag & drop items working and roles seem to be functioning as expected.
I might also note, it does not seem correct that I needed to copy the Open_Sans folder to the GURPS rules so there may be a better solution to that. I'm just forging ahead and if it works for now I'm fine with it.
I'll update this thread as and if I find anything else but feel free to post and/or ask stuff regarding GURPS here if you like or just make another thread. Hopefully someone will see it in the midst of all the other threads.
Anyhow, I hope this helps someone else.
Best regards!
While some of these issues may apply to FGU there is a good chance much of them are specific to our ruleset so keep that in mind if you are reading this and are NOT a GURPS user.
NOTE: you will need to be able to modify the files in GURPS.pak. This file can be found at <yourusernamehere>\AppData\Roaming\SmiteWorks\Fantasy Grounds\rulesets:
a. Rename GURPS.pak to GURPS.zip
b. Extract the ruleset to the "Roaming\SmiteWorks\Fantasy Grounds\rulesets" directory.
you will now have a GURPS folder in the Fantasy Grounds>rulesets directory and are ready to make changes as needed.
So things I've found...
XML comment issues
First of all when loading GURPS I had some xml format issues regarding comments. If you suffer the same listen to what Moon Wizard says:
The issue is that some older extensions and rulesets have comments encoded like this:
<!--
-- This is a comment
-->
According to the built-in parser for .Net which is used by FG (since it's built-in and we don't have to maintain) and which is a little stricter on enforcing valid XML, a "--" set of characters is not allowed within comments.
So it should be:
<!--
This is a comment
-->
Once you make that change, that error will go away.
Regards,
JPG
Basically change the comment to get rid of the '--' stuff it's complaining about.
FONT issues
Next I experienced a font issue warning in the console that does not stop things from loading but shouldn't be there.
[11/9/2019 1:03:05 PM] [NOTICE] Launcher scene starting.
[11/9/2019 1:03:09 PM] [NOTICE] Spawning private server.
[11/9/2019 1:03:11 PM] [NOTICE] Connected to game server.
[11/9/2019 1:03:11 PM] [NOTICE] Launcher scene exiting.
[11/9/2019 1:03:11 PM] [NOTICE] Tabletop scene starting.
[11/9/2019 1:03:19 PM] [WARNING] font: Could not find TTF tag for asset (sheetnumberlarge) in ruleset (GURPS) (graphics/graphics_fonts.xml)
[11/9/2019 1:03:19 PM] [WARNING] font: Could not find TTF tag for asset (sheetnumbersmall) in ruleset (GURPS) (graphics/graphics_fonts.xml)
[11/9/2019 1:03:19 PM] [WARNING] font: Could not find TTF tag for asset (sheetlabelsmall) in ruleset (GURPS) (graphics/graphics_fonts.xml)
How I fixed it:
1) Copy the "Open_Sans" folder from the CoreRPG.pak to the GURPS ruleset (you have to rename to .zip to do this).
Go to your installation directory = <yourusername>\AppData\Roaming\SmiteWorks\Fantasy_Grounds\rulese ts.
Rename CoreRPG.pak as a .zip file.
Browse into the CoreRPG.zip file to the '\CoreRPG\graphics\fonts' folder
copy the folder named "Open_Sans"
go to <yourusername>\AppData\Roaming\SmiteWorks\Fantasy_Grounds\rulese ts\GURPS\graphics\fonts
Paste the copied "Open_Sans" folder to here.
Remember to rename CoreRPG.zip back to CoreRPG.pak
2) Modify the GURPS graphics_fonts.xml file.
FROM:
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->
<root>
<!-- Number fields -->
<font name="sheetnumberlarge">
<fgffile name="graphics/fonts/bold-14.fgf" />
<color value="#000000" />
</font>
<font name="sheetnumbersmall">
<fgffile name="graphics/fonts/regular-8.fgf" />
<color value="#000000" />
</font>
<font name="sheetlabelsmall">
<fgffile name="graphics/fonts/bold-8.fgf" />
<color value="#000000" />
</font>
</root>
TO (changes highlighted in red):
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->
<root>
<!-- Number fields -->
<font name="sheetnumberlarge">
<fgffile name="graphics/fonts/bold-14.fgf" />
<ttf file="graphics/fonts/Open_Sans/OpenSans-Bold.ttf" name="Open Sans Bold" size="16" />
<color value="#000000" />
</font>
<font name="sheetnumbersmall">
<fgffile name="graphics/fonts/regular-8.fgf" />
<ttf file="graphics/fonts/Open_Sans/OpenSans-Regular.ttf" name="Open Sans" size="12" />
<color value="#000000" />
</font>
<font name="sheetlabelsmall">
<fgffile name="graphics/fonts/bold-8.fgf" />
<ttf file="graphics/fonts/Open_Sans/OpenSans-Regular.ttf" name="Open Sans" size="12" />
<color value="#000000" />
</font>
</root>
After that I seem to be loading up just fine. I'm not play testing anything yet but I've got the drag & drop items working and roles seem to be functioning as expected.
I might also note, it does not seem correct that I needed to copy the Open_Sans folder to the GURPS rules so there may be a better solution to that. I'm just forging ahead and if it works for now I'm fine with it.
I'll update this thread as and if I find anything else but feel free to post and/or ask stuff regarding GURPS here if you like or just make another thread. Hopefully someone will see it in the midst of all the other threads.
Anyhow, I hope this helps someone else.
Best regards!