It's that time of year again for gamers everywhere.
Tomorrow is Free RPG Day, a day when publishers across the tabletop role-playing game industry release games for players both new and experienced, and they're all completely free. Although Free RPG Day was canceled in 2020, it's back this year as a live event with some virtual support by way of free RPG sampler downloads from Dungeon Crawl Classics and Paizo. And if the event's virtual offerings aren't enough, you might check out my list of open source tabletop RPGs.
Over the past two years, like most people, I've been playing my tabletop games online. I use open source video conferencing and some shared mapping software. Don't get me wrong: I love my pen and paper for analog games. To this day, I rarely leave home without my 2E5 quad book so I can sketch out dungeon maps on the go. But I find my computer desk gets pretty cluttered between RPG sourcebooks, splat books, random tables, dice tower, dice, and character sheets. To clear some space, I've recently adopted a digital system for my character sheets, for both my player characters and non-player characters when I DM.
Digital character sheets
Typically, a character sheet is filled out in pencil on old-fashioned physical paper. It's a time-honored tradition that I've done since the late '80s, and even more experienced players have been doing since the late '70s. Going digital can be a big step away from something that might feel like an intrinsic part of the game. I sympathize with that sentiment, and I don't take my digital character sheets lightly.
When I decide to maintain a character with the aid of a computer, I insist on substantial benefit for my divergence. I've tried two different options for digital character sheets, and one of my players invented a third. They're all open source, and I believe they each have unique advantages that make them worth trying out.
pc command reads character data as an INI file, then lets you query it by category or by attribute. The format is relatively flexible, making it suitable for most RPG systems, whether you play D&D, Swords & Wizardry, Pathfinder, Starfinder, Stardrifter, or something else.
The syntax for an INI file is so simple that it's almost intuitive. Each heading is enclosed in brackets, and each stat is a key and value pair.
Here's a small sample:
[Character] Name=Skullerix Level=5 Class=Fighter Ancestry=Human [Health] AC=14 HP=43 Max=66
The limitation to this format is that you can't have single-value attributes. That means that if you want to list attributes that get a proficiency bonus in D&D 5th Edition, you can't just list the attributes:
[Save] DEX INT
Instead, you must force them to be a pair.
In D&D 5e, it's easy to come up with a value. These saving throws are highlighted only because your proficiency bonus applies to them, so I just make a note of the character's current bonus:
[Save] DEX=3 INT=3
In other systems, there may be attributes that simply don't have a value and really are meant just to be listed. In that case, you can either set a value to itself or to
[Save] DEX=DEX INT=True
Once you've entered your character's data into the INI format, you can query it with the
pc command. The command requires the
-c option along with the character sheet file you want to query. With no further arguments, you get a listing of the entire character sheet.
Add a heading name to view all stats within one category:
$ pc -c skullerix.ini Character Character: Name: Skullerix Level: 5 Class: Fighter Ancestry: Human
Provide a heading name plus a key name to view the value of a specific stat:
$ pc -c skullerix.ini Character Level Level: 5
If you're like me and play lots of games, you can keep all of your characters in the default location
~/.local/share/pc, then query them without the path or file extension.
For instance, say you have
froese.ini, kitaro.ini, and
$ pc -c kitaro Character Class Class: Wizard $ pc -c wendy Health AC 23 $ pc -c froese Save INT 3
To see the characters in your default folder, use the
$ pc --list froese.ini kitaro.ini wendy.ini
The pc project is written in Lua and is available from its Gitlab repository.
PCGen is an application designed to help you build and maintain characters. It even has knowledge of the rules of the system it's assisting you with. Far from just a configuration file generator, PCGen is a database of open source rules and how they relate to one another over the course of a character's life.
PCGen can build characters for D&D 5e, Pathfinder 1e, Starfinder, and Fantasy Craft. When you first launch PCGen, you can download rule definitions for each game. The files are small, but depending on what you want to install, there can be a lot of files to download.
You only have to do it once, though, and PCGen tends to everything else but clicking the button to start the download for each system.
Once you have everything downloaded, you can start creating characters by selecting New from the File menu.
PCGen keeps track of incomplete tasks in the panel labeled Things to be done, and it helps you proceed through the process of satisfying each requirement until you've got a complete character.
PCGen does all calculations for you, so you don't have to figure out your skill ranks, how a proficiency bonus affects your rolls, and other computations. Better yet, you don't have to calculate how your scores change as you level up or even what benefits you get with each new level. You'll have choices to make at each level, but you don't have to flip through your rulebook in hopes you're not missing anything significant.
One of my favorite things about PCGen is its ability to render your character sheet when finished.
On paper, your eyes probably know exactly where to look to find your proficiency bonus, or skill ranks, or other character stats. In some formats, you lose that when you go digital. PCGen has a built-in renderer and can show you your character in standard character sheet layouts that an experienced player will likely find familiar.
PCGen is an ENnie award winner, and it's well deserved. Maintaining a character is easy with PCGen, and it's an application I find myself opening on lazy afternoons just for the fun of building something new.
- On Linux, download PCGen's universal installer from pcgen.org. You must have Java installed.) Run
pcgen.shto launch the application.
- On macOS, download PCGen's universal installer from pcgen.org. You must have Java installed.) Run
pcgen.shto launch the application.
- On Windows, download PCGen's Windows installer from pcgen.org. You must also install Java.
Player character XML
One of the advantages of using a terminal command to query character sheets is that you gain independence from the layout.
Playing several game systems can be taxing, because nearly every system has its own layout. With a terminal command, however, instead of looking over sheets of paper for data, you look up the same information quickly by letting your computer do the scanning.
One of the projects I've been enjoying lately for character tracking is the d project, which uses XML to express character stats and the
xmllint command to query it. The d project features a few utilities:
dcommand rolls dice (include FUDGE die).
vcommand queries character sheets.
ecommand initializes your home directory by placing files in predictable locations.
Because XML is so flexible, this format allows you to devise your own schema, depending on what works best for your system.
For example, a class-based system like D&D or Pathfinder may benefit from a section for special class features, while a skill-based system might have a simple schema with no categories.
Here's a simple example:
<char> <name>Robin Hood</name> <health>20</health> <acrobat>5</acrobat> <archery>8</archery> <disguise>3</disguise> </char>
First, export the location of the character sheet:
$ export CHAR_SHEET=~/.config/char/robin.xml
Alternately, you can initialize your home directory with the
e command, which creates the
~/.config/char directory and defines the
CHAR_SHEET variable in your
$ e init
After you've got your environment configured, you can query your character sheet:
$ ./v char.name <name>Robin Hood</name> $ ./v char.archery <archery>7</archery>
v is similar to the
pc script, but because it uses XML, there are a lot of possibilities for how you view it. With XSL, you could style your XML-based character sheet and give it a layout for users who aren't comfortable in the terminal but still retain the XML source for those who are.
Open source at the open table
Whether you're looking for a complex application like PCGen to guide you through character creation or simple utilities like pc or d to quickly query character stats, open source has plenty of options for you.
And the choice of tooling is precisely what makes it such a pleasure to do your analog game in a digital remote setting.
Find the perfect open source tool
Project management, business intelligence, reporting, and more. Check these popular projects.