Another update.
- Select module button not opening dialog. Fixed.
- Removing the last module entry causes crash. Fixed.
- Added the Pathfinder spells module as a default entry.
- Improved error messages for user readability.
JPG
Printable View
Another update.
- Select module button not opening dialog. Fixed.
- Removing the last module entry causes crash. Fixed.
- Added the Pathfinder spells module as a default entry.
- Improved error messages for user readability.
JPG
Nice update - I no longer have the "file not found" error when selecting modules. :)Quote:
Originally Posted by moon_wizard
One minor thing - the new HeroLab FG export is saved by HeroLab as .hlfg (not .xml). The default for the character importer is to look just for .xml files, so it doesn't find the HeroLab exports by default. You can put * in the filename field to see all files, but it would be cool to have it view the exported .hlfg files by default.
I've been slow to try the converter out of a fear it would mirror my experience with the parser ( great tool but beyond my tech ability). My bad. The converter is amazing....thank you!
Question....is it anticipated that it will work similarly with the monster builder at some point?
The character converter utility was part of Cody's intern projects for the summer, however, he is returning to school.
So, that means that enhancements to the character converter, such as monster import, will have to wait for a bit. It is definitely on the wish list though.
Regards,
JPG
I look forward to monster importing, and other snazzy features, for this incredibly valuable tool. This sort of integration of products is the next level of VTT gaming.
Thanks to Cody for all of the work that was put into this.
Greetings!
I used the importer several weeks back, and had great success.
My party has leveled, and so I headed straight to the importer to get their new stats. Unfortunately, I get a variation of "bad index" errors for all but one of the party!
I've pasted the output text from the latest importer below.
Is there anything that I can do about this? It worked perfectly fine one level ago. Now it fails most of the time.
I ran this with v2.8.1.B, then downloaded the latest, v2.8.1.I. The error messages are more succinct with the latest version, but are still essentially the same.
Any help would be appreciated.
-Thomas
============== output text ==============
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Documents and Settings\Thomas\My Documents\ddi\Online Game\Kenai08.dnd4e
Output to Xml: false
Import to Local Character List: false
Import to Campaign: true
The Questers.Path: C:\Documents and Settings\Thomas\Application Data\Fantasy Grounds II\campaigns\The Questers\db.xml
Replace existing character: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
Add class features as powers: false
Add feats as powers: false
Add item properties as powers: false
----Conversion Results----
Could not convert Kenai8: Index was outside the bounds of the array.
--------------------------------------------------------------
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Documents and Settings\Thomas\My Documents\ddi\Online Game\Kudoles08.dnd4e
Output to Xml: false
Import to Local Character List: false
Import to Campaign: true
The Questers.Path: C:\Documents and Settings\Thomas\Application Data\Fantasy Grounds II\campaigns\The Questers\db.xml
Replace existing character: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
Add class features as powers: false
Add feats as powers: false
Add item properties as powers: false
----Conversion Results----
Could not convert Kudoles8: Index was outside the bounds of the array.
--------------------------------------------------------------
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Documents and Settings\Thomas\My Documents\ddi\Online Game\Tordek08.dnd4e
Output to Xml: false
Import to Local Character List: false
Import to Campaign: true
The Questers.Path: C:\Documents and Settings\Thomas\Application Data\Fantasy Grounds II\campaigns\The Questers\db.xml
Replace existing character: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
Add class features as powers: false
Add feats as powers: false
Add item properties as powers: false
----Conversion Results----
Could not convert Tordek8: Index was outside the bounds of the array.
--------------------------------------------------------------
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Documents and Settings\Thomas\My Documents\ddi\Online Game\zook08.dnd4e
Output to Xml: false
Import to Local Character List: false
Import to Campaign: true
The Questers.Path: C:\Documents and Settings\Thomas\Application Data\Fantasy Grounds II\campaigns\The Questers\db.xml
Replace existing character: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
Add class features as powers: false
Add feats as powers: false
Add item properties as powers: false
----Conversion Results----
Could not convert Zook8: Index was outside the bounds of the array.
--------------------------------------------------------------
Don't know if this will make a difference, but try it without the module manager. The modules that are listed are for 3.5E/PFRPG not 4th Ed.Quote:
Originally Posted by tpkurilla
If you can send me one of the characters to support at smiteworks dot com, I can look into it more closely as well.
Thanks,
JPG
I've been trying this for 4e as well and keep getting the following
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Users\Test PC\Desktop\Craghammer.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: false
Using local xslt: false
Add class features as powers: false
Add feats as powers: false
Add item properties as powers: false
----Conversion Results----
Could not convert Reece Flashfire: Index was outside the bounds of the array.
--------------------------------------------------------------
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Users\Test PC\Desktop\Craghammer.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: true
Add class features as powers: true
Add feats as powers: true
Add item properties as powers: true
----Conversion Results----
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Users\Test PC\Desktop\Craghammer.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: true
Add class features as powers: true
Add feats as powers: true
Add item properties as powers: true
----Conversion Results----
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Users\Test PC\Desktop\Craghammer.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
Add class features as powers: true
Add feats as powers: true
Add item properties as powers: true
----Conversion Results----
Could not convert Reece Flashfire: Index was outside the bounds of the array.
--------------------------------------------------------------
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Users\Test PC\Desktop\Craghammer.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
Add class features as powers: true
Add feats as powers: true
Add item properties as powers: true
----Conversion Results----
Could not convert Reece Flashfire: Index was outside the bounds of the array.
--------------------------------------------------------------
Conversion Start
Version: 2.8.1.I
Display Ruleset: 4E
Internal Ruleset: 4E
Source Format: Dungeons & Dragons Insider .dnd4e
.Path: C:\Users\Test PC\Desktop\Craghammer.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: false
Using local xslt: false
Add class features as powers: true
Add feats as powers: true
Add item properties as powers: true
----Conversion Results----
Could not convert Reece Flashfire: Index was outside the bounds of the array.
--------------------------------------------------------------
Just updated the character converter again. I plan to release officially with 2.8.2, so please run it through some more paces.
In addition to bug fixed, I changed around some of the code to better support additional game systems in the future.
*Old Link Removed*
Character Converter v2.8.1J
- Look for HL files as *.hlfg, instead of *.xml
- [HL (3.5E/PF)] Immunities, Resistances and Weaknesses imported into Special Abilities list.
- [HL (3.5E)] Skill rank data not available, all modifiers placed in misc skill modifier.
- [HL (PF)] Misc skill modifiers not being imported. Fixed.
- [HL (PF)] Subskill names not imported correctly. Fixed.
- [HL (3.5E/PF)] AC size modifier not being imported. Fixed.
- [HL (3.5E/PF)] Extra armor items in inventory. Fixed.
- [HL (3.5E/PF)] Weapon melee/ranged type not editable after import. Fixed.
NOTE: Dodge AC modifiers will be missing from 3.5E/PF imports until v2.8.2 of FG is released with the addition of dodge modifier on the character sheet.
Cheers,
JPG
If you receive any errors, please send me a copy of the character file you are trying to import as well as the character generator and game system you are using.
You can post here, or send to support at smiteworks dot com.
Thanks,
JPG
Just tried it again, File attached in zip.. error message below... maybe I'm doing something wrong?
Conversion Start
Version: 2.8.1.J
Game System: 4E
Ruleset: 4E
Source Format: D&D Insider (.dnd4e)
.Path: C:\Users\Test PC\Desktop\test s.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\Test PC\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: false
Using local xslt: false
Add class features as powers: true
Add feats as powers: true
Add item properties as powers: true
----Conversion Results----
Could not convert Eugnot Laoc: Index was outside the bounds of the array.
--------------------------------------------------------------
Thanks for the file. I was able to reproduce the issue. It was tied to item powers that changed format. The next revision will update the code to handle the current format and fail gracefully if the format changes again.
Regards,
JPG
Another update.
*Old Link Removed*
Character Converter v2.8.1K
- Added ability to import into local character database which has not been created yet.
- [3.5E/PF] Better formatting of description fields imported from modules.
- XML output was not working. Fixed.
- [PF] Pathfinder module lookup was not working. Fixed.
- [4E] Certain item powers were causing the conversion to fail. Fixed.
NOTE: [3.5E/PF] Dodge AC modifiers and spell reference links will be missing from 3.5E/PF imports until v2.8.2 of FG is released with some changes to the character sheet.
Cheers,
JPG
That did it, Thanks!
First time using the util; imported a toon from HeroLab, and it far exceeded my expectations. VERY nice job on this, guys!
Im off to work and afraid to test without backing up...does anyone know offhand if you can import a PF chracter from one FG campaign into another? It seems like it should work, Im just not certain where to point the importer...to the campaign.xml file?
[QUOTE=Talen]Im off to work and afraid to test without backing up...does anyone know offhand if you can import a PF chracter from one FG campaign into another? It seems like it should work, Im just not certain where to point the importer...to the campaign.xml file?[/QUOTE
You could use it I suppose, never tried it that way though.
Easiest way would be to use the /exportchar slash command in FG to export from one campaign and then /importchar in the campaign you want to import the character to.
My players and I have been using the character importer with great success.
The issue now is how much use we get out of it in campaign play. My players all track equipment, items used, charges, etc in their character sheets in Fantasy Grounds. They would like to use Hero Lab when they level up to work everything out and then import the character back into FG. But, this would overwrite all of their carefully maintained equipment lists in FG.
Would it be possible to add an option in the importer to not import equipment / overwrite current equipment lists already within FG? My players are happy entering any additional things they may have added in Hero Labs manually in FG.
That's a great idea. I'll add it to my feature request list.
One of the primary concerns that I have is how to maintain characters between character generator and tabletop, without having to build both pieces of software yourself.
I think that the option you propose fits very nicely. Allowing all the primary character pieces to be managed by character generator, while allowing inventory to be managed by FG.
The only issue I can think of off the top of my head is that the option will require the FG item list to be scanned for powers to add to power list automatically. (at least for 4E ruleset)
Regards,
JPG
Not sure if this has been reported, but there appears to be an issue with 4E and "Replace existing character". You recieve "Error: Object reference not set to an instance of an object."
Code:Conversion Start
Version: 2.8.1.K
Game System: 4E
Ruleset: 4E
Source Format: D&D Insider (.dnd4e)
.Path: C:\Users\micpre\Downloads\Kage.dnd4e
Output to Xml: false
Import to Local Character List: true
.Path: C:\Users\micpre\AppData\Roaming\Fantasy Grounds II\characters\4E.xml
Import to Campaign: false
Using module manager: true
Using local xslt: false
Add class features as powers: true
Add feats as powers: false
Add item properties as powers: false
----Conversion Results----
Kage successfully converted.
Could not import Kage to local character list. Error: Object reference not set to an instance of an object.
--------------------------------------------------------------
I also had an issue with the Error: Object reference not set to an instance of an object, but for 3.5ed.
I went to the module manager and checked the appropriate modules to use and everything went smoothly after that.
Is it possible to convert FG2 characters to PCGen format using this utility? If so, how?Quote:
Originally Posted by moon_wizard
Thanks!
sorry wrong thread.
I don't think so, I'm afraid. It's a one-way import tool into Fantasy Grounds, not the other way.Quote:
Originally Posted by Callum
i'm using the tool to import characters (to be NPC) from herolab into fantasyground. I've started to exercise myself in creating an adventure. So this makes it more easy to create a whole bunch of characters to toy around with :)
If you're using the Pathfinder ruleset and want to import NPCs from Hero Lab directly into NPC entries in Fantasy Grounds have a look at the Creature Parser here. Ignore the "alpha" status in the title (I can't change that) it's been running pretty well for a while. Post #9 mentions which minor changes to be made to the text statblock export from Hero Lab.Quote:
Originally Posted by Arpat
Hi!
I ran into an error the other day while trying to complete a convert/campaign load for a 1st level Pathfinder hafling Monk character.
Here is the output:
Conversion Start
Version: 2.8.1.K
Game System: PFRPG
Ruleset: 3.5E
Source Format: Hero Lab (.hlfg)
.Path: C:\Users\Pete\Documents\Hero Lab\portfolios\Shiafu.hlfg
Output to Xml: false
Import to Local Character List: false
Import to Campaign: true
Pathfinder Main Campaign.Path: C:\Users\Pete\AppData\Roaming\Fantasy Grounds II\campaigns\Pathfinder Main Campaign\db.xml
Replace existing character: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
----Conversion Results----
Could not convert Shifu: StartIndex cannot be less than zero.
Parameter name: startIndex
--------------------------------------------------------------
:confused:
Help?
Can you send me the character file? ([email protected])
Thanks,
JPG
Hi there – I’m wondering if you can help me with a strange error I’m receiving when running this utility to import chars into FG from Herolabs.
I’m running 2.8.1.K of FG-Char-Converter against an Unlimited license of FG2 with all of the latest patches. I create two 3.5E characters in HL with latest patches (por files attached, joe is created from scratch and kord is a stock hero from herolabs). The hlfg file for Joe loads into the stock campaign (“A Tale of Dinor”) with no problem but kord doesn’t load. The utility shows this result:
Conversion Start
Version: 2.8.1.K
Game System: 3.5E
Ruleset: 3.5E
Source Format: Hero Lab (.hlfg)
.Path: C:\Users\Public\Documents\_install\fg\Kord.hlfg
Output to Xml: false
Import to Local Character List: false
Import to Campaign: true
A Tale of Dinor.Path: C:\Users\Jim\AppData\Roaming\Fantasy Grounds II\campaigns\A Tale of Dinor\db.xml
Replace existing character: false
Using module manager: true
.Module: 3.5E-basicrules.mod
.Module: 3.5E-magicitems.mod
.Module: 3.5E-spells.mod
.Module: PF-SRD-Basic-Rules.mod
.Module: PF-SRD-Spells.mod
Using local xslt: false
----Conversion Results----
Could not convert Kord: StartIndex cannot be less than zero.
Parameter name: startIndex
Any help on sorting out what might be happening here is appreciated. Happy to debug as needed (I’m a skilled dev and learning Lua as we speak). Interestingly, other characters created from scratch, eg. for pathfinder, also fail to load with the same startindex error. I can provide these files too but I thought we could get sorted out on this conversion problem first (in case it’s helpful, the attached shifu por and hlfg file is one example of a pathfinder char that also won’t load with the same error).
All the files I mentioned are zipped into one attachment for your convenience.
thanks for your help!
Thanks JKensai, at least I know it isn't just me.
Any updates JPG? I know you guys are busy with the NEW version of FG, so can appreciate if you haven't been able to swat this bug yet.
Thanks!:D
So, I found mysefl with some debugging time and discovered something interesting. The very same char that I couldn't load with into FG Char Converter did load with PFRPG Creature Parser V1.0.0.15 and could be opened into the campaign and seemed to work ok although I noticed the attack block was munged up:
<atk http://<font color="#990000">tk</fon...g</b></font>">Kama +4 (1d4-1/20/x2) and Kama +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Quarterstaff +0 (1d4-1/20/x2) and Temple Sword +0 (1d6-1/19-20/x2) and Unarmed Strike +4 (1d4-1/20/x2) or Shuriken +4 ranged (1-1/20/x2)</atk>
... with the effect being that the entity had only two attack types. One big crazy one
Kama +4 (1d4-1/20/x2) and Kama +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Quarterstaff +0 (1d4-1/20/x2) and Temple Sword +0 (1d6-1/19-20/x2)
and
Shuriken +4 ranged (1-1/20/x2)
I don't know enough about what the FG2 schema is supposed to be for this but I tried changing all the "and" to "or" in the db.xml for the mod in case FG parsed this but that didn't seem to change anything. I guess I might need to reload the creature or something; I will play around with that.
Anyway, the important point here is that it seems that there's at least a path into FG2 for these non loading pathfinder chars but I still would like to get this char in as a PC somehow if possible using the converter.
thanks for any help
Have a look at the text stat block exported from HeroLab - it sounds like HeroLab is adding multiple melee attack lines into the statblock.Quote:
Originally Posted by JKensai
The Fantasy Grounds DB entries for PCs and NPCs are quite different, so I'm not surprised that exporting the PC as an NPC text statblock and then importing as an NPC works when there are issues with the Fantasy Grounds xml output and using the Character Importer. Of course, this doesn't help you get your PC into FG. :(Quote:
Originally Posted by JKensai
thanks Trenloe. that does appear to be the case... here's what the section looks like from herolabs statblockQuote:
Originally Posted by Trenloe
Melee Kama +4 (1d4-1/20/x2) andwhich ends up as
Kama +4 (1d4-1/20/x2) and
Nunchaku +4 (1d4-1/20/x2) and
Nunchaku +4 (1d4-1/20/x2) and
Quarterstaff +0 (1d4-1/20/x2) and
Temple Sword +0 (1d6-1/19-20/x2) and
Unarmed Strike +4 (1d4-1/20/x2)
Ranged Shuriken +4 (1-1/20/x2)
Special Attacks Flurry of Blows -1/-1
<atk type="string">Kama +4 (1d4-1/20/x2) and Kama +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Quarterstaff +0 (1d4-1/20/x2) and Temple Sword +0 (1d6-1/19-20/x2) and Unarmed Strike +4 (1d4-1/20/x2) or Shuriken +4 ranged (1-1/20/x2)</atk><fullatk type="string">Kama +4 (1d4-1/20/x2) and Kama +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Nunchaku +4 (1d4-1/20/x2) and Quarterstaff +0 (1d4-1/20/x2) and Temple Sword +0 (1d6-1/19-20/x2) and Unarmed Strike +4 (1d4-1/20/x2) or Shuriken +4 ranged (1-1/20/x2)</fullatk><spacereach type="string">5ft./5ft.</spacereach><specialattacks type="string">Flurry of Blows -1/-1</specialattacks>
when PFRPG Creature Parser V1.0.0.15 is through with it. I guess these should all be one line each?? Like this:
<atk type="string">Kama +4 (1d4-1/20/x2)</atk>
<atk type="string">Nunchaku +4 (1d4-1/20/x2)</atk>
etc.
...or something like that? I may play around with changing the xml but I suspect this won't do much as there's a binary file for the mod it seems that was created by the creature parser and I'm guessing this is what FG2 is reading. I'm not sure how the author of the utility is creating this file.
You mentioned that PC and NPC are quite different, is there a schema for these available somewhere? It would be fun to try and write a parser for this to import from HL to FG2.
thanks
hey, I noticed a post elsewhere on the board that the mod file is really a zipfile sooo... I opened it up with 7-zip changed all the "and"s to "or"s in the attack block in the db.xml in the mod and wham it worked! :)
Now, what I really want to do is to import a PC but for that I think I'm going to have to figure out what the schema is (or find it on the site, still new to this place). If someone know please kindly point me in the right direction
thanks!
There are only 2 entries in the NPC sheet in FG (open any creature/NPC XML in a text editor to check) - attack and full attack. Therefore, there is only 1 <atk> entry with all available attacks in it (but each attack should be separated by "or" as this is the single attack entry and only 1 attack can be made with a standard action) and another <fullatk> that should have the melee entries combined with "and" so that a full attack action can do all attacks (e.g. 2 x claws AND bite).Quote:
Originally Posted by JKensai
Well, I'm pretty sure I know how it's being created, as I'm the author! :)Quote:
Originally Posted by JKensai
It isn't a binary file, it is a zipped db.xml (and associated files) as all FG .mod (and .ext) files are. Change the extension from .mod to .zip and you can open it up and have a look. You can also see the resulting db.xml and definition.xml that go to make this .mod file in a directory in the same location as the text file you read into the parser.
However, to get back to your original issue/question - you need to change the statblock textfile that is exported from HeroLab to have only the attacks you are interested in. The input to the parser has to be a correct statblock - otherwise how does the parser know that the input data is wrong and that it has to make corrections? It doesn't, and can't - as it would probably break more than it tries to fix. The old addage applies here - "garbage in equals garbage out". Make changes to the statblock and make sure this is correct and then reparse with the creature parser.
I don't think there's anything around that details it fully. The way I extracted it for the NPC/Creature parser was to examine a few creature records from the Pathfinder Essentials bestiary module included with the 3.5E ruleset - as mentioned above, change the .mod to .zip and you can view the db.xml with all the entries. For PC's look in the db.xml file for a campaign with some PCs present.Quote:
Originally Posted by JKensai
Fun to write a parser to parse what exactly? We have the HL creature statblock (and statblocks from PDF scenarios etc.) to creature (NPC) parser (which I wrote) and the character importer with imports PCs from HeroLab. So, I don't think there's anything left to write a parser for?Quote:
Originally Posted by JKensai
P.S. Sorry to everyone for hijacking the character importer thread with questions about the creature importer. Although, they are slightly related (ish).
I was writing a long reply while you were posting this obviously... :)Quote:
Originally Posted by JKensai
As mentioned before - for importing creatures/NPCs from statblocks don't go down the route of editing the db.xml file after you've ran the creature importer, just make sure the statblock is right to start with - much easier, and you can save the statblock text file for later use when the creature importer is updated (like when I add NPC spell links when 2.9 is released).
For importing PCs, use the character importer utility that is what this thread is all about! :D
Thank you again Trenloe for all the detail and info... and lol I had no idea you'd written the Creature Importer (thank you for that as well!) And btw I should have read the readme details :oQuote:
Originally Posted by Trenloe
And sorry everyone for dragging this a little offtopic (sort of), my initial intent was to help debug the Character Importer which fails to load the very same char that the Creater Parser can load. I now realize that this doesn't mean much since the schemas are different.
As for writing yet another parser, I learn best by doing so I was wanting to try my hand at importing PCs into FG2 since for some reason moon_wizard's char utility doesn't work on many of the PCs I'm working with at the moment. It's my hope that in trying to build a parser, I might be able to figure out why the current char utility doesn't work (yet).
I'm also wondering if there's a way to roundtrip characters (e.g from HL to FG2 to HL and back again). In other words keep FG2 resources and their HL counterparts in sync.
And mostly I want to play in FG! :D
Check your weapons - if you have shuriken with a damage of "1-1" remove them - it is probably this that is causing your issue.Quote:
Originally Posted by NJCommanderX
The entry for "Flurry of Blows" doesn't have any damage listed, I think it might be this that is causing the issue.Quote:
Originally Posted by JKensai