Register

Realm Works (and Herolab portfolio) Importer

An Add-on Module for Foundry Virtual Tabletop

Author: Farling Project Source: Project URL Versions 11+ (Verified 11) Last Updated 2 months, 3 weeks ago

A module to import information from a user's RWexport file generated from the Realm Works® campaign/world management tool created by LWD (Lone Wolf Development).

It imports your realm export file (.rwexport) into multiple journal entries (one entry per RW topic), Actors, Scenes, Playlists, Roll Tables.

It can also import your Hero Lab Portfolio file (.por) and create one or more Actors (for PF1, CoC7, SWADE and DND5E).

Add the link https://github.com/farling42/fvtt-import-realmworks/releases/latest/download/module.json to keep your Foundry up-to-date with all the changes.

IMPORTANT: version 1.0.0 upwards reads an RWEXPORT file, versions prior to 1.0.0 read an rwoutput file.

Instructions

Simply add this module to your Foundry VTT and enable it within the game into which you want to import your RWoutput information.

In the Compendium panel of the game you will find a new button near the top called "Realm Works Import".

Press the button to open a simple dialogue window.

Select an .rwexport file (or Hero Lab portfolio file) using the file selector.

Enter the name of the folder into which all extracted entries will be placed.

Maybe modify which options you want to work with.

Press the IMPORT button at the bottom of the window and wait for the contents to be imported.

Then This Will Happen

New folders will be created in the Scenes, Actors, Journal, Roll Tables and Playlist sections containing the imported data.

Each Smart_Image is converted into a scene, with map pins and scene notes connected to the relevant journal entries.

Each Topic will be converted into a separate Journal Entry, placed in a sub-folder based on the Category of the topic (optionally, certain known Item categories will cause the generation of Items instead of Journal Entries).

Each image or embedded file will be extracted and located in the subdirectory [data]world/<world-name/realmworksimport (this default location can be changed in the module settings).

Each Audio snippet will be extracted and placed into a Playlist named after the topic.

Each HL portfolio will be extracted and Actors created for each character in the portfolio (currently only for PF1, D&D 5E, SWADE, Call of Cthulhu game systems). All actors for a single topic are placed into a sub-folder named after the folder.

Each Table within RW topics will be examined to see if it can be used to create a Roll-Table within Foundry. The first row of the table is assumed to be the title (if the top-left cell of the table contains a dice formula, e.g. 1d20, then it will be used as the formula for the roll table. The first column of the table is assumed to be the number or numbers to choose the results (either a single number, or two numbers separate by "-" for a range or "," for two discrete entries). The second column will be used as the results for the roll-table (or the third column if all entries in the second column are blank).

Any parent topic in the RWexport file will have a list of governed content at the end of the page which contains links to the descendent topics (the maximum depth of the descendents can be configured in the module settings); and child topics will have a "governing content" added at the top of the journal entry.

Optionally, all images will be converted to the WEBP format, to reduce the file size and thus improve performance when changing scenes.


Additional Presentation

The Text Editor has some additional options under the "RW Blocks" which allow paragraphs to be displayed in the Veracity (Partial Truth/Lie) and/or Style (Callout, Handout, Flavor, Read-Aloud).

There is no preview of the presentation whilst using the editor.

There are also two new blocks for "GM Directions". It is important to note that if some paragraphs are to be grouped with some GM directions, then they must be grouped as a block of "GM Directions & Contents" before then selecting just the paragraphs containing the GM notes and changing to them "GM Directions". Doing this in the opposite order will not generate the desired effect.

Store Foundry data inside Realm Works

Now you can store your scene wall data (and any other Foundry settings) inside Realm Works, so that those settings are restored on future imports.

If you want to store additional Foundry settings within Realm Works, then you can use the "Export Data" menu function within Foundry to create some fvtt-<doctype>-<objname>.json files. You can then store these files inside Realm Works as foreign object files. When you next generate an RWexport file from Realm Works and import it into Foundry, then those embedded fvtt-<doctype>-<objname>.json files will be loaded after the objects have been created. NOTE: The name inside the fvtt*json file must match the name of the object in Foundry in order for the import to work (it does NOT use the objname part of the filename).

Libraries

This module uses the following libraries from other sources:


The Realm Works campaign/world management tool is available from https://www.wolflair.com/realmworks/

Join in discussions about it's future features on the LWD Forums

If you like what you see, then all contributions will be gratefully received at Ko-FI or or Paypal, or regular contributions can be set up at Patreon

Categories

Available Versions

  1. Version 2.9.4

    2 months, 3 weeks ago
    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  2. Version 2.9.2

    5 months ago
    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  3. Version 2.9.1

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  4. Version 2.8.1

    Foundry Version 10+ (Verified 11.299) Manifest URL Read Notes
  5. Version 2.8

    Foundry Version 10+ (Verified 10.291) Manifest URL Read Notes
  6. Version 2.7

    Foundry Version 10+ (Verified 10.291) Manifest URL Read Notes
  7. Version 2.3

    Foundry Version 10+ (Verified 10.283) Manifest URL Read Notes
  8. Version 2.0

    Foundry Version 10+ (Verified 10.273) Manifest URL Read Notes
  9. Version 1.26

    Foundry Version 9 - 9 (Verified 9) Manifest URL Read Notes
  10. Version 1.25

    Foundry Version 9 - 9 (Verified 9) Manifest URL Read Notes
  11. Version 1.24

    Foundry Version 0.8.6 - 9 (Verified 9) Manifest URL Read Notes
  12. Version 1.23

    Foundry Version 0.8.6 - 9 (Verified 9) Manifest URL Read Notes
  13. Version 1.22

    Foundry Version 0.8.6 - 9 (Verified 9) Manifest URL Read Notes
  14. Version 1.14.1

    Foundry Version 0.8.6 - 0.8.9 (Verified 0.8.9) Manifest URL Read Notes
  15. Version 0.3.22

    Foundry Version 0.7.9 - 0.8.9 (Verified 0.8.8) Manifest URL Read Notes
  16. Version 0.2.6

    Foundry Version 0.7.9 - 0.7 (Verified 0.7.10) Manifest URL Read Notes