Structure of a game-box.xml file last updated 2007-07-18

Below is a formal definition of the structure of a game-box.xml file.

A game-box.xml file is composed of a header and a body.

The header is always the same (although you can change the "encoding" attribute in case you want to use a non-latin alphabet).

Some attributes are optional. When attributes are missing Zuntzu will use these default values:

  • The default value of "icon" is "icon.bmp".
  • The default value of "dice-hand type" is "D6".
  • The default value of "dice count" is "1".
  • The default value of "dice color" is "ffffff" (white).
  • The default value of "dice pips" is "000000" (black).
  • The default value of "resolution" is "150 dpi".

Attribute "counter-section type" is deprecated and shouldn't be used. It exists only for backward compatibility.

  • The default value of "rows" and "columns" is "1".
  • The default value of "supply" is "1".
  • The default value of "shadow" is "20.0" for "counter-section" and "5.0" for "card-section".

The default value of "card-section type" is "CardFacesOnFront" or "CardFacesAndBackOnFront" depending on whether or not a back image is provided for the counter-sheet.