nanDECK Changelog

What's new in nanDECK 1.26.3

Mar 20, 2022
  • New REPEAT function:
  • This functions is used to build strings with repetitions of characters, the syntax is: [label]=REPEAT("string", number)
  • Added parameters in LINE/LINERECT/BEZIER/BEZIERS for arrow angle:
  • The standard arrow has the tip drawn with two lines at 45°, with these parameters you can change this angle: LINE="range", pos x1, pos y1, pos x2, pos y2, html color | html gradient, thickness, pattern O/D/S, end arrow, start arrow, end angle, start angle
  • LINERECT="range", pos x, pos y, width, height, html color | html gradient, thickness, pattern O/D/S, end arrow, start arrow, flag TRBLDG, end angle, start angle
  • BEZIER="range", pos x1, pos y1, handle x1, handle y1, handle x2, handle y2, pos x2, pos y2, html color | html gradient, thickness, end arrow, start arrow, end angle, start angle
  • BEZIERS="range", pos x, pos y, handle x, handle y, html color | html gradient, thickness, end arrow, start arrow, end angle, start angle
  • And a negative angle draws the arrows with three lines:
  • Added parameter in HTMLBORDER for inner background transparency
  • Added parameters in HTMLBORDER for min/max height
  • These parameters let you draw the inner area of an HTMLTEXT using a HTMLBORDER line with a partial transparency and a min/max height. Syntax:
  • HTMLBORDER=htmlfont, type RECTANGLE / DOTTED / DASHED / DOUBLE / GROOVE / RIDGE / INSET / OUTSET / NONE, html color, thickness, gap top, gap left, gap right, gap bottom, corner rounding, html color, alpha, min. height, max. height
  • Added parameter in HTMLFONT for rotation of characters:
  • Syntax: HTMLFONT=tag, "font name", font size, style B/I/U/S/O/N/R/C/T/A/M/D/L/G/E/J/H/Y/Z/K/W/V/F, html color, alignment, shadow x, shadow y, shadow blur, shadow color, outline color, outline width, indent, highlight color, char. spacing, angle
  • Added parameter in HTMLIMAGE for rotation of image:
  • Syntax: HTMLIMAGE="range", key, "image file", width, height, flag PTMBLREICDH, angle
  • Added parameter in HTMLTEXT for specifying a font used for paragraphs
  • Added U flag in HTMLTEXT for using font on multiple paragraphs
  • The 12th parameter specifies to use a font tag in each paragraph of the text. Note also that with the U flag a sequence in this parameter is applied sequentially in each paragraph.
  • Added parameter in EDGE for INSIDE borders
  • Added parameter in EDGE to change tips
  • Added parameter in EDGE to change corners
  • Syntax:
  • EDGE="range", type SOLID / INSIDE / DOT / DASH / DASHDOT / DASHDOTDOT / NULL / CUSTOM, pattern O/D/S, tip ROUND / SQUARE / FLAT, join ROUND / BEVEL / MITER
  • Added W/H flags in ICONS to distribute icons:
  • Instead of grouping them, these flags distribute the icons horizontally (W) and/or vertically (H) in ICONS directive.
  • Added J flag in IMAGE for using alternate jpeg library
  • Added A flag in SAVE for using alternate jpeg library:
  • I’ve added an alternative engine for jpeg images, that can be used in IMAGE (for showing a jpeg) and in SAVE (for saving a jpeg).
  • Added C flag in LAYER for using layers with the canvas:
  • The C flag specifies that the LAYER is used with the canvas instead of in a card.
  • Added M/S flags in REPLACE for multiple/single replacements:
  • The default behavior (now selected with the M flag) is to pair every from/to texts to every element of the 1st parameter, instead with the S flag the Nth pair of from/to texts are applied only to the Nth element of the 1st parameter.
  • Added F flag in COPYCARD for rotate cards upside down:
  • The default with COPYCARD directive is to copy the card as-is. With the F flag the card is rotated upside-down.
  • Added W/H/D/U flags in INFO function:
  • Results:
  • W - card width (in current units)
  • H - card height (in current units)
  • D - card dpi
  • U - name of the current units (cm/mm/inch)

New in nanDECK 1.26.2 (Dec 9, 2021)

  • New HTMLBORDER directive:
  • This directive adds a border to a font tag (defined by an HTMLFONT), usable with HTMLTEXT. The syntax is: HTMLBORDER = htmlfont, type, html color, thickness, gap top, gap left, gap right, gap bottom, corner rounding, html color background
  • New FLAGS directive:
  • This directive sets the flags for all the directives in the script. So, for example, if you want to add BE flags in every HTMLTEXT lines, you can use a single FLAGS instead of changing every lines. The syntax is: FLAGS = range, directive, flags. If you want to remove a flag instead of adding, use the “-” symbol before it.
  • New LINKFILL directive:
  • This directive is used when you have a schema on several rows in a spreadsheet and you want to straighten it in a single row (using the first line to specify the total number of columns that will be filled with the cells); this directive must be used before the LINK command.
  • Syntax:
  • LINKFILL = switch
  • Parameter: switch: values accepted are:
  • ON to enable the redistribution of the cells
  • OFF to disable the redistribution of the cells (the default)
  • New EXPRESSION directive:
  • This directive specifies the characters used to define expressions to be evaluated in texts in HTMLTEXT and RTFTEXT directives.
  • Syntax:
  • EXPRESSION = exp. HTML start, exp. HTML end, exp. RTF start, exp. RTF end
  • Parameters:
  • exp. HTML start: character(s) used to define start of expressions in HTMLTEXT directive,
  • exp. HTML end: character(s) used to define end of expressions in HTMLTEXT directive,
  • exp. RTF start: character(s) used to define start of expressions in RTFTEXT directive,
  • exp. RTF end: character(s) used to define end of expressions in RTFTEXT directive,
  • New CALC function:
  • This function is used to get a result from a specific trigonometric function. The syntax is:
  • [label] = CALC(flag, value1, value2)
  • You can choose one of these flags:
  • C cosine function of value1
  • S sine function of value1
  • T tangent function of value1
  • P pi function (the other parameters are not used)
  • M the higher between value1 and value2
  • N the lower between value1 and value2
  • New FRAMEMAZE function:
  • This function reads a list of edge frames, as 1st parameter (created with a FRAMEPER function), and creates another list of edge frames, arranged as a maze. The 2nd and 3rd parameters are the width and height of the rectangle defined by the edge frames. You can specify the coordinates of the starting cell (as 4th and 5th parameter), otherwise it is randomly selected (this also when set to zero); the ending cell is selected as the farthest from the starting one. The syntax is:
  • [newframe] = FRAMEMAZE(frames, width, height, X start cell, Y start cell, flags):
  • You can use these flags in the 6th parameter:
  • S is created a group of frames for the solution
  • M is created a group of frames with the sequence used in the creation of the maze
  • E the exit is along the edge of the maze
  • At the end of the process other two frames are created, one for the starting cell (with postfix start) and one for the ending cell (with postfix end); if the S flag is used is created also a group of frames for the solution (with postfix solution), i.e. the path from the starting to the ending cell; if the E flag is specified is created also two frames for the edge of the starting cell (with postfix startedge) and for the ending cell (with postfix endedge); if the M flag is specified is created also a group of frames with the sequence used for creating the maze (with postfix map).
  • Added parameter in COOICON for the icon index:
  • If the result of the COOICON function corresponds to multiple icons, you can use the 5th parameter to select one of these.
  • Added parameters in ORIGIN for the % of the cards:
  • The 4th parameter in ORIGIN sets the value in % for the width of the card (the default is 100), similarly, the 5th parameter is for the height.
  • Added parameter in SAVE for depth of saved files:
  • The 12th parameter in SAVE sets the depth of the saved image, and can be set equal to:
  • 24 16 millions of colors (the default)
  • 16 65536 colors
  • 8 256 colors
  • 4 16 colors
  • Added parameter in FONT, FONTRANGE, and TEXTFONT for the spacing of circular text:
  • The default behavior for the circular text is to justified. With this parameter you can specify the actual spacing between characters (zero, or a positive/negative value in cm or the current unit); note that with this parameter is used the horizontal alignment (left/center/right). This parameter is present in FONT (10th), FONTRANGE (11th), or TEXTFONT (19th).
  • Added J/G flags in HTMLTEXT for enlarging/evening lines of text:
  • The F flag is currently use to shrink a font if text is not contained in the HTMLTEXT rectangle; similarly, a J flag enlarge a font until the text is not contained in the HTMLTEXT rectangle. The G flag reduces the width of the text to obtains lines of the same width.
  • Added W/V/F flags in HTMLFONT for upper/lower/firstcase of text:
  • W the text is converted to upper case
  • V the text is converted to lower case
  • F the first letter of the text is converted to upper case, the others to lower
  • Added H/V flags in CANVAS for centering the canvas in the cards:
  • The default for the cutting of the canvas images in single cards is to align to the top-left corner, with these flags the images are centered.
  • And some features in the editor:
  • F11 on a font name shows you the next one (CTRL+F11 for the previous one),
  • F12 opens the reference (and download it if the file is not present).

