Thread: Extension Loading Issue
-
July 12th, 2020, 03:57 #11
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,678
It's not a bug. The issue is that FG has to preserve line spacing within XML tags for backward compatibility. Therefore, the first is incorrect, and the second will work.
Regards,
JPG
-
July 12th, 2020, 05:22 #12
- Join Date
- Jun 2020
- Posts
- 28
Moon Wizard, thanks for the feedback. Couldn't this issue be fixed just by using .Trim() on the ruleset names when comparing them? That way, if I have an extension written as I did that worked in Classic, it will still work in Unity (at least as far as that tag goes). That doesn't guarantee compatibility for everything else, but fixes this one small minor issue. It is, however, also a very minor thing to edit my extension.xml. In the future, I will likely develop in Unity anyway.
-
July 12th, 2020, 05:25 #13
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,678
Perhaps, but the original XML load/save code was mostly ported from FGC for best compatibility. Finding all the areas where this might happen is a task in itself.
JPG
-
July 12th, 2020, 05:28 #14
- Join Date
- Jun 2020
- Posts
- 28
Completely understood. Thanks!
-
August 2nd, 2020, 22:36 #15
- Join Date
- Aug 2014
- Posts
- 77
I am having a similar problem although this is the first time I am trying this. It will not show up on the list if available extensions in FG Unity.
Here is my code:
Code:<?xml version="1.0" encoding="iso-8859-1"?> <root version="4.0.0" release="4.0.0"> <properties> <name>KevDawnExt</name> <version>1</version> <author>Kevin Hallock</author> <description>KevDawn</description> <ruleset> <name>CoreRPG</name> </ruleset> </properties> <base> <!-- Scripts --> <script name="ManagerSteps" file="scripts/manager_steps.lua"/> </base> </root>
-
August 2nd, 2020, 22:45 #16
Setting it as CoreRPG will only allow it to load in CoreRPG. If you want it to load in all CoreRPG rulesets list them separately or use ANY and apologise for anyone who tries to use it with an unsupported ruleset.
-
August 2nd, 2020, 23:41 #17
- Join Date
- Aug 2014
- Posts
- 77
I must being doing something more basic that's incorrect. I simply changed the name of the fate-BlankSkills extension and added it to the extensions folder and it also does not show up.
After making the adjustment, I zipped it using the "Send to Compressed Folder" option in Windows, changed the file extension to EXT, put it into the FG extensions folder, and launched FG. What else do I need to do?
-
August 2nd, 2020, 23:49 #18
Dont zip up the parent folder - just the contents and any subfolders
-
August 3rd, 2020, 00:04 #19
- Join Date
- Aug 2014
- Posts
- 77
-
August 3rd, 2020, 01:16 #20
Yes the extension must be validly there when FG starts.
After that /reload will pick up changes.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks