PDA

View Full Version : Herolab Online Starfinder Character to Fantasy Grounds Converter



dberkompas
November 17th, 2020, 04:12
I'm working on a webapp that will convert your Herolab Online Starfinder character into an XML file you can then import into Fantasy Grounds Unity.

Here's the URL: https://ai6k.com/hloapi2fg/

It's not pretty, and I don't have the download button implemented (it's a simple copy/paste from my DnD Beyond converter, I just haven't done it yet.)

Here's how it works:
Create a Character in Herolab Online.
Click the gears in the upper right, select export/integrate.
Scroll to the bottom and click on 'Get User Token' - Put that code in the first box on the converter.
Below that, click on 'Get Element Token' - Put that in the second box on the converter.

In the converter, click 'Pull Character from HLO', and it will populate the first text area with the JSON data from Herolab Oneline.
Click 'Parse Character' and it will populate the second textarea.

Copy/paste that second textarea into a text editor, and save the file as CharacterName.xml.

Import that into Fantasy Grounds.

Extremely limited at the moment, but it'll flesh out over time.


Dave

madman
November 17th, 2020, 11:40
Nice job! Thanks for sharing.

dberkompas
November 18th, 2020, 02:57
I've cleaned it up a little bit, made it just a tinier bit prettier.

I'm currently working on spells.


Dave

dberkompas
November 18th, 2020, 22:02
Spells are working!!! They don't parse automatically, still trying to figure that out (I have it working for D&D 5E, but not for Starfinder).

https://ai6k.com/hloapi2fg/

Dave

cxevan7
March 24th, 2021, 04:55
Any updates to this?

dberkompas
March 24th, 2021, 07:05
Nope. Is there something you'd like to see added?


Dave

Stargrove
March 30th, 2021, 22:50
Curious if it would be possible to use this as a starting point for getting HeroLab PF2 characters into FG/FGU?

dberkompas
March 30th, 2021, 22:53
Yes, yes it would.

I believe all my code is in Github, I'll have to verify.

Dave

Wolffauer
April 16th, 2021, 01:34
This is great for getting started with moving a character to FG. Thanks for making it available!

I got to try it out today with a level 9 operative, and ran into a few issues.
- Fortitude save didn't come across.
- The stat associated with the Profession skill was missing.
- Total skill points was incorrect (8 vs 72) (Looking at the JSON, I'm guess you just need to multiple the skill ranks by the level).
- Free skill ranks were stored as regular skill ranks (though I couldn't find them in the JSON either, so may be nothing to be done about them)

I can post the JSON records for the first two if that would be of any use.

dberkompas
April 16th, 2021, 05:53
All my code is in Github.
https://github.com/BoomerET/hloapi2fg

Make sure you read the licensing agreement please.


Dave