PDA

View Full Version : Updated PCGen exportsheet



Carthar
May 16th, 2014, 01:53
MODERATOR update - there's an updated export sheet available here: https://www.fantasygrounds.com/forums/showthread.php?21025-Updated-PCGen-exportsheet&p=443343&viewfull=1#post443343 Thanks @Llisandur!

I've updated the existing exportsheet for exporting characters from PCGen.

It will work for 3.5 and Pathfinder, but the pre-setups are PF specific.

Functionality gain:

Should be spellcaster agnostic, so all spellcasters should now transfer over their spells, not just the 3.5 classes.
Clerics come pre-setup with a damage and a healing burst.
Monks have a pre-setup stunning fist.

Functionality Loss:
Wizards spell books no longer state the specialist class in the name.

Developed for PCGen v6.02.00

Simply save the attached xml file to:

%PCGen%\PCGen60200\outputsheets\d20\fantasy\htmlxm l\


I've done some testing, but obviously I can't test every possibility. Let me know if you find any bugs.

Carth

Trenloe
May 16th, 2014, 02:06
Nice. :)

Thread stickied.

Mr. Goat
May 16th, 2014, 17:08
Well i recently tryed to import from pcgen. when i used the default to FGII .xml export, everything been fine exept the Class skill wasn'T check and the profiency was in special ability instead of the profiency menu, is that fixed in your version?

ballan4
May 16th, 2014, 18:16
Just imported my rogue and it worked almost perfectly. The only thing that didn't transfer over was my inventory. I got that fixed easily though so no real issues. Looks good too.

Carthar
May 17th, 2014, 01:44
I've tested a few builds. It seems inventory only transfers over if you equip or set to carried the items on the equipment tab. Put another way, unequipped equipment is not transferred. I'll look into a way to fix this, but a quick scan of the PCGen documents didn't show an easy solution. So just use the work around for now.

As for the questions about class skills and proficiency; This update only adds the functionality listed. Those two issue have not been resolved.

[edit fixed spelling]

Nylanfs
May 29th, 2014, 00:17
Un-equipped, un-carried items are normally unavailible during play anyway.

Nylanfs
December 8th, 2014, 23:02
BTW, how is this any different than the one with the char importer?

Fishypeanuts
May 5th, 2015, 06:18
installed the new template Thanks!

Errata that I cleaned up manually: Weapons (ex greatsword damage) didn't transfer with damage (retested this). Spells in PCGen tool seem to be lost (example Paladin) ( haven't retested this with new template).

Ingalf
May 15th, 2015, 17:28
Thanks for the great work!
I'm experiencing the following issues (some might be missing features, some are definitely bugs)

class skills aren't set (though the final value seems to come across properly, so if I check the class skill checkbox in FG the total ends up 3 too high. Since the imported final value is correct, I'd consider this bug low priority.
magic enhancements don't show up, e.g. if I have a "Flaming" weapon, the 1d6 fire damage won't show up (I'm guessing this is more a feature request)
stat bonuses for weapon damage don't get applied properly. For example I have a greatsword that should be 2d6+1(magical enhancement)+6(1.5*STR). It's imported as a plain 2d6+7 (which is problematic because the effect of say temporary strength changes wouldn't carry over) but then the attribute modifier which isn't set in the PCGen output defaults to 1 so it ends up displaying as 2d6+11 which is completely wrong.
caster level isn't set. In most chars I have imported it shows up as zero, in one case (a wizard, more in the next item) as 1 (even though level is 10)
As I understand, the spells are always imported at a specific level corresponding to the caster level (is that correct?). For the aforementioned wizard, all spells show up as level 1. In case this is relevant, he has the Universal School selected
speed isn't set

dellanx
February 14th, 2017, 21:59
On import into FG seemed to have crashed my system, not sure why.

Trenloe
February 14th, 2017, 22:21
On import into FG seemed to have crashed my system, not sure why.
Please post the XML that causes this issue.

Gariot
February 26th, 2017, 20:57
Hey :)

Im new here and to be fair i dont own FG (yet :D) - but i playing around with the Demo and testing stuff. Im pretty impressed and love everything so far. But i found out something is bugged with the import from PCGEN. I tested an old and the new version (that alpha one) with, and without the file provided here. I created a char with two weapons, with two-hand fighting feat etc, checked everything before exporting and imported him to my Demo FG. Worked so far but one thing was wrong. I gave him an Longsword in the primary hand and an Handaxe in the secondary hand. The funny thing is FG added to the 1d8+2 damage from the longsword (2 from STR modi) another 2 damage. To the Handaxe too. Normal: 1d8+2/1d6+1 FG: 1d8+4/1d6+3 - i am pretty sure he adds the total STR boni again to both weapons. Maybe a problem with PCGEN or FG i dont know. Maybe someone know how to fix this? It would be pretty awesome if i can create my playerchars with PCGEN :)

Or maybe there is another good PC Creator for pathfinder?

damned
February 27th, 2017, 11:43
Hola Gariot - I do believe some of the finer details do occasionally get messed up...

Gariot
February 27th, 2017, 14:30
Thats sad :( Because i think its pretty important that i can import a char and know - everything is fine. I noticed too that he dont mark the class skills. He import the correct skills and maths but dont mark the class skills. If i do it manually FG adds another +3 on the skill where i but a point.

And i found more. FG dont mark class skills as class skills. He imports all numbers fine but class skills are not marked. If i do it manually FG adds another 3 Points... because its a class skill ^^ Another thing is - there are no links to the skills itself. I have to manually drag and drop them on the sheet. Imported items with "stats" like a simple Longsword gets imported with no imformation besides the weight. No Type, no cost, nothing. And i am sure there is more.

If i have to check every little detail and adjust lots of little stuff - whats the point using software like PCGEN then? :/ The time i spend on PCGEN + the time i have to check and correct everything in FG makes it a little bit useless.
Why not create the PC in FG in the first place than ... ;) Ah, right... because its a pain too.

Talyn
February 27th, 2017, 15:50
The importer also doesn't know how to link to the SRD (or soon, the official content) so your items, skills etc. will have a 'link button' but no data behind it.

PCGen is primarily for tabletop players, and while it's ok for emergency import into FG, you're better off long-term in my opinion just building the character within FG so all the data sources are linked for that character.

Llisandur
May 9th, 2017, 06:00
I noticed that PCGen export sheet wasn't using the new Freemarker OS, so I updated it with new features. Unzip it to pcgen\outputsheets\d20\fantasy\htmlxml. Export the .xml from PCGen, then run it though the Fantasy Grounds Character Converter, otherwise your special movement types and maybe other things won't show up for some reason.

It now marks class skills, and equipped or carried items will be marked as equipped or carried. Anything not specifically marked in PCGen as equipped or carried will not be marked, so you won't have to go un-mark all the items in your bag of holding. :P

Unfortunately, I haven't yet figured out if it's possible to properly link items and spells, but they will import any descriptions, etc. that PCGen has, which is handy for 3rd party content. It also doesn't yet mark spells as prepared properly and it will only import one side of a double weapon. However, for most situations, it works very well.

I have only tested it with Pathfinder content. 3.5e should work for most things, but I have no idea what will or won't import properly.

Edit: I noticed after the update to the official Pathfinder module that the skills with subtypes (craft, knowledge, etc.) and linguistics were exporting improperly. I've fixed this.

Nylanfs
May 9th, 2017, 12:12
Yea! Hiya Llisandur, glad you finally made it to the FG forums!. :)

Llisandur
December 29th, 2017, 16:12
I made a new version of the export sheet for PCGen. It supports both armor and weapon proficiencies now, with individual weapons not chosen by Feats now appearing inside the new proficiency window. I also mostly fixed weapons on the actions tab linking to the appropriate item in the inventory. Armor with bonuses and penalties should be properly applied now as well.

The resulting xml sheet no longer needs to be run through the character importer and can be directly imported into Fantasy Grounds. Please use PCGen 6.07.05 for best results. Earlier versions may cause errors due to use of newer features. Included in the zip are two files. Both are required. Unzip them both to outputsheets\d20\fantasy\htmlxml.

Bidmaron
December 30th, 2017, 04:26
Great work, lilsandur!

Nylanfs
March 23rd, 2018, 14:12
And an update, Lisandur submitted the sheet into the PCGen repo starting with v6.07.07 (https://pcgen.org/download/) so you don't need to download this separately anymore. :)

Llisandur
March 23rd, 2018, 18:20
I'll continue to post the most up-to-date version here, whenever I make improvements. There's still a few things that need updating, like the spells.

dberkompas
March 23rd, 2018, 18:56
Have you thought about doing it native, so you don't have to go through another step to get a file you can import directly to FG?

I've started it, but ran into roadblocks that I will pursue once JEP is gone.


Dave

Llisandur
March 23rd, 2018, 19:05
As it is, the resulting xml file can be directly imported into Fantasy Grounds.

dberkompas
March 23rd, 2018, 19:06
That's awesome. I thought it had to go through another converter, but this is much better. Thanks.


Dave

Llisandur
March 23rd, 2018, 20:05
Originally it did, but I figured out how to go around that. I have found that you can use the converter to update characters in-place though.

Chronodt
January 4th, 2019, 19:42
I found a bug in the pcgen exporter: if you try to export a wizard, due to the scribe scroll feat, this line crashes the java interpreter (line 221):


<#elseif (pcstring('ABILITYALL.Mythic Feat.VISIBLE.${mythicFeat}.TYPE')?lower_case?conta ins("mythic"))>
<type type="string">Mythic</type>


The error was about java not recognizing mythicFeat as a variable/contant/whatever is it, and by selecting another class or a template that replaced the scribe scroll feat it worked.
I don't actually know java or the pcgen code, but I "fixed" it by adding this before just before the above elseif, mainly to not let the scribe scroll feat reach that elseif (a true fix would have checked the existence or validity of mythicFeat before using it, but I have no idea how to do that)



<#elseif (pcstring('ABILITYALL.FEAT.VISIBLE.${feat}.TYPE')? lower_case?contains("item"))>
<type type="string">Item Creation</type>


It's not a true fix, but it works. I think it happened because the char had item creation feats, but no sources with mythic features (I was only using Pathfinder Player sources)

Fishypeanuts
July 3rd, 2019, 15:38
I found a bug in the pcgen exporter: if you try to export a wizard, due to the scribe scroll feat, this line crashes the java interpreter (line 221):


<#elseif (pcstring('ABILITYALL.Mythic Feat.VISIBLE.${mythicFeat}.TYPE')?lower_case?conta ins("mythic"))>
<type type="string">Mythic</type>

Continuing with the bug discussion...

The weapons equipment does not create weapons properly and they don’t show up in the mini form unless they are recreated.

I was planning to level up in -PCGen and then transfer over but it appears to be more work that way.

Nylanfs
July 3rd, 2019, 17:25
I'll get ahold of Llisandur, I thought those were ironed out. What version of PCGen and the output sheet are you using?

Fishypeanuts
July 4th, 2019, 01:56
I'll get ahold of Llisandur, I thought those were ironed out. What version of PCGen and the output sheet are you using?

It’s core Supplements v6.08.00 RC6
Under export the template is FG2 PF v3.xml

Hope this helps

Llisandur
July 4th, 2019, 09:25
Sorry about the long development time to fix bugs, I've been working on a lot of other features as well. Try this out and let me know if it works for you.

I reworked a LOT of things with this. Besides a lot of improvements, the major features are prepared spells are now properly set up, and class features/other abilities with tracked uses are automatically added to a separate spell class. Some of the ability adjustment/CL for those may not be correct, especially for things like sorcerer abilities added by Eldritch Heritage that aren't equal to your total level.

As for the weapons not being properly set up in the mini sheet, that entirely has to do with it being set to equipped or not. Go to preparation mode and you'll see a round icon with nothing, a bag, or a shirt in it. If it doesn't have a shirt (equipped), then it won't show on the mini sheet. The PCGen export should set weapons that are in hand or in the Equipped section of the sheet to equipped automatically, but if they're in the Carried section then they'll be set to the bag icon and won't show up until you set them to be equipped.


Edit: Found and fixed a breaking problem.

Nylanfs
July 10th, 2019, 19:05
You should probably update the version number on the sheet file name. :)

Llisandur
July 11th, 2019, 06:28
Yeah, it's probably about time. I actually have two nearly identical version that I'm working with, one that's v3 and one that's v4. Well, now they're nearly identical. They didn't start that way.

Llisandur
July 13th, 2019, 21:47
If anyone downloaded to sheet posted on July 4th, please download it again. I found an error that prevented the sheet from being imported into FG in some instances.

Morenu
April 11th, 2022, 06:11
OK, I know I am reviving a long dead thread... BUT it pertains to this.

My DM is wanting to make NPC "characters" so basically built like a PC but usable by him in the NPC list. I built a 12lv cleric in PCgen, selected NPC, downloaded the file from this thread and placed it in the Pcgen directory as the original post states, chose FG v4 xml export. then went to DM's computer, imported the xml file using the NPC import function, it messages " imported records from: C:\user.....\character.xml" No matter what I search for in NPC (all) I do not see the character anywhere. I feel as though I am missing 1 little step...

I closed and opened the NPC window, I exited FG and reloaded, I imported a second time.

Moon Wizard
April 11th, 2022, 15:48
As far as I know, the PCGen export is only for PC records; and PCs/NPCs have very different data structures. If that's the case, then the PC export from PCGen will not be able to be successfully imported as a NPC. I'm not familiar with the PCGen export to know how it is set up.

Regards,
JPG

Llisandur
April 11th, 2022, 16:19
The PCGen export sheet is for player characters. Generally NPCs use the statblock format instead. Look for a statblock importer and see if you can copy-paste from one of the statblock export or preview sheets in PCGen.