• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Foundry loose integration

Fantastic work! Today I uploaded my 1.2GB realm while I was mowing the lawn (made the mistake of using firefox, but still went through fine when I came back). Super happy with the result!

Two minor questions:
a) I do keep wokring on my realm and so I will have to do an update of the imported content at some time. I guess that's what the "delete existing content" checkbox is for, right? So it deletes the content and replaces it with the newer version. Is the tool smart enough (yet) to only replace the ones who have changed? Can that even be detected? Because that might speed up things quite a bit. The part where I decided to do something different in the meantime was when creating 1500+ journal entries seem to take rather long ;-)
b) I pften use GM Directions on map pins, like "this door is locked and needs a lockpicking check DC 20 to open". Those don't seem to be displayed anywhere. Maybe adding a journal entry where those are stored may be an option? Or did I simply miss them?

The RWoutput file itself doesn't indicate any changes. In an earlier version it did delete any existing journal entry and replace it with a new one, but I removed that when I switched from compendium to world entries.

I have a 400 MB file which generates 2600 entries; and a 800 MB file which generates 2000 entries. I think that doing the import onto a remote server might be slower - I do all my testing using a local installation.

One option would be to only include in your revised RWoutput file the topics that have changed; but that might be cumbersome to manage. I could provide an option to delete individual existing entries which have the same topic name/journal entry title.

2) GM notes are still something to be sorted out. I have them marked in journal entries, but I forgot about them in the map pins. It already displays any non-GM note on map pins, so adding GM notes is small work.
 
0.2.4

GM-Directions on map pins are transferred to map Notes.
Create an Actor for EACH character in a HL portfolio file, not just the first one.
For PF1 characters, create sub-skills (e.g. Artistry, Perform, Profession).
Include prefix and suffix (if any) from the RW topic in title of journal entries.
Create thumbnails for each scene.

0.2.5

RW terminology used in standard section headings:
"Child Topics" changed to "Governed Content";
"Connections" changed to "Relationships";
"Links To/From Other Topics" changed to "Content Links: In/Out".
Format of relationships changed slightly, and includes any entered annotations.
README.md file updated with current information.
GM-Directions in topics converted to "secret" sections in journal entries.
Snippet styles change the background colour as per RW.

0.2.6

Snippet style is now displayed for all snippet types; and GM-directions are boxed with their other content.

0.3.3

This version works on both 0.7.9 and 0.8.6. It also reads weapons/ammo/armor/shields from embedded HL files for PF1.
 
Last edited:
0.3.6

Adds the creation of Playlists from audio snippets. One playlist per topic.
Direct loading of HL .por files to create only Actors.
Better conversion of HL files into Actors.
 
I just manually created that folder - not too bad, now my imported stuff is nicely seperated from the rest.

Whole things works like a charm now, btw. My large realm with 1500+ journal entries imports just fine.
 
Getting this, latest version of plugin, still 7.9 for foundry.

7lU22fw.png
 
0.3.13 now converts BMP and TIF files to PNG during the conversion process.

An extra check has been added to ensure that journal category folders are created under the correct top-level folder name.
 
The new version 0.3.12 fixes problems with the module not working with 0.7.x versions of Foundry.

It is now importing! However I seem to be stuck "generating xxx journal entries". It's been going about an hour. Tried Chrome and Edge. Is it just taking a really long time?
 
It is now importing! However I seem to be stuck "generating xxx journal entries". It's been going about an hour. Tried Chrome and Edge. Is it just taking a really long time?

How large is your RWoutput file?

If you press F12, are any errors reported in the browser's console?

How big is the xxx number? I have imported 2,600 topics in just a few minutes.

Do you have HL portfolio files in your realm? If so, which game system? And which game system is your world using in Foundry VTT?
 
How large is your RWoutput file?

If you press F12, are any errors reported in the browser's console?

How big is the xxx number? I have imported 2,600 topics in just a few minutes.

Do you have HL portfolio files in your realm? If so, which game system? And which game system is your world using in Foundry VTT?

No errors reported (other than the one I get from attempting to re-import).

500ish. File is about 605 MB.

No HL portfolios. Generic system in RW. PF2 in Foundry.

