Starting PCGen From the Command Line
You have serveral options when starting PCGen from the command
line:
- -j
- The -j flag asks PCGen to start with the Java look
& feel, rather than the System look & feel. You can always
make your preference permanent with the Preferences menu.
- file1 [... fileN]
- You can list files on the command line, and PCGen will
try to open them as PC or Party files if they end with .pcg
or .pcp. When PCGen first appears, these files will
already be open for you as if you had opened them yourself from the
File menu.
- -Dproperty=value
- PCGen recognizes several properties (settings) passed with the
-D flag (this is a standard feature of all Java programs).
Presently, they are only used for printing without actually showing
PCGen. They are:
- -Dpcgen.templatefile=filename -- set the template for
printing PCs and parties.
- -Dpcgen.inputfile=filename -- pick the PC or party to
print.
- -Dpcgen.outputfile=filename -- print to this file.
There are also other options for starting PCGen, but these are not
normally used except for development and testing.