PDA

View Full Version : Wot? No HeroLab import?



ianmward
June 15th, 2014, 13:10
Hi,

I use HeroLab and saw the integration with FG advertised on their site, but now I've bought FG, I see that the import only works for Pathfinder...
Is this planned for SW anytime soon? I guess it can't be that hard, it just needs some clever XSLT...

Cheers,

Ian

Tiqon
June 15th, 2014, 15:58
You will need to run the import program found in your folder C:\Users\[your user name]\AppData\Roaming\Fantasy Grounds II\utilities.

You can easily find the folder by starting up FG and click on the folder icon in the right top corner.

Trenloe
June 15th, 2014, 17:53
You will need to run the import program found in your folder C:\Users\[your user name]\AppData\Roaming\Fantasy Grounds II\utilities.

You can easily find the folder by starting up FG and click on the folder icon in the right top corner.
There is not Savage Worlds support in the Character Converter.

dberkompas
June 15th, 2014, 17:58
As the OP mentioned, that appears to only support Pathfinder, 3.5 and 4e.

Tiqon,

It's not that hard. I've created a converter for my Castles & Crusades Hero Lab plugin to import characters into Fantasy Grounds.

It does take time to write the code and test, but it's not hard since all the files you deal with are XML.

I find it hard to believe that this hasn't been done already.

Trenloe
June 15th, 2014, 18:09
It's not that hard. I've created a converter for my Castles & Crusades Hero Lab plugin to import characters into Fantasy Grounds.

It does take time to write the code and test, but it's not hard since all the files you deal with are XML.

I find it hard to believe that this hasn't been done already.
Sounds like someone's volunteering! ;)

Tiqon
June 15th, 2014, 18:52
argh! now you actually want me to READ what people write? bummer... And here I though "Hey this time I can be faster than Trenloe!" Double bummer. Sorry ianmward, I got trigger happy. In the other thread too :) (where I will stay away, there is only so much shame you can take in at a time....)

ianmward
June 15th, 2014, 22:32
@dberkompas- I too was a bit surprised. What did you use to write your C&C converter? Is it using XSLT or plain coding? .Net or Java?

If you don't have time, can you share your code? Maybe I can adapt it...

Cheers

Ian

dberkompas
June 16th, 2014, 07:11
If you did a search on Hero Lab here in the Savage Worlds forum, you would find a post by me some short time ago about writing a converter in Python.

That lasted a couple months, now I've switched over to Java.

You can gladly take a look at my Java code that I'm using to convert my Hero Lab plugin to FG.

It's really quite simple, all I'm doing is reading in the custom xml output from Hero Lab into an XML tree, then writing it out in a format that Fantasy Grounds understands.

I did this by creating a character from scratch in FG and comparing to what Hero Lab outputs.

Give me a day or to to zip it up and put it on my server.

I'll post the link to my site here.


BoomerET

dberkompas
June 16th, 2014, 07:25
Here's the .java file: CandC Character converter (https://www.ai6k.com/herolab/savageworlds/CandCcharConvertUI.java)

Here's the whole NetBeans Java project: C&C Character Converter Netbeans Project (https://www.ai6k.com/herolab/savageworlds/CandC_Character-convert.zip)

ianmward
June 16th, 2014, 07:26
That sounds great!

I look forward to seeing it.

Ian


If you did a search on Hero Lab here in the Savage Worlds forum, you would find a post by me some short time ago about writing a converter in Python.

That lasted a couple months, now I've switched over to Java.

You can gladly take a look at my Java code that I'm using to convert my Hero Lab plugin to FG.

It's really quite simple, all I'm doing is reading in the custom xml output from Hero Lab into an XML tree, then writing it out in a format that Fantasy Grounds understands.

I did this by creating a character from scratch in FG and comparing to what Hero Lab outputs.

Give me a day or to to zip it up and put it on my server.

I'll post the link to my site here.


BoomerET

ianmward
June 16th, 2014, 07:29
Wow! That was quick!
Better get to work...

Ian

Here's the .java file: CandC Character converter (https://www.ai6k.com/herolab/savageworlds/CandCcharConvertUI.java)

Here's the whole NetBeans Java project: C&C Character Converter Netbeans Project (https://www.ai6k.com/herolab/savageworlds/CandC_Character-convert.zip)

dberkompas
June 20th, 2014, 05:59
I just played with a copy of ianmward's Hero Lab to Savage Worlds converter, and I must say, it's fantastic.

So, how do you get your copy?

Stay tuned...



BoomerET

dberkompas
September 17th, 2019, 02:06
Thought I'd leave something here.

I'm in the process of writing xslt to directly create the .XML file for Savage Worlds for import into Characters in Fantasy Grounds.

I'm waiting on Caped Crusader to finish his part for SWADE, then I'll get further along. Right now it only does name, skills and attributes/abilities.


Dave

zarlor
September 17th, 2019, 19:18
Nice. I mostly just use Ikael's NPC Creator by exporting my characters from Hero Lab in the text-based stat block format and importing that way. Takes a little bit of clean up but works fairly well. Of course that doesn't help with advances and such so something more direct would be really nice, I would think