I should note that I have some smaller files that worked fine. It's also an export from 253.
 
No errors reported (other than the one I get from attempting to re-import).

500ish. File is about 605 MB.

No HL portfolios. Generic system in RW. PF2 in Foundry.

I should note that I have some smaller files that worked fine. It's also an export from 253.

I think I can only see what's happening if I have a copy of the RWoutput file; I might be able to track down what it is, or is not, doing.

Could you PM me with a link to the file?
 
PM sent. Thanks for looking into it!

I'm done some testing on my laptop...

I tried doing the import to my AWS server, and there were errors reported about some of the images being too big. The "Finished" report never appeared - I suspect because of the processing errors reported with files failing to be uploaded.

When I performed an import using the standalone Foundry VTT installation the import worked properly - creating 551 journal entries.

I will need to do some more testing on my main PC which has the dev environment on it to see if I can avoid failed uploads from causing the import to fail.

Looking at the extracted files in the local version, I suspect it is the image files which were larger than 16 MB in size; but I can't be 100% sure.

---

Where is your Foundry server hosted? If it is not on your local PC, are you using an nginx proxy?
 
Last edited:
I'm done some testing on my laptop...

I tried doing the import to my AWS server, and there were errors reported about some of the images being too big. The "Finished" report never appeared - I suspect because of the processing errors reported with files failing to be uploaded.

When I performed an import using the standalone Foundry VTT installation the import worked properly - creating 551 journal entries.

I will need to do some more testing on my main PC which has the dev environment on it to see if I can avoid failed uploads from causing the import to fail.

Hmm, I didn't see any of those errors in the console. Were they elsewhere? I could add the images by hand if the errors are visible to me. I have 2 different foundry servers; one at home, running on an Ubuntu VM. And one in AWS. I was attempting the upload on my home VM, before putting it on my live server.
 
Hmm, I didn't see any of those errors in the console. Were they elsewhere? I could add the images by hand if the errors are visible to me. I have 2 different foundry servers; one at home, running on an Ubuntu VM. And one in AWS. I was attempting the upload on my home VM, before putting it on my live server.

The errors I saw were reported in the console. I was using Chrome at the time.

Even though the control window never said "Finished", I did see that lots of journal entries had been created - some were empty, but I suspect that might be the case in your realm too.

If you have nginx in your configuration, then the Foundry recommended set up is to have "client_max_body_size 300M;" somewhere in the configuration file. I haven't checked mine yet to see if it is set to 300M or some lower value. My nginx configuration file was missing this line. When this line was added, then all the files uploaded properly.

Are you using the latest version (0.3.13) of my module? I did fix an issue where the module was not waiting for each file to be uploaded before sending the next one.
 
Last edited:
The errors I saw were reported in the console. I was using Chrome at the time.

Even though the control window never said "Finished", I did see that lots of journal entries had been created - some were empty, but I suspect that might be the case in your realm too.

If you have nginx in your configuration, then the Foundry recommended set up is to have "client_max_body_size 300M;" somewhere in the configuration file. I haven't checked mine yet to see if it is set to 300M or some lower value. My nginx configuration file was missing this line. When this line was added, then all the files uploaded properly.

Are you using the latest version (0.3.13) of my module? I did fix an issue where the module was not waiting for each file to be uploaded before sending the next one.

That's exactly what I saw as well.

I added the config line to the NGINX config, and I had a successful import! Everything except imbedded images works. I get the below error in the console every time I open a journal entry with an image, and in the entry I only see the generic "image here" image. I've confirmed the images exist in the realmworksimport folder.

Yes, I am on the latest version.

ASm5GeX.png
 
I setup my nginx server a couple of months ago (0.7.9) and that extra line wasn't present in the setup instructions. Maybe it was added as part of 0.8.x.

Images should be in a subdirectory of your world directory, by default it is called "realmworksimport".

Can you check the module configuration, from Game Settings -> Configure Settings -> Module Settings -> section called "Realm Works Importer".

Check that "Location of Extracted Assets" is set to worlds/Skaz/realmworksimport
(if your world is called "Skaz")

If you change this in this "Configure Game Settings" window, then you will need to do another import to ensure that all the files are in the correct place.
 
Last edited:
Back
Top