New in nanDECK 1.26 (Apr 26, 2021)

  • New CMYK directive:
  • The CMYK command has this syntax: CMYK = Range, ON/OFF, ICC profile
  • The ON flag enable the CMYK color profile when saving .jpg images, and optionally you can specify an .icc / .icm color profile (or another .jpg to read its profile).
  • New TAGS directive:
  • This directive creates a rule that is evaluated in the Simulator (a new feature, albeit still basic). The rule can contain series of letters of numbers, with this syntax:
  • one or more “$” symbol, then letters to define a tag’s value that is present, using the same letter means that the same element is present with that number of copies,
  • one or more “£” symbol, then numbers to define the difference between the values of tag when multiple copies are present (i.e. in a straight); with the !N>M syntax is defined that a tag with value N is treated also like M (i.e. the ace in a straight can be positioned before the 2 or after the King),
  • one or more “=” symbol, then one or more tags that must be present.
  • You can specify more than one rule for a single directive, all of which will be evaluated at the same time, by separating each rule (and each tag) with the pipe character “|”.
  • New RANGELABEL function:
  • This function converts a sequence of numbers into a range: [label] = RANGELABEL([sequence])
  • New RANGEMERGE function:
  • This function creates a new range mixing the cards from two or more ranges:[range] = RANGEMERGE(“range1”, “range2″, …”rangeN”)
  • Added parameters in DISPLAY directive for transparency:
  • Syntax: DISPLAY = “image file”, first card, last card, width, “range”, transparent color, “mask file”. The last two parameters can be used to save an image file with a transparency, and are used the same way as the parameters in SAVE directive.
  • Added parameters in SAVEPAGES directive for CMYK format:
  • Syntax: SAVEPAGES = “filename”, switch, color profile. Switch and color profile are the same as in CMYK directive.
  • Added V, S, C, and E flags in BATCH directive:
  • The flag added after the batch specifies when the batch is executed, i.e.:
  • V the batch is executed at the validation step
  • S the batch is executed at the start of the build step
  • C the batch is executed at the end of each built card
  • E the batch is executed at the end of the build step
  • Added D flag in HTMLIMAGE to disable size adjustment:
  • Usually the images in the HTMLIMAGE directive are drawn rescaled in HTMLTEXT (if using the F flag), with the D flag that behavior is disabled (and the images are drawn with the size specified).
  • Added H flag in HTMLIMAGE to disable vertical spacing:
  • If the height of an image in HTMLIMAGE directive is higher than a character in HTMLTEXT, the lines are drawn with more space between each other, instead with the H flag the lines are drawn more closer.

New in nanDECK 1.24.0 (Jun 2, 2018)

  • The .zip file contains the program, unzip and run it (no need to install it); this program can also be used from an USB flash drive

