Custom PCGen output sheets for Pathfinder 1e. Currently includes a prepared-spells character sheet rendered as a clean HTML file from your PCGen character data.
- A collection of PCGen output sheets (FreeMarker
.ftltemplates) for Pathfinder 1e characters. - The sheets are drop-in replacements or additions for the standard PCGen output-sheet folder.
templates/d20/fantasy/xmlhtml/— source sheet templates using component placeholders.components/— reusable sheet blocks (skills, feats, weapons, inventory, spellbook, prepared spells, quick view, common conditions, biography, and more).OutputSheets/d20/fantasy/xmlhtml/— compiled output sheets ready to copy into PCGen.
If you want to change how the sheet looks or what it shows, edit files in templates/ and components/, then compile to OutputSheets/. The templates use PCGen's ${pcstring(...)} and <#...> directives to pull character data at export time.
Templates use component tokens in this format (templates are now mostly style + ordered component tokens):
{{ component:skills }}
During build, each token is replaced with the content of components/<name>.ftl.
python scripts/build_sheets.py
This compiles everything from templates/ to OutputSheets/ using components/.
PCGen looks for output sheets inside its own outputsheets folder. The directory structure in this repository mirrors that layout exactly, so you only need to copy the files into the right place.
| Operating system | PCGen data folder |
|---|---|
| Windows | C:\Users\<you>\AppData\Roaming\pcgen\outputsheets\ |
| macOS | ~/Library/Application Support/pcgen/outputsheets/ |
| Linux | ~/.local/share/pcgen/outputsheets/ |
If you installed PCGen somewhere custom, look for the
outputsheetsfolder inside your PCGen installation directory instead.
- Clone or download this repository.
- Copy the
OutputSheets/folder into your PCGen data folder so that the path becomes:<pcgen data>/outputsheets/d20/fantasy/xmlhtml/csheet_prepared_spells.htm.ftl - Open PCGen, load your character, and choose Export.
- Under the d20/fantasy/xmlhtml output-sheet group, select csheet_prepared_spells and export to HTML.
templates/d20/fantasy/xmlhtml/csheet_prepared_spells.htm.ftl— prepared-spells source templatetemplates/d20/fantasy/xmlhtml/csheet_known_spells.htm.ftl— known+prepared spells source templatecomponents/*.ftl— reusable sheet blocks inserted during build (including quick view, common conditions, biography, rules references, and combat sections)scripts/build_sheets.py— local compiler for templates/components intoOutputSheets/.github/workflows/build-sheets.yml— CI workflow that rebuilds and auto-commitsOutputSheets/
Pull requests are welcome, especially if you want to:
- add new character sheets or expand the prepared-spells sheet
- improve Pathfinder wording or rules accuracy
- refine the layout, print styling, or accessibility
- add sheets for other character types (spontaneous casters, martial characters, etc.)
- Fork the repository or create a branch.
- Make your changes in
templates/andcomponents/. - Compile with
python scripts/build_sheets.pyto regenerateOutputSheets/. - Export a test character from PCGen to verify the output looks correct.
- Open a pull request with a clear explanation of what the sheet shows or how the layout changed.
- Keep the directory structure matching PCGen's
outputsheets/layout so files can be dropped in without renaming. - Use PCGen's standard
${pcstring(...)}calls for character data rather than hard-coding values. - Name new sheets with the
csheet_prefix to stay consistent with PCGen's own naming convention.
- Use Conventional Commit prefixes such as
feat:,fix:, andchore:when possible.