XaiJu
kakaroto
kakaroto

patreon


R20Converter 0.11.x

Last update: 0.11.16 on February 16th 2023

Hi again everyone!

Here's the release of R20Converter that I promised earlier today. It's version 0.11.0 so it's a "major" release, though it's not all I wanted it to be. Unfortunately, I'm about to have 4 hours of sleep before I have to rush to the airport, so I couldn't finish implementing all the features I wanted to add in this release.

The major changes in this release is that it supports Foundry v9 natively, so there shouldn't be any 'migration of data' done by Foundry anymore, it also adds experimental support for the new Roll20 dynamic lighting system (which should fix the 'drop torch' feature of Roll20 converting properly to Foundry.

Apart from a few bugfixes, another change is that this release fixes the issue with flipped tiles from Roll20 being placed incorrectly in Foundry. Fixing that is why I had to delay this release in the past few weeks, as it depended on Foundry fixing one of its own bugs, so make sure you update to the latest Foundry release (v9.254 which was released earlier today) for it to work properly!

I hope you enjoy this release and I'll work some more on it when I get back home as I still have a few features I want to add to this 0.11.x release.

Thanks again everyone for your support, and have fun!

Comments

Hi, it looks like you're using v0.10.5, which is about 2 years old. You need the 0.11.16 release (from this post) which will have support for Foundry v10.

Youness Alaoui

Think the download was corrupted. Tried again and it worked. Conversion was crusing then stopped. Here's the error message: Error converting campaign with R20Converter v0.10.5: Traceback (most recent call last): File "src\GUI.py", line 183, in startConversion File "src\R20Converter.py", line 219, in convert File "src\entities\actors.py", line 16, in __init__ File "src\entities\actors.py", line 19, in genEntities File "src\entities\actors.py", line 19, in File "src\entities\actors.py", line 370, in __init__ File "src\entities\actors.py", line 2002, in addActions File "src\entities\actors.py", line 1885, in addNPCAction File "src\entities\actors.py", line 1728, in createItemFeat File "src\entities\items.py", line 47, in createItemFromCompendium File "src\entities\items.py", line 176, in createItemFromCompendium KeyError: 'data'

Bob Nelson

I've downloaded and unzipped the R20Converter. The .exe file doesn't launch the app. I've tried running it as an admin, too; no joy. running on windows 10 64-bit. Confirmed I'm using the latest version. Any ideas on what the issue is?

Bob Nelson

Hi! You should be able to import it using the converter. Just choose the option to convert into a compendium module, then you'll have a scenes compendium pack from which you can import that scene. If there are tokens in that map though, you might need to manually relink them to the actor they represent. I hope this helps!

Youness Alaoui

I don't suppose there is an easy way to just get one map over? I had thought I might not need the r20 converter since I thought i was pretty successful using the DDB importer, but then I realized "The Eye of the All-Father" in storm King's thunder didn't import in the right scale. it's already correct in roll20 and I'd love to just get that over.

wordflyer

Hi. The latest version is 0.11.13 which includes a couple of additional bugfixes. Why would you want 0.11.9 specifically?

Youness Alaoui

How do I get the 0.11.9 ver?

Alef Weimann

Hi! This indicates a missing dependency. Tk should be installed by default with python3 as far as I'm aware. And it does look like it's installed but the Tk dependency isn't. You can see in the error there that it says "If this fails your python may not be configured for Tk". So it sounds like your installed Python from a package which disabled Tk, or if you compiled it yourself, you didn't have the tk dev dependencies installed or didn't enable the tk option during compilation. Make sure you read the README file which comes with R20Converter, it mentions dependencies you'll need to have installed for Linux, then you should be able to launch it with just `python3 src/main.js` in theory. I admit to not having tried it on Linux in a while, but if you report back any issues you have, I should be able to help and guide you through it. You might find it easier to debug this in a live chat on my Discord server, if you wish to join: https://discord.gg/PUSrfTaa

Youness Alaoui

Is there some way to get the GUI to start from terminal? Just using python3 src/main.py without arguments returns an error.

Jedi Academy Dropout

I'm having some issues getting the linux app working. Can you help me out here? https://www.dropbox.com/s/g87odowebjfx3i7/Screenshot_20230120_184231.png?dl=0

Jedi Academy Dropout

Yes, you can, the converter has the option to override the system, and you can set it to 'pf2e'. Make sure to have the pf2e system installed locally. Note that actors and items will not be converted in that case, since only the 5e roll20 sheet is supported. Actors will still be there, but will have a blank character sheet. If the monster appears in the system's compendiums, it will be copied from the compendium instead so it's not blank.

Youness Alaoui

Can I pull in a DnD Campaign into a Pf2e world?

wawgster

That just means that those items don't have a saved image, which generally means that whatever image was set for those handout, it's not working anymore, either because you deleted it from your library (most likely cause) or some other reason causing the image to not exist anymore. I'd expect that if you open that handout in roll20, it won't have an image.

Youness Alaoui

I am seeing some items randomly throwing errors: Creating Item from Handout : Amulet of Proof against Detection and Location Cannot find file 'journal\014 - Magic Items\002 - Amulet of Proof against Detection and Location\avatar.png' in Zip: "There is no item named 'journal/014 - Magic Items/002 - Amulet of Proof against Detection and Location/avatar.png' in the archive" Creating Item from Handout : Apparatus of Kwalish Cannot find file 'journal\014 - Magic Items\003 - Apparatus of Kwalish\avatar.png' in Zip: "There is no item named 'journal/014 - Magic Items/003 - Apparatus of Kwalish/avatar.png' in the archive" But the other items around them are being correctly imported from the path "journal\015 - Magic Items\...". I'm not sure why for these items it's looking at the wrong path ("journal\014-..." vs "journal\015-..."), there is no 014 - Magic Items, only 015 - Magic Items.

Potato

I got it to work locally as a module

Scott W

Scott W

Thanks! Glad it's working great for you :)

Youness Alaoui

I am pulling my stuff over and it is working like a charm! You deserve every bit of coin!

Scott W

Ah, thanks. I've updated the converter binary to 0.11.9 earlier today, but it seems the windows file didn't get properly attached to the Patreon post. See the latest release 0.11.9, it should work fine with it. Thanks!

Youness Alaoui

Hello. I'm getting the following error while trying to convert Curse of Strahd to Foundry v10 using R20 Converter 0.10.5 (I don't seem to see a Windows option for 0.11?). Error converting campaign with R20Converter v0.10.5: Traceback (most recent call last): File "src\GUI.py", line 183, in startConversion File "src\R20Converter.py", line 219, in convert File "src\entities\actors.py", line 16, in __init__ File "src\entities\actors.py", line 19, in genEntities File "src\entities\actors.py", line 19, in File "src\entities\actors.py", line 370, in __init__ File "src\entities\actors.py", line 2002, in addActions File "src\entities\actors.py", line 1885, in addNPCAction File "src\entities\actors.py", line 1728, in createItemFeat File "src\entities\items.py", line 47, in createItemFromCompendium File "src\entities\items.py", line 176, in createItemFromCompendium KeyError: 'data'

Devan Smith

It should be "pf2e" (all lowercase) for PF2e and "pf1" (all lowercase and no "e" at the end) for PF1e systems. It needs to match the system ID for it to work. I assume that's the issue (it's supposed to fix case sensitivity by validating the ID from the system.json file, but I just tested, and it didn't work, so it might be something broke). I hope that helps.

Youness Alaoui

I receive the error only after typing “PF2e” or “PF1e” in the override field, despite both systems being installed.

Multiple Nerdgasms

In the converter window, did you specify the system override to "pf2e" ? It can't know what system it's meant for, so it defaults to dnd5e. That's likely your issue

Youness Alaoui

I'm getting an odd one at the moment. I've got Foundry VTT installed locally and the PF2e rules system installed, but R20 Converter is giving me an error telling me the system isn't present.

Multiple Nerdgasms

I deleted the one isometric map page (and, to be sure, the other isometric artwork) and then the converter worked just fine. Thanks.

Patrick Shea

Hi. I think you're using one of roll20's beta features which lets you set a page to isometric. I can't test that since it's a beta feature not available to me, but I suggest you find which of your campaign pages has the grid set to isometric, and change it back to normal grid, then retry. I hope that helps.

Youness Alaoui

Error converting campaign with R20Converter v0.11.6: Traceback (most recent call last): File "src\GUI.py", line 183, in startConversion File "src\R20Converter.py", line 220, in convert File "src\entities\scenes.py", line 21, in __init__ File "src\entities\scenes.py", line 32, in genEntities File "src\entities\scenes.py", line 32, in File "src\entities\scenes.py", line 77, in __init__ KeyError: 'isometric'

Patrick Shea

Got an error from the converter (this is a non-DnD campaign) that asked me to report it:

Patrick Shea

I'm not sure why it would stop. I know people who exported campaigns over 10GB in size without problems, others have had that issue with a few hundred MB campaigns. Most of the time when it happens, it's roll20 having some issue and retrying later resolves it. The other common problem is an issue with your C: drive running out of space, though you'd see an error message about it. If it keeps failing, my recommendation would be to just try an export in JSON format, and go from there. The only big difference with the JSON file is that the export won't contain your images, so the converter would be the one downloading the files (instead of your browser at the time of export), and because Roll20 playlists need you to be logged in to access the mp3 files, playlists won't be converted. I hope that helps.

Youness Alaoui

Hello, I'm attempting to export a campaign (Curse of Strahd specifically), but the progress bar has stopped at about 90% and has 0 operations in progress. Is the issue the size? It's a 9.03 GB zip file

Blake Mayer

thank you

Rara Rolls

Humm.. that's a new one! Seems you have some drawings in your scene with invalid data perhaps. Can you check what the last scene was before it threw that error and see if it has anything weird in terms of drawings (freehand, lines, etc..) I'd love to see what the scene data looks like so I can handle it better. Could you send me the page.json file from within the zip that represent the page the error happens on. Send that to me as a private message please, I'll be able to test and fix this then release an update, then I'll delete the file you sent. Thanks!

Youness Alaoui

Error converting campaign with R20Converter v0.11.2: Traceback (most recent call last): File "src\GUI.py", line 183, in startConversion File "src\R20Converter.py", line 220, in convert File "src\entities\scenes.py", line 21, in __init__ File "src\entities\scenes.py", line 32, in genEntities File "src\entities\scenes.py", line 32, in File "src\entities\scenes.py", line 408, in __init__ File "src\entities\scenes.py", line 636, in pathToPolygonList File "src\entities\scenes.py", line 627, in add_point TypeError: '>' not supported between instances of 'int' and 'NoneType' Please contact the author with the log of the error from the console window

Gneech

Hello! I received the following error and the operation stopped:

Gneech

Which default directory does it saves the JSON and or ZIP file to when exporting ?

Frederic

It blocks on exporting music, how can I fix this or avoid music export ?

Frederic

What makes you choose importing as world of compendium ? What are advantages or disadvantages ?!

Frederic

Got a few questions, So I am trying to convert a Call of Cthulhu Campaign, I have it exported from Roll20, and Imported as Compendium; However doing so broke all the Compendium Links. It's looking for the following " @JournalEntry[ZTg0ZDRlMjRmYmU4]{Art - Talking to the Police}" However when I manually re-link, the correct entry is "@Compendium[hole-whole-or-lul.journal.ZTg0ZDRlMjRmYmU4]{Art - Talking to the Police}" Is there a quick fix for this, or am I manually re-linking everything?

Eirikr Franklin

What kind of problems? I think it's better to use the 0.11.1 release (though it doesn't hurt to try the 0.10.5 version), but if you have problems, let me know and I can likely help.

Youness Alaoui

It was in this post. I've updated it with the 0.11.1 release already which fixed the bug, so it should be stable.

Youness Alaoui

I can't find it at the moment but somewhere he mentioned that there was some bugs he missed before he left. He suggested https://www.patreon.com/posts/r20converter-0-x-46897221 for more stability.

Goltanos

I just tried the 0.11 R20Converter and had a lot of problems (I'm new). Would the 0.10 R20Coverter be more stable?

Rube Goldeberg


More Creators