New in nanDECK 1.23.3 (Nov 1, 2017)

  • New CANVASWORK directive
  • New DRAW directive
  • New FOLDER directive
  • New HTMLMARGINS directive
  • New LINKCOLOR directive
  • New LINKUNI directive
  • New STORE directive
  • New TABLE directive
  • New THREADS directive
  • New EXPAND function
  • New FRAMEBAR function
  • New REPLACE function
  • New TOKENIZE function
  • New parameter for rotation in LAYER directive
  • New parameters for position in TOKEN directive
  • New parameter for line spacing in HTMLMARGINS directive
  • New parameter for round text offset in TEXT directive
  • New parameter for round text orientation in TEXT directive
  • New flags N, R and C for HTMLFONT directive
  • New flags Z, D and G for FONT/TEXTFONT directives
  • New flags F, M, and L for HTMLTEXT directive
  • New flags Q and E for one / three quarter round text in FONT directive
  • Table styles th, tr and td in HTMLFONT directive

New in nanDECK 1.23 (Jan 25, 2017)

  • New CANVASWORK directive
  • New DRAW directive
  • New FOLDER directive
  • New HTMLMARGINS directive
  • New LINKCOLOR directive
  • New LINKUNI directive
  • New STORE directive
  • New TABLE directive
  • New THREADS directive
  • New EXPAND function
  • New FRAMEBAR function
  • New REPLACE function
  • New TOKENIZE function
  • New parameter for rotation in LAYER directive
  • New parameters for position in TOKEN directive
  • New parameter for line spacing in HTMLMARGINS directive
  • New parameter for round text offset in TEXT directive
  • New parameter for round text orientation in TEXT directive
  • New flags N, R and C for HTMLFONT directive
  • New flags Z, D and G for FONT/TEXTFONT directives
  • New flags F, M, and L for HTMLTEXT directive
  • New flags Q and E for one / three quarter round text in FONT directive
  • Table styles th, tr and td in HTMLFONT directive

New in nanDECK 1.22 (Aug 8, 2016)

  • New SAVEGIFA directive
  • New TAG directive
  • New LAYER...ENDLAYER directives
  • New BLEED directive
  • New TEXTFONT directive
  • New RANGEREM function
  • New ROUND function
  • New parameter in HTMLFONT directive for indentation
  • New A and S flags in FRAMEHEX function
  • New flags in FILTER function
  • Compare decks feature
  • Select card feature in virtual table
  • Show tags in virtual table

New in nanDECK 1.21 (Jan 7, 2016)

  • New LOG directive
  • New LINKMULDIS directive
  • New SEQUENCE, ENDSEQUENCE directives
  • New CORRECTION directive
  • New SPECIAL directive
  • New EVAL function
  • Added O flag in FONT directive for hollow text
  • Added T/M/B flags in HTMLIMAGE directive for vertical alignment
  • Added B flag in HTMLTEXT directive for transparency
  • Added parameters in HTMLFONT directive for shadow/outline text
  • Added parameter in SAVE directive to read a transparency mask
  • Added parameters in FRAMETRANS function for resize
  • Added @ and # flags to LABELRANGE function
  • Added ^ and ~ flags to FILTER function
  • Added mask and for parameters to FILTER function
  • Added µ as a variable containing the current frame name
  • Added elliptical gradients (with @361 parameter)
  • Added square gradients (with @362 parameter)
  • Added star gradients (with @363 parameter)
  • Extraction of two coordinates from a frame (Pxx)
  • Extraction of three coordinates from a frame (Txx)
  • Extraction of three coordinates from a frame (Hxx)
  • Added support for ods and xlsm files in LINK directive
  • Error highlight in editor
  • New features in Virtual Table
  • New buttons for symbols § ° µ, copy script and copy script to BGG
  • New Auto-Layout feature (CTRL+F1 b/w - CTRL+F2 color - CTRL+F3 w/b)

