EPD files

An EPD (extended position description) file is a collection of positions, where each position has some associated text. Like PGN, it is a common standard for chess information.

An EPD file has a number of defined opcodes (fields) which are stored separated by semicolons (;) in the file but are shown on separate lines in a ChessDB EPD window to make editing easier. A semicolon within an EPD field is stored as "\s" by ChessDB to distinguish it from an end-of-field marker. Each position and its associated opcodes are stored on one single line in the EPD file.

Standard EPD opcodes include:

EPD files have a number of uses: ChessDB uses an EPD file to classify games according to the Encyclopedia of Chess Openings (ECO) system, and you can create an EPD file for your opening repertoire, adding comments for positions you regularly reach in games.

You can create a new EPD file or open an existing one, from the [New] and [Open] commands of the [File] menu. At most four EPD files can be open at any time.

EPD windows

For each open EPD file, you will see a window which shows the text for the current position. You do not have to press the Store button to store any changes you make to a positions text; the text will be stored whenever you move to a different position in the game.

Navigating EPD files

To browse through the positions in a EPD file, use the [Next position] and [Previous position] commands from the EPD window [Tools] menu, or use the shortcut keys Ctrl+DownArrow and Ctrl+UpArrow. These commands move to the next/previous position in the file, clearing the current game and setting its start position.

Stripping out EPD fields

EPD files you find on the Internet may contain fields that do not interest you, and they can waste a lot of space in the file. For example, an EPD file of computer evaluations might have ce, acd, acn, pm, pv and id fields but you may only need the ce and pv fields.

You can strip out an EPD opcode from all positions in the EPD file using the [Strip out EPD field] from the EPD window [Tools] menu.

The EPD window status bar

The status bar of each EPD window shows:

(Updated: ChessDB 2.5, June 2001)