Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] HeroLab Character Importer (Pathfinder)

1556075865

Edited 1556129395
Zachare S.
API Scripter
HeroLab Character Importer Yet another Roll20 API Script by Zachare Sylvestre Wiki: &nbsp; <a href="https://wiki.roll20.net/Script:HeroLabImporter" rel="nofollow">https://wiki.roll20.net/Script:HeroLabImporter</a> Code: &nbsp; <a href="https://github.com/Imper1um/roll20-api-scripts/tree/HeroLabImporter/HeroLabImporter" rel="nofollow">https://github.com/Imper1um/roll20-api-scripts/tree/HeroLabImporter/HeroLabImporter</a> Exporter Code Bases: HeroLab -&gt; Pathfinder by Roll20 Exporter <a href="https://github.com/Imper1um/Roll20HLCE" rel="nofollow">https://github.com/Imper1um/Roll20HLCE</a> What is it? HLCL uses commands from a&nbsp; HeroLab Character Exporter, which the Pathfinder by Roll20 one is freely available from the above link to create and update Character Journal Entries. These commands are generated by the Exporters for use in the Chat window to quickly drop your characters. This script is agnostic to any system, but it requires that a Custom Output DLL exports the commands properly to the system and character sheet you wish. I have provided the source code to the Pathfinder by Roll20 Exporter in case you want to build your own for another system, or even another character sheet. If you want your code base to be featured as a DLL Exporter, send me a Private Message with your GitHub link and I'll take a look at it and feature it on this thread. Limitations Pathfinder by Roll20: Both HeroLab does not export, and freely available Spell Repositories do not have proper information on Damage Dice for spells. I could, in theory, add the damage in manually, but that is time I do not have. HeroLab does not export Special Abilities properly in all cases. One-off things, like +1 Caster Level if a certain school of spell, do not export, and cannot be imported properly. If you have a really weird character (e.g., lots of multi-classing, many conflicting templates, custom designed items, etc) do not export properly in HeroLab and really don't make it over to the XML that is passed into the Exporter. Because of how Roll20 does not permit API to sort characters, it only adds Characters under the "Characters" folder. You'll have to drag it manually. Please note: This system isn't intended to cover 100% of all cases. Instead, it covers a majority of the content you need to export, and covers most of the cases. Future Plans Importing Character as a PC Further spell support Metamagic Spell Support (right now, it only imports them as normal spells with a different title) Please let me know what you think, and let me know if you encounter any bugs! :)&nbsp;
I wanted to clarify one thing about the HLCI. This importer is actually just a bridge. Technically, this Script can be used for any system with any character sheet. However, the Exporter DLL you use on HeroLab *only* has been built with Pathfinder by Roll20 in mind. TECHNICALLY if you wanted to utilize this Importer with another system HeroLab supports, you would just need to make the DLL Exporter spit out the data properly in that situation. I made it that way so I don't have to change the Script at all if I choose that I'll ever have time to export Non-PF Profiles.