New in nanDECK 1.20.1 (Aug 1, 2015)

  • New PAGEIMAGE directive
  • New DISPLAY directive
  • New LENGTH function
  • New TRANSLATE function
  • New FRAMEPATH function
  • New syntax for frames, to specify two points
  • New syntax for frames, to specify three points of a triangle
  • Added TIFF support in IMAGE, PATTERN and ICON/ICONS directives
  • Added R/H flag in FONT directive for reverse and half-circumference circular text
  • Added E flag in VECTOR directive for using Inkscape as external engine
  • Added P flag in FONT directive for not clipping texts at the rectangle shape
  • Added ! flag in FILTER function to calc character distance
  • Added editor option to highlight the current line
  • Added editor option to render directives until the current line
  • Added option for creating placeholder images when files are missing
  • Creation of linked spreadsheets when not present
  • Added elliptical gradients for colors (use @361 in the angle parameter)
  • Added square gradients for colors (use @362 in the angle parameter)
  • Added star gradients for colors (use @363 in the angle parameter)

New in nanDECK 1.19 (Apr 11, 2015)

  • New COLORS directive
  • Direct download from Internet for files in IMAGE directive
  • Added C flag in IMAGE directive for proportional crop of the image
  • Added V flag in FONT directive for vertical text
  • Added R flag in HTMLTEXT directive for vertical text
  • Added ç flag in random gradients for drawing stripes
  • Added I/O flags in permutation engine
  • Added option for realtime rendering of the current card
  • Added saturation/brightness in color picker
  • Added /name command line option for specifying names of saved cards

New in nanDECK 1.18 (Feb 13, 2015)

  • New BATCH directive
  • New FRAME/ENDFRAME directives
  • New LINKNEW directive
  • New DOWNLOAD directive
  • New GROUP function
  • Added Google sheets to LINK directive
  • Number of card read from LINK directive
  • Added expression evalutation in HTMLTEXT directive

New in nanDECK 1.17 (Aug 27, 2014)

  • New BEZIERS directive
  • New SELECT/CASE/CASEELSE/ENDSELECT directives
  • New FRAMEPER function
  • Added frames in visual editor
  • Added zoom in visual editor
  • Added parameter in LINE/LINERECT/BEZIER/BEZIERS directives for drawing arrows
  • Added D flag in IMAGE directive for using DPI from file
  • Added F flag in FONT/FONTRANGE directives for adjusting font' size
  • Added S flag in permutation engine for removing elements with the same structure
  • Added parameter $ in FRAMELIST function for bidirectional order
  • Added parameter % in FILTER function for replace
  • Added parameter R in FRAMEBOX function for reversed numbering
  • Added options to PDF creation
  • Added option for converting PDF files to images
  • Added flags for aligning sub-frames
  • Fixed bug in DUPLEX directive
  • Fixed bug in IMAGE directive
  • Fixed bug in visual editor

New in nanDECK 1.16 (Apr 16, 2014)

  • New NANDECK directive
  • New RHOMBUS directive
  • New GRADIENTSEQ function
  • New RANGEADD function
  • New RANGESUB function
  • Added flag G in BUTTON directives for gradient effect
  • Added flag V in PATTERN/ICONS directive for vertical pattern
  • Added batch save for cards' images
  • Added PDF conversion to CMYK profile with Ghostscript
  • Added L for reading last color
  • Added default values in MACRO parameters
  • Fixed bug in DUPLEX directive
  • Fixed bug in OVERSAMPLE directive
  • Fixed bug in HTMLFILE/HTMLTEXT directives
  • Fixed bug in ZOOM directive
  • Fixed bug in gradients
  • Fixed bug in ranges

New in nanDECK 1.15 (Nov 11, 2013)

  • New VISUAL/ENDVISUAL directives
  • New SECTION/ENDSECTION directives
  • New LINKRANDOM directive
  • New VECTOR directive
  • New SAVEPDF directive
  • New BRUSH directive
  • New CONCAT1 function
  • Added parameter in RENDER directive for creating rendering ranges
  • Added flag R in IMAGE directive for not adjusting size of rotated images
  • Added shortcut CTRL+B for quick rendering of the current card
  • Fixed bug in SAVE directive
  • Fixed bug in IMAGE directive
  • Fixed bug in DIRFILES function
  • Fixed bug in sequences management

