• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Custom export to multiple files?

Lilith

New member
I'm working on a custom export for Pathfinder Roleplaying Game portfolios for TTopRPG, and I'd like to be able to export to one file per portfolio (instead of one compiled portfolio). Is there a method to do this that I'm missing?
 
Hi there,

I'm afraid I'm not sure what you mean by "one file per portfolio" - can you give me more information about what you're trying to do? Thanks.
 
I have a portfolio filled with multiple NPCs and their minions. I want to be able to export everything in the portfolio to an individual file.

Example: My portfolio has Big Bad the First, his pet monkey, and three Thugs. I want to export to:
BigBadTheFirst.txt
PetMonkey.txt
Thug1.txt
Thug2.txt
Thug3.txt

Edit: This is probably more likely an XML/XLST question so please move it to the appropriate forum if this is not the right one. And if I find an answer, I'll let y'all know. :D
 
Last edited:
Hero Lab won't do that directly, but you should be able to "unzip" the Hero Lab portfolio and extract the text statblocks for each hero appropriately. See the "Reading Hero Lab Saved Portfolios" section of the manual for details.

Hope this helps!
 
It did! Unfortunately, I can't do an XSLT transform directly on the portfolio to export to multiple files--however, I can save it to an HTML file and do some JavaScript witchery to export the TXT file. Works well enough for my purposes. :D
 
Back
Top