Card Generator v2.0.0 UpdateTHIS IS A BIG UPDATE. In particular, it alters the behavior of some of the csv columns, so read carefully if you've got existing spreadsheets that you are moving to a new version, as those will not work until they have been properly adjusted!First of all, many of the size-factor columns have been adjusted. Before, to adjust e.g. the game text width you had to know that it defaulted to 69% and that if you wanted a wider area you would change it to 70% or 71%, and if you wanted a narrower area you would make it 67% (etc). This made altering sizes very tedious, as you had to basically experiment just to figure out what the
default was, and then make your real adjustments from there.
As of now, all size columns are now MULTIPLIERS instead of absolute values. What this means is, instead of saying "71%" to make the game text area a little wider, you say "1.02" to make it wider, or "0.98" to make it narrower (specifically, 2% wider or 2% narrower, in these examples). Affected columns have also usually had their names changed to make things less confusing as to their intended use.
A few new columns have also been added:
- title_area_scale permits for modifier cards (Possessions, etc) to have their title area extended, which can affect how long titles are cut into two lines (characters are unaffected as theirs already fills the entire visible area).
- type_text_scale lets you alter the text size of the text in the type bar.
To update your CSV to be compatible with the new release, follow these steps:- Back up your cards.csv
- Add new column title_area_scale
- Add new column type_text_scale
- Rename column title_font_size -> title_text_scale (and change absolute % values to multipliers)
- Rename column subtitle_font_size -> subtitle_text_size (and change absolute % values to multipliers)
If you never used any of the columns from game_text_width onward, then I would advise copy-pasting your old card data (but not the columns!) into the included cards.csv with the release.
If you have any problems upgrading your CSV, please let me know here and I will help help you (up to and including doing it for you if you send me the csv).
The generator now has support for more file type outputs than just PNG. You can now go into the settings.txt file and change output_format to be one of either png, jpg, gif, or bmp to have your output file match your selection. Note that PNGs are the only file type that will "cut" the corners round, as that relies on transparency. All others will simply have square corners.
The generator also has support for a new type of output: mockups.
I don't expect this to be used by anyone outside of the Player's Council, but the basic idea is that cards which are
not ready have a mode to be drawn in which looks like it was made with crayons. To use this mode, either change the force_mockup setting to True, or add "mockup" to any card's tags column, and then bask in the wondrous result:
(crappy mspaint portrait art not included)
As you can see, no one would
ever look at this card and think "you know what, that looks ready to print". For the PC, this can be valuable to communicate the state of a card instantaneously. For everyone else, well, I guess you don't
have to use it.
And as a final note, nanDECK was updated to the non-beta 1.25.3. Be sure to include that folder when updating your installation.
Again, if you have any problems with updating your existing spreadsheets, then do not hesitate to reach out to me here or on the
PC Discord for help.
Download link in the OP.
Documentation is included as a PDF with each release. The latest version can also be
found here on Google docs.
If you have a previous version installed then close nanDECK, make sure to back up your cards.csv and card_portraits / card_output folders, then copy-paste the contents of the zip into your existing installation folder.
Change Log:
- Updated nanDECK to the latest 1.25.3 final release.
- Fixed Dwarven culture icons not showing on full art cards.
- All absolute size-based columns have been replaced with size-factor columns that treat 1.0 as no change and 0.5 and 2.0 as half and double, respectively. Some names have been altered as a result.
- Added a column for manually setting the size of the modifier template title bar
- Added a column for manually sizing the text in the type bar
- Fixed a recurring thin spacing bug
- Added support for creating mockup cards, either via the new force_mockup setting, or on a per-card basis with the mockup tag.
- Added new output_format setting that can be set to various output formats, notably jpg.
- Made various small adjustments to alignment/size that were found to be out of whack.