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)
-   -   Realm Works Output Formatter (http://forums.wolflair.com/showthread.php?t=59981)

Farling January 23rd, 2018 12:50 AM

Quote:

Originally Posted by ErinRigh (Post 261849)
Hey Farling

I dloaded this tool and it is awesome, but is there any reason that it won't convert some snippets, like Labelled Text and hybrid? Is it that the export does not store that information?

I'm still working on all the various snippet types - not all are properly sorted yet.
I thought that I had the "labeled_text" snippet sorted, but I will have another look later.

Farling January 23rd, 2018 12:51 AM

Quote:

Originally Posted by EightBitz (Post 261850)
I would recommend CSS for this, as it would allow users a standard way to customize things.

I was thinking about something like CSS. I could easily include that as a separate file, and add a button to load your own CSS.

EightBitz January 23rd, 2018 02:56 AM

Quote:

Originally Posted by Farling (Post 261858)
I was thinking about something like CSS. I could easily include that as a separate file, and add a button to load your own CSS.

Right, separate file, like I did with mine, so all anyone has to do is edit the CSS file, and it customizes the whole doc. But I think you'd need to include (like I did with mine) a base CSS file so if a user wants to load their own, they know what tags you're including in the XML and can modify their own CSS file accordingly.

kbs666 January 23rd, 2018 05:42 AM

Quote:

Originally Posted by EightBitz (Post 261859)
Right, separate file, like I did with mine, so all anyone has to do is edit the CSS file, and it customizes the whole doc. But I think you'd need to include (like I did with mine) a base CSS file so if a user wants to load their own, they know what tags you're including in the XML and can modify their own CSS file accordingly.

This.

First it would be a real pain to go through an entire directory pf HTML files adding the same line over and over again.

Second having a base CSS tells people which tags you use so they can tailor their own overrides.

Farling January 24th, 2018 04:53 AM

Version 1.2 has been released.

1) Separate web pages can be created for each topic, with a single index.html providing a summary of the containing hierarchy.

2) The HTML output is generated with a separate "theme.css" file which describes some basic styles.

3) A maximum width can be specified for images, in which case images which are wider than the limit will be reduced in size using a binary fraction to cleanly reduce the image size (e.g. 1/2, 1/4, 1/8, 1/16th).

Farling January 24th, 2018 05:15 AM

Quote:

Originally Posted by kbs666 (Post 261762)
Rather than starting from scratch I would hope people interested in such would continue work on EightBitz's project.
http://forums.wolflair.com/showthread.php?t=57418

I thought it was worth mentioning that I haven't looked at EightBitz's scripts because they are covered by the "Creative Commons Attribution + Non-Commercial license" license, whereas my tools are covered by a GPL license.

It keeps things neater if there is no direct sharing between the two.

Farling January 24th, 2018 05:33 AM

I've just run this tool on my Skulls and Shackles realm, which has an RWoutput file size of 426,177 KB and it didn't crash :-)

Farling January 24th, 2018 09:17 AM

Version 1.3 now supports almost all snippet types. The notable exception is hybrid_tags since I don't see how to generate them within Realm Works.

Separate files are created for objects in the realm which aren't simple picture or smart images.

Farling January 25th, 2018 03:19 AM

Version 1.5 has just been released which adds better support for smart images.

- The reveal mask is used to dim the parts of the image which are not revealed.

- Although no PINs are drawn on the map, their locations on the map are now links to the corresponding topic.

daplunk January 25th, 2018 04:31 AM

Works a treat!

Realm Works Community Campaign World - A Huge Work In Progress


All times are GMT -8. The time now is 09:04 PM.

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