Thread: PFRPG2 - FG Unity themes
-
December 16th, 2021, 20:39 #191
- Join Date
- Jan 2018
- Posts
- 68
I use the Age of Ashes theme, and with the latest update, I get errors on loading:
[ERROR] icon: Could not find image file (graphics/icons/lighting_day.png) for icon (lighting_day). [PFRPG2.Theme.Age.of.Ashes.v4] [updated_icons.xml]
[ERROR] icon: Could not find image file (graphics/icons/lighting_night.png) for icon (lighting_night). [PFRPG2.Theme.Age.of.Ashes.v4] [updated_icons.xml]
[ERROR] icon: Could not find image file (graphics/icons/lighting_fire.png) for icon (lighting_fire). [PFRPG2.Theme.Age.of.Ashes.v4] [updated_icons.xml]
[ERROR] icon: Could not find image file (graphics/icons/lighting_forest.png) for icon (lighting_forest). [PFRPG2.Theme.Age.of.Ashes.v4] [updated_icons.xml]
I also use the Dark theme and it does not have these issues.
[WARNING] Could not load script file (PFRPG2) (list) (campaign/scripts/charselect_local_list.lua)
[ERROR] Script execution error: [string "scripts/sasmira_chat.lua"]:14: attempt to call field 'registerLaunchMessage' (a nil value)
-
January 7th, 2022, 13:45 #192
- Join Date
- Apr 2020
- Location
- France
- Posts
- 76
Hi Sasmira,
Happy new year.
I'm using PFRPG2.Theme.Sword.and.Sorcery.V4 and after the latest update of FGU I have following error message :
[ERROR] Script execution error: [string "scripts/sasmira_chat.lua"]:14: attempt to call field 'registerLaunchMessage' (a nil value).
This has a impact on the design of right panel (and maybe more).
Is there a way to fix this ?
Thanks
Regards
-
January 10th, 2022, 14:26 #193
- Join Date
- Jan 2018
- Posts
- 68
-
January 20th, 2022, 01:13 #194
- Join Date
- Apr 2020
- Posts
- 32
So I'm not smart enough to know how to fix this, but I know the following:
The error in script execution does NOT have an effect on the right panel. It DOES prevent a separate licensing message "Theme PFRPG2 for Fantasy Grounds by Sasmira. Private usage and no commercial. Theme extension for CoreRPG, 3.5E, 4E, 5E, PFRPG and PFRPG2 rulesets" from appearing. This is common across all of Samsira's themes. However, that's the only thing that error stops. You can stop that error from coming up by commenting out, or removing, the line in extension.xml that calls the lua script.
The theming on the right changed with a recent FGU update, and the code in WHAT I BELIEVE TO BE updated_buttons.xml likely needs changing. At the very least the buttons have been renamed in FGU and likely need to be figured out. You may be able to work this out with one of the themes that ships with FGU in graphics_icons.xml (I was perusing Theme_SWU.ext).
You can open .ext files with 7-zip, which is open source.
This is about the extent of my knowledge in the matter, and about the extent of effort I'm going to be able to put into it. I'm no programmer, but I was futzing around in 2020 when they added a button to the sidebar and figured out how to make it work.
Also to adhere to the license, If you want to take on the project and distribute an end product, you should get Samsira's blessing/permission, as his license says "private use."Last edited by bigdummy; January 20th, 2022 at 01:19.
-
January 23rd, 2022, 19:26 #195
- Join Date
- Jan 2018
- Posts
- 68
I've done some noodling and here is how I got rid of the errors.
In extension.xml, remove the lines below:
<!-- Custom script to add abilities to object tables -->
<script name="Sasmirachat" file="scripts/sasmira_chat.lua"/>
<!-- Lighting -->
<icon name="lighting_day" file="graphics/icons/lighting_day.png"/>
<icon name="lighting_night" file="graphics/icons/lighting_night.png"/>
<icon name="lighting_fire" file="graphics/icons/lighting_fire.png"/>
<icon name="lighting_forest" file="graphics/icons/lighting_forest.png"/>
-
September 15th, 2022, 01:20 #196
- Join Date
- Aug 2022
- Posts
- 3
Can I install themes without a license? I don't see any place to put an ext file or a mod file
-
September 15th, 2022, 14:38 #197
Yes you can. See information on the various FG data files here: https://fantasygroundsunity.atlassia...iew#Extensions
Also note that the extensions in this thread may not work that well - there's been a few FG updates since they were created and so may not be 100% compatible now.Last edited by Trenloe; September 15th, 2022 at 14:46.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
September 15th, 2022, 15:26 #198
- Join Date
- Aug 2022
- Posts
- 3
What if you are just a player? Can only the GM change the theme? Or are themes separate for each individual’s version of FG? I should have phrased my question better.
-
September 15th, 2022, 15:33 #199Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
September 15th, 2022, 16:44 #200
- Join Date
- Aug 2022
- Posts
- 3
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks