Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

BlackDragonBE

226
Posts
19
Topics
45
Followers
21
Following
A member registered Feb 10, 2014 · View creator page →

Creator of

Recent community posts

This issue is now fixed with the introduction of custom class importing.

This new version brings support for custom MPMB classes via their JS files. Simply place the JS files of the custom classes inside the Custom_JS_Classes folder next to the executable.

Known issues:

  • The new Instructions panel isn't fully working yet. The merging and custom classes topics won't open. Will fix soon in next minor version.

Another update! Using custom classes is now possible by placing the JS file in a special folder. The next step is some clean up and adding instructions for this new feature. I never use custom classes so I can't easily test if it works with all custom classes out there. I'm sure I'll get feedback about that soon enough with the next release.

For now, here's the JSON of your character: https://pastebin.com/BfiRPGxd
You can save that to disk and import it via Foundry. 

Cheers!

FYI, I've made some progress in my attempt to parse the JS file to a format I can use in C#. I found a library that can convert JS to JSON, which means I can parse the JSON, which I have a lot more experience with. Progress is very slow, but I do think it's possible now. 

The next step is to list the minimal parts of a class that are necessary on my side to combine with the PDF data. Once I've created that list, I'll know if it's actually doable. I've collected a few sample JS class files to make sure my system will work with most JS files out there.

I looked into this and you're using a homebrew class as you said, which isn't supported at the moment because of the way the converter matches classes. The actual class data can't be read from the PDF unfortunately, so the application uses class data files based on the name of the class. It does this for things like races, spells and items as well.

I do want to look if it's possible to extract the needed data from a JS file. If it has a standardized format, there should be a way. Ideally you could then put your JS class files in a folder so the converter is aware of them.

Can you provide me your JS file so I have a starting point? Thanks!

I've dialed it back to 130% now and I've set CPU to VeryHigh and GPU to Unlocked. I also changed the Hz to 80. That seems to be a good balance between visuals and performance. I noticed stutters in larger areas with just the 150% setting.

Awesome application! I just increased the render resolution of Asgard's Wrath 2 to 150% on my Quest 3 and the game looks absolutely fantastic now.

I've fixed the issue, it was a parsing error in some cases where class features were defined via a different text format. It should now work correctly starting from v1.1.6. Cheers!

This newest version has a newer, faster version of the UI engine and fixes a bug where some class features wouldn't load correctly.

Thanks for the report, I'll look into this as soon as possible.

Yeah, that sounds like D&D! No worries, let me know if you encounter any issues when you get the chance to use the converter.

The studio just switched what game engine they're using and participated in the jam to get some practice with Godot. Give them some slack. Also, this isn't Reddit, the only one getting downvoted here is you.

Thanks for the high praise, I appreciate it! This project was something totally different from what I usually cobble together, which are often arcade-like games. It was a ton of fun to make so I wish you the best with your own project!

(1 edit)

Hi! I'm guessing all of this is homebrew content?

  • The race name itself should be imported no matter what, the converter reads the RACE field at the top of the first page 
  • Racial traits are read from the RACIAL TRAITS text of the second page. The format is as follows:
RACE NAME (+X Ability, +X Ability)
TRAIT NAME: TRAIT DESCRIPTION
TRAIT NAME: TRAIT DESCRIPTION

For example:

Bugbear (+2 Strength, +1 Dexterity)
Powerful Build: I count as one size larger when determining my carrying capacity and the weight I can push, drag, or lift.
Long-Limbed: I have an additional 5 feet reach with melee attacks that I make on my turn.
Surprise Attack: If I hit a surprised creature on my first turn in combat, that attack deals an extra 2d6 damage. I can do this only once per combat.

The race name and every trait with its description goes on a new line.

  • For other house rule changes, it highly depends on what exactly. Class features for example need to be added to the CLASS FEATURES text on the second page. Those are in this format:
Druid (Circle of the Moon), level 5:
◆ Druidic (Druid 1, PHB 66)
   I know Druidic; Hidden messages with it can only be understood by who know Druidic
◆ Spellcasting (Druid 1, PHB 66) [3 cantrips known]
   I can cast prepared druid cantrips/spells, using Wisdom as my spellcasting ability
   I can use a druidic focus as a spellcasting focus for my druid spells
   I can cast my prepared druid spells as rituals if they have the ritual tag

Those ◆ symbols are very important to mark where a feature begins. All text on the lines below that are the feature description.

  • The converter doesn't support wild shapes at this time as I'm not sure how to handle them. One way could be creating a separate actor for every wild shape creature, but I haven't looked into it yet due to the increased complexity. For now, your best bet is to create the custom wild shape creatures in Foundry and then dragging the beast onto your character sheet to perform the wild shape.

This is yet another fix update. This release fixes the converting several subclasses and backgrounds. In addition, importing tool type items in FoundryVTT will now work and won't prevent importing the character.

I was able to create a solution for the tool type items. I'll spare you the technical details, but it involved having to have to introduce a dynamic data type for item proficiency that can be true, false, and any number. The fix for tool items will be included in v1.1.5, which I'm planning to release soon.

I can confirm there's was something wrong with some classes, including Pirate. I'm working on v1.1.5, which will fix that issue.

No problem. I'll check if there's an issue with the Pirate background.

Here's the JSON for Graven: https://pastebin.com/bup18Te

Unfortunately, I haven't been able to fix all issues I've found just yet, so I've had to fix the output by hand. The export from the converter works just fine now, but Foundry doesn't accept the JSON.  There's something strange going on with the way the new dnd5e system in Foundry processes tool items like "Smith's Tools" for example. It expects some peculiar values that aren't used in other places...

At any rate, I'll get to the bottom of it and I'll let you know when I found a permanent solution.

Can you send me the XFDF after correcting the class name? I can't seem to reproduce the issue after manually changing the class name in the XFDF you linked. 

I found a bug in my subclass parsing code causing this error. I also bumped into some other issues, which I'll address as well. Once I got a working, I'll give you the working Actor JSON for Graven. After that I'll publish a new bugfix release ASAP. Thanks for your patience!

Hi, it seems to be an issue with the class name. The class name is set as "Atrificer - Armorer 5, while the correct spelling is "Artificer". The converter reads this name and tries to match it to a database of known classes, that's why it's failing.

Can you correct the class name and let me know if the issue persists? Thanks!

Hi! Thanks for reporting this bug, I'll take a look and try to resolve the issue as fast as possible.

Thanks for reporting this bug, I'll take a look and try to resolve the issue as fast as possible.

You're welcome!
Issue resolved in v1.1.4.

I've released version 1.1.4, which includes several fixes that should prevent the errors you were getting in the converter and in Foundry. Let me know if the new version works better for you.

This release fixes a few minor import issues:

- The converter fails when the History field is empty: https://itch.io/t/2758196/conversion-errors
- The converter fails when a class doesn't have all of its properties filled in: : https://itch.io/t/2758196/conversion-errors
- Lack of hit dice made importing in FoundryVTT fail

(1 edit)

I've managed to convert Bob. The issue was that his History field was empty causing it throw an exception. I've made the Bio converting more lenient to fix this issue. I've tested the JSON export and it seems to be working as intended in FoundryVTT. I'll include the fix in version 1.1.4.

In the meantime, you can download the JSON for Bob here: https://pastebin.com/qjbY2SB

I'll try to fix the import error soon as well, I think I might have enough info with just the JSON and the stack trace you provided, but if you do have the XFDF, that's welcome too.

I'll close this issue for now. Let me know if you want to reopen it if the issue still persists.

Thanks for creating this bug report. I'll troubleshoot as soon as possible and I'll let you know my findings. I can already tell from the Foundry stack trace some values for a tool are missing, causing the import to fail. 

The new 1.1.3 version of the application should fix all compatibility issues with the new dnd 5e system. Please let me know if it that resolves the issue.

This release changes a ton of small things under the hood to make it compatible with DnD5e Fifth Edition System v2.1.5. That new system version made it so almost all fields have to have a default value now, whether it's null, empty or otherwise.

As a result, I had to change, tweak and improve just about every step of the conversion. This in turn means a that there's a huge chance for new bugs to creep in, so I did a lot of testing with dozens of characters and variations to try and squash them all. If you get any errors in the application or Foundry, let me know and I'll do my best to get things sorted.

Aside from compatibility change, I've made some general improvements like handling multi-classing better and making the code more lenient to homebrew texts in some places. I hope you enjoy this new release!

Compatibility with dnd5e 2.1.5 is not working. I'm working on a fix, please use 2.0.3 or lower for now.

A quick update: I found the issue. 

The new version of the dnd5e system hasn't changed its format as far as I can tell, but it does a TON of checks now for missing and empty values which it didn't care about before. This means a lot of changes under the hood of the converter for just about all conversion stages.

I'll have to implement the fix in a few stages:

  1. Add lots of empty strings and null values all over the place as placeholders until the import in Foundry works for a single character.
  2. Create 10+ characters and test if the import works correctly while finetuning and rewriting parts of the converter

As this touches upon most of the converter code, it will take me a while to get the converter to a semi-stable state again and I have a feeling it will introduce some bugs here and there. I'll create a post to warn people not to update to 2.1.5 for now.