• 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

AncientOne's Custom Pathfinder Sheet

AncientOne

Well-known member
(I'll keep the first few entries of this thread updated with the latest information for easy reference. Everything after that is open for ongoing discussion/issues/etc. Thanks!)

OVERVIEW

=== Version ===
The current version of AncientOne's Customizable Pathfinder Sheet is 4.14. The latest version is always delivered through the Hero Lab auto-update mechanism.

You can see which version you have installed in Hero Lab by clicking "File -> Save Custom Output". The dialog box that appears will list all of your custom output types.


=== Known Issues In This Version ===
  • None.


=== Changes in the latest versions ===
Version 4.14 contains these changes and fixes:
  • Fixed problem with spell lists and spellbooks not displaying for specialist wizards and unchained summoners.

=== Goals ===
Here are the things I'm trying to accomplish:

  • Offer a character sheet that is very customizable. We all have different preferences for our character sheets, but most people don't have the time or the technical background to create their own Hero Lab custom sheet from scratch. Even if they did, many of those sheets would be just slightly different from each other. This is an attempt to support a wide range of popular character sheet styles in a single tool. (Note that there's a difference between a "customizable" character sheet and a full-blown sheet design tool... I'm not trying to recreate Adobe PageMaker or Microsoft Publisher. :p )
  • Offer a character sheet that is very simple to use. After you've created your character in Hero Lab, you shouldn't be *required* to do additional work to use the character sheet. You should immediately get a good, usable sheet. If there is something you *want* to change, it should be quick and easy to do. Where possible, the sheet should "remember" your choices so you don't have to make them every time you update your character.
 
Last edited:
TIPS & FAQs

How do I get my character sheet as a PDF?
You can 'print' your character sheet from your web browser into a PDF document. If you do a web search for "free pdf printer driver", you will find a number of free printer drivers that allow you to print to PDF. (I use this one: http://www.cutepdf.com/Products/CutePDF/writer.asp)


My character sheet looks fine on the screen, but the printed output is wrong. How do I fix it?
This is a broad topic because the various browsers have widely different printing capabilities. Here are some of the common things to try:

  • Use your browser's "Print Preview" feature. You may need to do some combination of
    • Disable the On-Sheet Controls, and hide the Control Panel and Information Panel.
    • Make sure your portrait vs landscape printing matches what you selected in the Control Panel.
    • Adjust your margins. This sheet is designed for 1/2-inch margins on all sides, but that means very little to your browser.
    • Instruct your browser not to print headers and/or footers.
    • Instruct your browser to print background colors (if this option exists).
  • Try printing to PDF.
  • If all else fails, try a different browser. [There are times when I want to catch the authors of browser print-engines in a back alley and express my frustration with a +2 Mace of Get-A-Clue. :mad:]

I've put my gear into containers in Hero Lab but, on the sheet, nothing is in a container. What's wrong?
Hero Lab knows what container you've put each piece of gear into but, unfortunately, it doesn't make that information available to custom sheets at this time. You can sort gear into containers on the sheet by enabling "On-Sheet Controls" in the Control Panel; then just drag/drop gear items within a container or between containers.

How do I make a 'Touch Attack' or 'Ranged Touch Attack' appear on the sheet in the Weapons section?
See this post by ShadowChemosh for instructions.

How do I make weapon adjustments (e.g., bonus fire damage) appear on the sheet in the Weapons section?
See this post by ShadowChemosh for instructions.
 
Last edited:
THE "WISH LIST"
This is a list of features that are not currently implemented, but that are being considered. Some of these are requests, and others are just ideas that I've come up with. This list is not in any particular order.

  • None at this time...
 
Last edited:
TECHNICAL/IMPLEMENTATION INFORMATION
Want to know how this character sheet works? Then this section is for you. You don't need to know any of this if you're just using the sheet, but this information might help if you're trying to create your own.


=== General Introduction to Custom Sheets ===
  • The Hero Lab user manual includes an introduction to creating custom sheets. Please read that section!
  • Hero Lab generates an XML file that contains the character data. What you have to do is provide an XSL stylesheet which Hero Lab will use to convert that XML file into an HTML file that is suitable for display in a web browser. (see http://en.wikipedia.org/wiki/XSL and http://www.w3schools.com/xsl)
    • But I want to use Java/C#/etc! You don't have to use XSL; you could write a program in any language and have Hero Lab invoke it to create any output you want. However, you should stick to XSL if you intend to distribute your custom sheet to others, since it is highly portable and doesn't have the security risks and installation issues that go along with executable programs.
    • But I want PDF output! See the "Tips & FAQs" section, above. It is very common for users to want a PDF version of their character sheet. The easiest way to support this is to create HTML output and then have your users 'print' the character sheet into a PDF file.
    • What other technologies do I need to know? The bare minimum you need to know is XML (the format Hero Lab generates), HTML (the format you're generating) and XSL (to do the conversion from one to the other). You will almost certainly want to know CSS (commonly used to style the HTML). If you want to make your custom sheet configurable at all, you will probably need to know JavaScript. You can use any tool you're comfortable with to work with these languages, ranging from a simple text editor to a full-blown IDE (Integrated Development Environment... I use this one: http://netbeans.org/).
  • Create an output.xml file, put it in the right folder, along with your XSL file. On Windows 10, this folder is \ProgramData\Hero Lab\customoutput\pathfinder\your-custom-output-folder.
  • If you want to distribute your custom sheet, click "Tools -> Launch HLExport". In the dialog box that appears, click "File -> Create Custom Output Export". Select your custom output folder. This process will create an *.hl file that you can give to anyone with Hero Lab.

=== Introduction to THIS Custom Sheet ===
From a technical perspective, the thing that makes this custom sheet different [at the time of this writing] is its extensive use of JavaScript. Although the XSL parses the Hero Lab XML, it does *not* create the formatted HTML output that you see when you look at your character sheet. This is a big change from previous sheets, including previous versions of this sheet.

Instead, the XSL copies entire sections of XML into the HTML, embedding the XML within <script> blocks. When the sheet is loaded, JavaScript parses the XML to populate Objects with character data when the sheet is loaded into your web browser. More JavaScript then does all of the actual formatting.

Why is it done this way? Well, XSL is a good tool for some uses, but it can be cumbersome -- JavaScript is far more powerful. Also, differences in XSL "engines" can cause problems, and the XSL engine is embedded in Hero Lab (out of the control of the custom sheet author).

The JavaScript libraries used by this sheet are:

=== The Single-File "Requirement" ===
If you're going to distribute your custom sheet, you will probably want everything (images, scripts, css styles) to be contained in the XSL file. This isn't a strict requirement, but it will make life much easier on your users and will make your custom sheet much more reliable.

  • Why does this matter? If you don't put everything in the XSL file, then these resources either need to be put into the right place on the users hard drive (an installation issue that's easy to get wrong) or they have to be reachable via the internet (which means that the sheet becomes unusable if the person looses connectivity).
  • How do I embed images, scripts and css styles in my XSL file? Through the use of the "data URI" feature (see http://en.wikipedia.org/wiki/Data_URI_scheme). You will need to convert these resources to base 64; do a web search for "base64 converter online" to find sites that will do this for you.
  • Isn't it confusing to work with a file that has all of these things in it? It would be. Instead, consider keeping all of these things in separate files while you're working on your sheet. Combine them into a single file right before your final round of testing, and then release the combined file.
  • I want to see the source code. Can I get a copy that doesn't have everything encoded in base 64 and jammed into one file? Sure. Here you go: http://dl.dropbox.com/u/10349201/shared_src48.zip

=== Cross-Browser, Cross-OS Support ===
This is an impossibly large topic to cover in detail, so here are just a few key points:

  • If you distribute your custom sheet, you have no control over the browser/OS combination your users will have.
  • Base your sheet on HTML5. This limits your sheet to the current/modern browser versions, but that isn't much of a limitation.
  • Be absolutely strict in your use of correct HTML/CSS syntax. Browsers will often tolerate limited incorrect syntax, but each browser tolerates *different* incorrect syntax.
  • Use fonts that are commonly available across operating systems (see http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html).
  • Test on as many combinations of browser/OS as you possibly can. You'll be amazed at the seemingly simple things that don't work on one combination or the other.
 
Last edited:
Version 4.0 is now available through the auto-update mechanism. :D

If you made a request that hasn't been addressed, don't give up hope... I haven't made it through the entire list yet. This is a critical update because it lays the technical foundation that will make a lot of other things possible.
 
I'm loving this sheet - the previous version was excellent; this one is even better! Thanks for putting in the work on it.

I've got a custom archetype generated to make a Gestalt character. It's based on the Oracle class, and for some reason I can't get the sheet to pick up her spells. It prints the number she can cast per day, but won't print the actual spell names or descriptions.

I think I've tried everything in the way of turning options on and off, and have tried it both in IE and Chrome.

I'm attaching a copy of the portfolio and the custom files I used to make the character.

Not sure how to find/attach the generated XML file. I tried to attach the .html file but it's not an allowed attachment type.
 

Attachments

I'm loving this sheet - the previous version was excellent; this one is even better! Thanks for putting in the work on it.

I've got a custom archetype generated to make a Gestalt character. It's based on the Oracle class, and for some reason I can't get the sheet to pick up her spells. It prints the number she can cast per day, but won't print the actual spell names or descriptions.

I think I've tried everything in the way of turning options on and off, and have tried it both in IE and Chrome.

I'm attaching a copy of the portfolio and the custom files I used to make the character.

Not sure how to find/attach the generated XML file. I tried to attach the .html file but it's not an allowed attachment type.

Thanks!

BTW, to get the generated XML file, just go to "File -> Save Custom Output" and select the "Generate XML file" option. The XML that gets generated is the same XML that custom sheets are built from. This is easier to debug sheets from than .por files, because the .por file may depend on Hero Lab packages that I don't have.

BTW #2... my response time will slow way down this coming week, because I'm getting on a plane for Iceland this afternoon. :D
 
I've got a custom archetype generated to make a Gestalt character. It's based on the Oracle class, and for some reason I can't get the sheet to pick up her spells. It prints the number she can cast per day, but won't print the actual spell names or descriptions.

The reason your spells don't show up is that all of your spells have the class of "Oracle", but your actual class name is "Martial Oracle". The standard archetypes all have names like "Oracle (Martial)", and the sheet knows to look for that pattern, and extract the part before the archetype to use for matching against spell classes.

If you can, I suggest changing your custom archetype to follow the standard naming pattern; then it should work.

Roger
 
And that worked - thanks! (I'd wondered about the naming convention, but couldn't figure out why it would make a difference. Now I know.)
 
I just get a grey background with a link to this thread on the new version of the sheet. Running OS X 10.7.4. I tried both the latest versions of Safari and Firefox.
 
Love the new 4.0 sheets! My only problem so far is I have SO many items that the second page runs more than one page long, and the browser doesnt know how to deal with that. My 3rd page comes out blank (edit:when I print it. Looks fine in print preview).
 
Last edited:
Love the new 4.0 sheets! My only problem so far is I have SO many items that the second page runs more than one page long, and the browser doesnt know how to deal with that. My 3rd page comes out blank (edit:when I print it. Looks fine in print preview).

Thanks!

If you have more than will fit on a printed page, you can enable "on-sheet controls" and change the style of one or more sections to fit and/or move some sections to page 1.
 
I'd love for maneuvers to be printed into the weapons section, I play a duelist character and make a lot of disarm/trip checks with my rapier and I use weapon finesse not agile maneuvers to use my dex for the check and not agile maneuvers, so this sheet doesn't give me my check result. Otherwise, I love this sheet, it's very clean besides having to re-size the picture every time I open in.
 
I just get a grey background with a link to this thread on the new version of the sheet. Running OS X 10.7.4. I tried both the latest versions of Safari and Firefox.

I'm willing to bet that the sheet is incorrectly handling a specific piece of data from your character. Can you post the generated XML file? That will let me determine which piece of data is the problem so I can handle it correctly.

You can create the XML file by using "File -> Save Custom Output" and then select the "Generate XML File" option.

FYI -- I won't be able to post a fix until I get back from vacation (over a week). However, as a work-around I'll post a link to the previous version of the sheet so anyone who needs to can revert to that version in the meantime.
 
I'd love for maneuvers to be printed into the weapons section

FYI... you can drag the combat-maneuver panel into the weapons section. Just enable "on-sheet controls" and then you can drag/drop it wherever you want it.

I play a duelist character and make a lot of disarm/trip checks with my rapier and I use weapon finesse not agile maneuvers to use my dex for the check and not agile maneuvers, so this sheet doesn't give me my check result.

The sheet displays whatever values Hero Lab generates for these checks. You have a couple of options though:
1) Investigate whether these values can be changed in HL before generating the sheet (I'm afraid that's not a question I can answer...)

2) Turn on text editing in the sheet Control Panel, and then change the value on the sheet to anything you need it to be.
 
In case anyone has critical issues with 4.0, and needs to revert to 3.2 before I get back from vacation to fix your problem, here is a link to 3.2: http://dl.dropbox.com/u/10349201/rt_complete_v3_2_2012_05_23.hl

Just remove the rt_complete folder from the Hero Lab custom output directory, and then install 3.2 with this .hl file. (Under Windows, you can just double-click on the .hl file). The auto-update system will keep telling you that 4.0 is available... just don't accept that update again.

But please don't do this without letting me know about your problem! Otherwise, I won't know to fix it in 4.1. :)
 
Hi there

Ever since upgrading to the latest version, I just get a grey background with a link to this post. It seems to be affecting all of my characters so far, not just one. This forum doesn't allow me to attach XML files so please use the dropbox link below. I've tried opening the file in every browser I have; chrome, firefox and IE, all at the latest version. Same result for each. Win 7 x64.

https://dl.dropbox.com/u/21267541/Dezhem_Bek.xml
 
I'm willing to bet that the sheet is incorrectly handling a specific piece of data from your character. Can you post the generated XML file? That will let me determine which piece of data is the problem so I can handle it correctly.

I tried a number of characters from other portfolios with the same result. The XML is attached. Enjoy your vacation!
 

Attachments

Hi,

Have just updated to the latest 4.0 sheets.

What a difference - they print in colour and have the black backing to the Ability & Weapon box's etc.

Previously the black backings and the contents turned to a hard to read grey colour when I tried to print them.

I am still using Google Chrome, but the change is like night and day!


Well done "AncientOne" :)

Should be made an official output choice for Pathfinder character sheets.
 
Back
Top