Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion

Notices

Reply
 
Thread Tools Display Modes
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old October 12th, 2021, 05:39 AM
Quote:
Originally Posted by Sword_of_Spirit View Post
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.

Farling

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #101 Reply With Quote
Sword_of_Spirit
Member
 
Join Date: Dec 2015
Posts: 76

Old October 13th, 2021, 05:06 AM
Quote:
Originally Posted by Farling View Post
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.

Last edited by Sword_of_Spirit; October 13th, 2021 at 05:13 AM.
Sword_of_Spirit is offline   #102 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old 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

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #103 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old 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.

Farling

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #104 Reply With Quote
Sword_of_Spirit
Member
 
Join Date: Dec 2015
Posts: 76

Old October 15th, 2021, 08:35 PM
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.
Attached Images
File Type: png Screenshot 2021-10-16 142112.png (21.0 KB, 2 views)
Sword_of_Spirit is offline   #105 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old October 16th, 2021, 05:38 AM
Quote:
Originally Posted by Sword_of_Spirit View Post
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

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #106 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old 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

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #107 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old 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

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #108 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old October 16th, 2021, 09:16 AM
Quote:
Originally Posted by Sword_of_Spirit View Post
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

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #109 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old 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.

Farling

Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module

Donations gratefully received via Patreon, Ko-Fi or Paypal
Farling is offline   #110 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:54 AM.


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