New in nanDECK 1.14b (Apr 29, 2013)

  • New EDGE directive
  • New HTMLFONT directive
  • New parameter for vertical zoom for FRAMEBOX and FRAMEHEX functions
  • New flag S for FRAMEHEX functions
  • New LABELSTRING function
  • New feature: Shortcuts
  • Fixed bug in SAVELABEL directive
  • Fixed bug in DUPLEX directive
  • Fixed bug in COPYCARD directive
  • Fixed bug in TEXT directive

New in nanDECK 1.14a (Jan 8, 2013)

  • New FRAMETRANS function
  • New STRINGLABEL function
  • Added flags PN in ICONS directive for proportional images and loading png transparency
  • dded flags PN in PATTERN directive for proportional images and loading png transparency
  • Added flags BW in FRAMEBOX function for alternating frames
  • Added parameter in PAGE directive for border deletion
  • Added parameters in FRAMECLOCK function for zoom, starting and ending angles, spirals
  • Added parameter in AUTOLABEL function for choosing separator
  • Added parameter in AUTORANGE function for resetting the counter
  • Added % syntax in frame size
  • Fixed bug in ICONS directive
  • Fixed bug in RECTANGLE directive
  • Fixed bug in DUPLEX directive
  • Fixed bug in IF directive
  • Fixed bug in % operator
  • Fixed bug in ? operator

New in nanDECK 1.14 (Oct 22, 2012)

  • New FONTCHANGE directive
  • New LIMIT directive
  • New CONCAT function
  • Added parameters to PAGE directive to hide guidelines
  • Added parameter to TEXT directive for outlined text
  • Added parameter to FONT directive to disable clipping
  • Added parameter to SAVE directive for creating zip
  • Added parameters to HTMLTEXT/HTMLFILE directives to increase definition
  • Added parameter to FRAMECLOCK function for rotating frames
  • Using Frames for Frames' definitions
  • Label definition with conditions and loops
  • Fixed bug in DUPLEX directive
  • Fixed bug in FONT directive

New in nanDECK 1.13c (Aug 3, 2012)

  • New DUPLEX directive
  • New HTMLIMAGE directive
  • New AUTOLABEL function
  • Added flag N in IMAGE directive for loading png transparency
  • Added color parameter in SAVE directive for saving transparency information
  • Added flag $ in FILTER function for filtering n-of-a-kind sequences
  • Added flag £ in FILTER function for filtering straight sequences
  • Added syntax for random color patterns
  • Added parameter in PRINT directive for duplex printing
  • Fixed bug in % operator
  • Fixed bug in IF directive
  • Fixed bug in DPI directive

New in nanDECK 1.13b (Aug 3, 2012)

  • New TRACK directive
  • New TRACKRECT directive
  • Fixed bug in module for "The Game Crafter" upload
  • Fixed bug in LINK directive
  • Fixed bug in PAGE directive
  • Fixed bug in ICONS directive
  • Fixed bug in Wizard for automatic layout

New in nanDECK 1.13a (Aug 3, 2012)

  • Option to upload cards' images to The Game Crafter website
  • New LINERECT directive
  • New IMAGEFILTER directive
  • Boolean logic evaluation for IF directive
  • New label function FRAMENET
  • New parameters in GAP directive for mid-guidelines
  • New flag X in FRAMEHEX function for "easy to cut" hexagons
  • New parameter in CHROMAKEY directive for color range
  • Save images as TIFF (with options for CMYK color and multipage)
  • Fixed bug in TEXT directive
  • Fixed bug in IMAGE directive
  • Fixed bug in IF directive

New in nanDECK 1.13 (Aug 3, 2012)

  • Wizard for automatic layout for a linked file
  • On-line image search
  • Flag for variable key size in ICONS directive
  • Flag A/Z for sorting sequences
  • Flag for not shuffle decks with DECK directive
  • Added parameters for card back with DECK directive
  • Fixed bug in evaluating expressions
  • Fixed bug in saving images
  • Fixed bug in linking xls files