PGN-Extract: Portable Game Notation (PGN) Manipulator for Chess Games by David J. Barnes

Introduction

This directory contains the source for version 16.2 of the pgn-extract program which I wrote and maintain. Its purpose is for manipulating chess games written in the Portable Game Notation (PGN).

New in this version

Overview

These are the sources for a program to extract selected games from a PGN format data file. There are several ways to specify the criteria on which to extract: textual move sequences, the position reached after a sequence of moves, information in the tag fields, and material balance in the ending. The program includes a semantic analyser which will report errors in game scores and it is also able to detect duplicate games found in its input files.

The range of input move formats accepted is fairly wide and includes recognition of lower-case piece letters for English and upper-case piece letters for Dutch and German. The output is normally in English Standard Algebraic Notation (SAN), but this can be varied.

Extracted games may be written out either including or excluding comments, NAGs, and variations. Games may be given ECO classifications derived from the accompanying file eco.pgn, or a customised version provided by the user.

For a full description of pgn-extract's functionality, see either this HTML-formatted description or this plaintext description.

Available Files

For most users, it will be sufficient to take a copy of the full source and documentation as either pgn-extract-16-2.tgz or pgn-extract-16-2.zip.

Thanks to Jim Ablett for providing a win32 version of the latest version pgn-extract.

 
Name Description Bytes Date
COPYING GNU General Public License. 12488Dec 05 1997
README Text description of what the program does, and how to use it. 57635Apr 24 2007
pgn-extract-16-2.tgz
GZipped tar file of the complete source of version 16.2 of the program.
Includes README, Makefile for compilation and
eco.pgn file for ECO classification.
161920Apr 24 2007
pgn-extract-16-2.zip Zipped file of the complete source of version 16.2 of the program.
Includes README, Makefile for compilation and eco.pgn file for ECO classification.
190309Apr 24 2007
eco.zip Zipped version of eco.pgn. 32081Sep 30 1999
eco.pgn File of openings with PGN classification.
This file is already included in the source archives.
254722Dec 05 1997
pgn-extract-15-0.exe 32-bit DOS binary of version 15.0 of the program. 365222Sep 14 2001
extract-13-5.exe 16-bit DOS binary of version 13.5 of the program. 88516Dec 05 1997


My home page.
This document (ftp://ftp.cs.kent.ac.uk/pub/djb/Extract/pgn-extract.html) is maintained by: David Barnes, to whom any comments and corrections should be addressed.
© David Barnes.
Last Updated: 25th April 2007: version 16-2 released.