Skin File
The skin file is a text file with the same layout as a windows ini-file. It contains between two and four sections. The skin file has a .skn file extension. The order of the keys within a section is not important.
[DESCRIPTION]
Title = My Cool Skin
Copyright = John Doe
Email = john.doe@abc.com
Url = http://www.abc.com

[SKIN]
Type      = 2
Wall      = 0
Pack      = 1
Pack_Goal = 2
Man       = 3
Man_Goal  = 4
Floor     = 5
Goal      = 6

Image_File = MySkin.png

 -- OR --

[IMAGE]
Qk14mwAAAAAAAAAo...
AAAAAAAAptruutbu...
pr7Ojq6+lrbGhqa2...
...
[END]

0 1 2 3 4 5 6

The DESCRIPTION section contains the title of the skin, the copyright and optionally e-mail and web site.

The SKIN section contains keys for each display element, the value is the index of the elements image in the image file which contains all the necessary images side by side. The example to the left shows a simple skin file and the corresponding image file. The image file in the example is an external file. Image_File specifies a path to the actual file.

The IMAGE section is optional and contains an embedded image file. In this case the Image_File value is removed. The text inside the IMAGE section is the image file Base64 encoded. Base64 is a standard encoding specified in RFC 1421.

Optionally the BACKGROUND section can contain a background image. Use this if the background image differs in size from the other skin images. The background image should be a tiling image. The Background_File parameter can be used to specify an external background image file.

The END section ends the file.


The simple skin in the example only has one wall element pointed to by the Wall key. To have connecting walls, like in the Classic skin, 16 different wall images are needed, one for each combination of neighboring walls. These are pointed out by Wall_0, Wall_1, ... Wall_9, Wall_A, Wall_B, ... Wall_F. Wall_0 is a wall with no neighbors, Wall_1 is connected to a wall on the up side, Wall_2 is connected to the right and so on. See the Skin Reference for a description of all the Wall keys.