PDA

View Full Version : Import character does not work



DrJonesDk
March 6th, 2017, 07:49
Hi
I'm trying to import a PC from Hero Lab to Fantasy Grounds. I do not see any converter-executable in the Fantasy Grounds install folder, but I have found an Import Character button, and I have tried it, but nothing happened. In the console window it writes a message about importing, but no character is added to the collection.
Regards,
Jones

damned
March 6th, 2017, 09:05
Hi DrJonesDk what ruleset are you doing this for?

Allmight
March 6th, 2017, 10:04
The character converter should be located under "C:\Users\yourusername\AppData\Roaming\Fantasy Grounds\utilities" folder if you used the default paths. You should find a file named "CharacterConverter.exe" in there.

You can get there by pushing the folder button on the FG start screen.

DrJonesDk
March 6th, 2017, 14:02
The character converter should be located under "C:\Users\yourusername\AppData\Roaming\Fantasy Grounds\utilities" folder if you used the default paths. You should find a file named "CharacterConverter.exe" in there.

You can get there by pushing the folder button on the FG start screen.

Hi, thanks for the info. Found the converter-executable. Now I need either to update it to a more recent .NET framework version or install an old version. As a .NET developer I will try to update it first. Is the source code available by any chance?

Regards,
Jones

Allmight
March 6th, 2017, 14:10
I highly doubt Smitework has released the source. I think your only option is to install the .NET version it requires.

Just go the the "add features" function in windows and turn on the .NET framework version you need, or download it from Microsoft if you rather do it that way.

DrJonesDk
March 6th, 2017, 19:16
Well, it looks for FG data in the wrong place. I've reverse engineered the executable and I am in the process of fixing it. I've updated the .Net Framework reference to 4.6.1 and replaced use of third-party zip-library with .NET's own. I will be happy to contribute the fixed source code back to Smiteworks when I'm done.

DrJonesDk
March 6th, 2017, 19:41
OK, sorry, I was a bit fast there. The converter looks up the path to the data-directory in the Windows-registry and finds what is needed. Conversion works fine. Thank you for your assistance.

Allmight
March 6th, 2017, 20:04
You're welcome. Glad i could help :)

DrJonesDk
March 7th, 2017, 07:10
I went ahead and used the campaign import option in the character converter. It worked like a charm. I am using the Pathfinder ruleset.