Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   Foundry loose integration (http://forums.wolflair.com/showthread.php?t=65924)

Farling October 12th, 2021 05:39 AM

Quote:

Originally Posted by Sword_of_Spirit (Post 297017)
I think child topics in RW are always alphabetized, which is how I like it anyway, so it threw me off when they weren't ordered right in Foundry.

If aliases don't work, I might have to go through and convert some links before exporting. I've become used to using everything from aliases to custom links based on what looked best in the particular context. What are the limitations on which ones don't work?

One of the broken links is my "Welcome to the Realm" homepage. I wonder if it might not work because it is a unique topic in RW with no topic type.

Hi,

As you can see, I've pushed out a small update to deal with topic with & in the title.

I need to check aliases again.

The issue is that the RWoutput file only contains the text for the link inside a "span" element, with no mention as to where that link is actually connected.

For each topic, the RWoutput file also has a list of "linkages", but there's no indication as to where each linkage appears in the actual topic!

Because only the text of the link is in a "span", sometimes the import module will see a "span" and assume that it is a link - and so might create a broken link rather than not showing any type of link at all. This is the reason that "Himinborg" appears to be a link the Portals topic.

The RWoutput file you previously sent me didn't include the topic called "Welcome to 'The Realm'" so I see broken links to that topic when I test with your file.

I tried creating some additional links in one of my own realms, and they appeared in the RWoutput with NO span at all; so the import module didn't think that there were any links at all in that topic.

I may have to revisit whether I should be using the RWexport file as the basis for the import - but that gets far more complicated in processing the XML file.

Sword_of_Spirit October 13th, 2021 05:06 AM

Quote:

Originally Posted by Farling (Post 297019)
Hi,

As you can see, I've pushed out a small update to deal with topic with & in the title.

Thanks!

Quote:

I need to check aliases again.

The issue is that the RWoutput file only contains the text for the link inside a "span" element, with no mention as to where that link is actually connected.

For each topic, the RWoutput file also has a list of "linkages", but there's no indication as to where each linkage appears in the actual topic!

Because only the text of the link is in a "span", sometimes the import module will see a "span" and assume that it is a link - and so might create a broken link rather than not showing any type of link at all. This is the reason that "Himinborg" appears to be a link the Portals topic.
Himinborg should be a real link, but it's a custom link to "1st - Ysgard (Layer)", which is probably at least as tricky as a link to an alias.

Quote:

The RWoutput file you previously sent me didn't include the topic called "Welcome to 'The Realm'" so I see broken links to that topic when I test with your file.
That's actually the name of my RW home page--the one you get when you click the house button next to the back button. Looking at it, it seems its topic category is "Realm Starting Point".

Quote:

I tried creating some additional links in one of my own realms, and they appeared in the RWoutput with NO span at all; so the import module didn't think that there were any links at all in that topic.

I may have to revisit whether I should be using the RWexport file as the basis for the import - but that gets far more complicated in processing the XML file.
I'll be happy with whatever we end up with. It's really useful in any event. As long as I know what glitches aren't fixable I can try to work around them.

Also, the roll table extraction is really cool! I can see a few of my random encounter tables got converted. I'll check and see if there are others that didn't and what the differences might be.

Farling October 15th, 2021 04:20 AM

Release 1.0.0 is out

There is a big change with this release, in that it will read RWEXPORT files, not rwoutput files.

By reading the rwexport file it will allow all links to be created properly, and allows for better features in the future.

TRUE NAME is now identified in the topic's list of aliases.
The Category of each topic is listed at the top of the journal entry.
Date fields will have a different format, since rwexport doesn't have the "display" option that was present in rwoutput files.

Farling October 15th, 2021 03:04 PM

1.0.1 fixes a bug introduced in 1.0.0 where links were mis-aligned within or after a table appearing in a snippet.

Sword_of_Spirit October 15th, 2021 08:35 PM

1 Attachment(s)
I attached a picture of some warnings I got on import. I'm not sure if they mean some of my topics didn't make it through.

Looks like the custom Himinborg link works now.

This time the links to "Welcome to 'The Realm'" are completely missing, not even listed but broken.

Farling October 16th, 2021 05:38 AM

Quote:

Originally Posted by Sword_of_Spirit (Post 297046)
I attached a picture of some warnings I got on import. I'm not sure if they mean some of my topics didn't make it through.

Looks like the custom Himinborg link works now.

This time the links to "Welcome to 'The Realm'" are completely missing, not even listed but broken.

I will need to fix the wording of that particular error report.

It indicates that the identified numbered topic does not exist within the RWEXPORT file.

Does your RWEXPORT contain everything in your realm, or is it a partial export?

Farling October 16th, 2021 08:54 AM

Version 1.1.0 sorts Governed Content and Content Links alphabetically.
It also provides a better warning message when a link is to a topic not found in the rwexport file.

Farling October 16th, 2021 09:00 AM

I should add that 1.0.0 onwards should always correctly create links regardless of whether the text is the real topic title, an alias, or a manual link created on non-matching text.

Farling October 16th, 2021 09:16 AM

Quote:

Originally Posted by Sword_of_Spirit (Post 297020)
That's actually the name of my RW home page--the one you get when you click the house button next to the back button. Looking at it, it seems its topic category is "Realm Starting Point".

I think this is a BUG in Realm Works: the HOME PAGE topic is not put into the Realm Works Export file.

This will affect anybody who tries to use that page in a realm that they want to export to another user.

Links TO the home page do get put into the Export file, but the topic to which the link points does not get created - maybe this will generate an exception/error during import into a new realm.

Even the "Duplicate Topic" link is disabled, so it isn't a trivial matter to make it a normal topic within Realm Works.

Farling October 17th, 2021 04:24 AM

Version 1.1.1 is out.

Fix the labels on map pins.
Don't include aliases in the name of RollTables.
Remove old code that supported RWoutput files.


All times are GMT -8. The time now is 03:38 AM.

Powered by vBulletin® - Copyright ©2000 - 2022, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.