[Home] [Download] [Documentation] [Discussion Forum] [Jin at SourceForge] [Contribute]

Creating a custom piece set for Jin 2.13 or later

The definition file

At the root of the resource file is the definition file. This file tells Jin the basic information about the piece set. It is a properties file and should contain the following properties:

Using free.chess.ImagePiecePainter

If you are using free.chess.ImagePiecePainter (which is currently your only choice, besides writing your own piece painter), the following properties must also be set in the definition file:

For each size specified in size.list, a directory named as the size must be present in the root of the resource file. Each such directory must contain the following image files of the corresponding size:

For an example of all of the above, unzip xboard.jar from $JIN/resources/pieces/ and examine its structure.

If you have any questions or suggestions, email me at msasha AT engineer DOT com