Would you like to make this site your homepage? It's fast and easy...
Yes, Please make this my home page!
Documentation
of
EGChessPro
v1.0
EndGame studies and Chess
Problems
English version
(This is not my native language.
Please, send me corrections)
Este documento está disponible también en Español
Este document està disponible també en Valencià/Català
Introduction
EGChessPro
is a freeware program (see the license) that
helps to compose, to solve and to store endgame studies and chess problems
(direct mate, helpmate, selfmate, ...).
Its use is very simple.
EGChessPro
only waits that the user copies a chess problem into the clipboard and,
when it detects this has happened, it calls to the most suitable program
to solve the problem. When solved the problem, it will copie the solution
into the clipboard and optionally it will show graphically this solution
in the user browser.
The idea is to create
the graphic diagram that defines the problem with a chess Windows program
like EPD2diag, WinBoard, SCID, etc. When the diagram
has been created and stored in standard format (FEN, EPD or PGN), it can
be copied into the clipboard, so that EGChessPro passes the problem
to the suitable MS-DOS program (Crafty, Popeye or Chest)
to be solved. Then, the solution is copied also into the clipboard with
PGN standard format and can be pasted in any chess Windows program that
manages PGN format. The problem solution can be graphically examined and
modified with this Windows program.
If Palview is
installed, EGChessPro may pass it the solution to generate the HTML page
with the diagram and then show this page in the browser.
EGChessPro offers to
the problemists the following benefits:
-
It handles EndGame studies and Chess Problems
in standard formats (FEN, EPD and PGN).
-
It easily allows the use of many chess Windows
programs like graphic interfaces for Crafty, Popeye and Chest.
-
It sends suitable commands to the solvers to
obtain (as far as possible) the endgame or chess problem solutions.
-
It converts the output format of these three
solver programs to PGN standard format, including the header of the problem,
the main line, the variations (Popeye and Chest) and the
comments (Popeye), in order to they can be examined and modified
by many chess Windows programs.
-
It's free and very easy to use.
EGChessPro is a MS-DOS program
(32 bits), but it uses Windows resources like the clipboard and the Windows
"start" mechanism.
NOTE:
-
In order to use EGChessPro it's necessary
to install at least one of the three solver programs (Crafty , Popeye
and/or Chest).
Also it's suitable to have some program
that allows to copy and to paste into the clipboard positions and games
from a graphic chessboard. Some of the free programs that allow to do this
are: EPD2diag, WinBoard, SCID, CDB and
ChessPad,
nevertheless any text editor (WordPad, NotePad, MS_DOS Edit, etc) can be
used in its place.
Also it's very recommendable to dispose
of Palview.
Download
EGChessPro
From the download
pages you will be able to download the latest version of EGChessPro,
the Chess Problem Solvers, the FEPD/PGN Editors that you
prefer and Palview. Also you will be able to download Chess Problems
in EPD and PGN formats, and others documents.
There is also available a version in French of the program (not of the
documentation). You could download this version from any of three prior
pages.
Using
EGChessPro
The first thing
that EGChessPro does when it starts is to launch the EPD/PGN
Editors defined in the configuration file. This editors can to read,
to create and to store chess diagrams.
In
these programs, chess problems can be defined by means of a graphic chessboard,
and can to be copied in the clipboard with any of the available input
formats.
Once running, EGChessPro
waits a chess problem have copied into the Clipboard from an editor and
passes that to a chess program in order to be solved. The solution is stored
into the Clipboard for be pasted to an editor that admits PGN
format.
Optionally the solution may be viewed in
HTML
format.
EGChessPro active keys:
<F1>
opens the help file with the user preferred browser. It doesn't wait the
browser ends.
<F3>
stops/starts the chess problems detection into the Clipboard. Stop the
detection allows to move problems between two editors without activating
EGChessPro.
<F5>
opens the configuration file (egchesspro.ini) with the predetermined editor
and waits that close this. After this, it changes the working according
to the new configuration, clear the Clipboard and returns to the previous
status (clipboard detection started or stopped).
<Esc>
ends EGChessPro.
The
last line of the EGChessPro screen
show the current program status. The last but one line, show notification
and error messages.
The readme.txt file
contains some details about the use of EGChessPro.
See also the EGChessPro Introduction.
Configuration
The file "egchesspro.ini"
contains the EGChessPro configuration. You can edit this file at
any time with a text file editor or you can to do it while EGChessPro
is running.
While EGChessPro
is running, you can press the <F5> key. This opens the predetermined
INI editor with the configuration file. EGChessPro waits the file
edition finish and then it changes its working according the new configuration.
The file contains different
sections [within brackets], each contains different keys with its associated
value (key=value).
The values can be changed
(but no the keys) for to modify the EGChessPro behaviour . The keys
preceded by a semicolon (;) are inactive keys, and contains alternative
values to the active keys with the same name. Activating ones and disactivating
the others the configuration can be changed quickly.
Sections, Keys and Default
Values:
[General]
EndGameSolver=CRAFTY
Endgame solver program (for + and = stipulations).
MateSolver=POPEYE
Mate solver program (alternative: MateSolver=CHEST).
Stipulation=+
Default stipulation without the amount of moves (see stipulations).
If the problem
don't specify a (valid) stipulation, the default stipulation is used.
DepthStipulation=5
Default amount of complete moves for to arrive at the stipulation.
If the problem
don't specifiy a depth stipulation, the default is used.
TimeLimit=600
Default
time limit (in seconds) for to arrive at the stipulation. If the
problem don't
specify a time limit, the default is used.
[Crafty]
CraftyPath=c:\crafty\wcrafty-18_12.exe
Path of the Crafty executable.
; CraftyCommands=display
stats$display extstats
Additional Crafty commands (disactivated by default). Separated by the
$ character.
[Popeye]
PopeyePath=c:\popeye\pywin32.exe
Path of the Popeye executable.
PopeyeMaxmem=40M
Amount of RAM used by Popeye.
PopeyeCommands=Variation
Additional Popeye commands (Option ...). Separated by spaces.
(a sample alternative: PopeyeCommands=Try Variation SetPlay).
[Chest]
ChestPath=c:\chess\chest\chest319.exe
Path of the Chest executable.
ChestCommands=Lr
Additional Chest commands (in command line). Without separation.
[PGN Editors]
; PgnEditorPath=start
wordpad -t
; PgnEditorPath=start
winboard -ncp
; PgnEditorPath=c:\epd2diag\epd2diag.exe
; PgnEditorPath=c:\scid\scid.exe
; PgnEditorPath=c:\cdb\cdb.exe
; PgnEditorPath=c:\chesspad\chesspad.exe
EPD/PGN editors that will be launched at EGChessPro start. Several can
be activated
(maximum eight) and the same editor can be activated several time.
By default no editors are launched.
[HTML]
HtmlOutput=no
Indicates if the HTML output must be generated (alternative: HtmlOutput=yes).
Set this option to 'yes' only if Palview has been installed.
PalviewPath=c:\palview3\palview3.exe
Path of the Palview executable.
PalviewIni=pv_normal.ini
Configuration file for Palview (alternative: PalviewIni=pv_static.ini).
The default INI file generates a controlpanel in the HTML page that allows
to run over the solution.
Input
formats
EGChessPro
recognizes the output to the Clipboard of many programs. It has been tested
with EPD2diag, WinBoard,
SCID,
CDB and
ChessPad.
Also it's possible to capture the output to the Clipboard of any text editor
(WordPad, NotePad, MS_DOS Edit, etc).
EGChessPro can recognize
chess problems copied into the Clipboard in any of the next formats:
-
FEN Input.
The FEN (Forsyth-Edwards Notation) format is a standard to describe chess
positions using ASCII characters. It's part of the PGN standard.
Each position is represented with a six
elements line. EGChessPro uses the four first elements: piece placement,
active color, castling availability and en passant target square.
Chapter 16.1 of the PGN
Standard document contains the complete description of the FEN format.
-
EPD Input.
The EPD (Extended Position Description) format describes chess positions,
like the FEN format, but it allows to include additional information (Opcodes)
that EGChessPro uses to describe chess problems. The four first
elements (required) of each line are the same in the EPD format and in
the FEN format.
Chapter 16.2 of the PGN
Standard document contains the complete description of the EPD format.
EGChessPro interprets the EPD Opcodes
in the next form:
EPD
Opcode
|
EGChessPro
Concept
|
Default
Value
|
|
c0
|
Authors of the problem (separated by : ) |
|
|
c1
|
Origin (name of the media where the
problem have been published)
|
|
|
c2
|
Date of the problem publication (with
the format AAAA.MM.DD)
|
|
|
c3
|
Awards
|
|
|
c4
|
Thematic Classification
|
|
|
c5
|
Dedications
|
|
|
c6
|
Stipulation (+, =, #, H#, S#, R#, H=,
S=, ...)
|
+
|
|
dm
|
Amount of complete moves for to arrive
at the objective
|
5
|
|
id
|
Problem identification
|
|
|
acs
|
Time limit to obtain the solution (in
seconds)
|
600
|
No one of these Opcodes is required.
If they aren't specified, default values are used.
-
PGN Input.
The PGN (Portable Game Notation) format is the standard to representing
chess moves. It has two parts: the header, that describes the play conditions
by means of Tags, and the moves. EGChessPro only takes in consideration
some Tags during detection of the chess problems stored into the Clipboard,
the other Tags and the moves are ignored.
The PGN Standard
document contains the complete description of the PGN format.
EGChessPro interprets the PGN Tags
by the next form:
PGN
Tag
|
EGChessPro
Concept
|
Default
Value
|
|
White
|
Authors of the problem (separated by : ) |
|
|
Event
|
Stipulation (+, =, #, H#, S#, R#, H=,
S=, ...)
|
"+"
|
|
Round
|
Problem identification
|
|
|
Site
|
Origin (name of the media where the
problem have been published)
|
|
|
Date
|
Date of the problem publication (with
the format AAAA.MM.DD)
|
|
|
PlyCount
|
Amount of complete moves for to arrive
at the objective
|
"5"
|
|
Section
|
Thematic Classification
|
|
|
TimeControl
|
Time limit to obtain the solution (in
seconds)
|
"600"
|
|
awards
|
Awards
|
|
|
dedications
|
Dedications
|
|
|
FEN
|
The first four elements of the FEN format
|
|
Only the "FEN" Tag is required. If a
Tag is not specified, his default value is used.
The "awards" and "dedications" Tags are
not part of the PGN standard.
NOTES:
-
You can download some
sample chess problems in EPD and PGN formats.
-
The default values of Stipulation, Depth Stipulation
and Time Limit can be changed by the user at any time, even if EGChessPro
is running (<F5> key).
-
The signification of some of the possible stipulations
are:
+ Win (or Check)
= Draw (or Stalemate)
# Direct-mate
H# Helpmate
S# Selfmate
R# Reflex-mate
H= Helpstalemate
S= Selfstalemate
....
-
All of the Popeye stipulations are recognized
as valid (see the documentation of this program).
-
If the stipulation is invalid, the default stipulation
is used.
PGN
Output format
EGChessPro converts
to PGN the chess solvers output and put it into the Clipboard (see PGN
input).
The generated PGN header
contains the next Tags:
PGN
Tag
|
EGChessPro
Concept
|
Default
Value
|
|
White
|
Authors of the problem (separated by : ) |
"?"
|
|
Black
|
Solver (program and version)
|
(Crafty, Popeye or Chest)
|
|
Event
|
Stipulation (+, =, #, H#, S#, R#, H=,
S=, ...)
|
"+"
|
|
Round
|
Problem identification
|
"?"
|
|
Site
|
Origin (name of the media where the
problem have been published)
|
"?"
|
|
Date
|
Date of the problem publication
|
"????.??.??"
|
|
Annotator
|
Annotator (program name and version)
|
"EGChessPro vX.Y"
|
|
PlyCount
|
Amount of complete moves for to arrive
at the objective
|
"5"
|
|
Section
|
Thematic Classification
|
In endgames: "Study"
|
|
TimeControl
|
Time limit to obtain the solution (in
seconds)
|
"600"
|
|
awards
|
Awards
|
|
|
dedications
|
Dedications
|
|
|
FEN
|
The first four elements of the FEN format
|
|
The "awards" and "dedications" Tags
are not part of the PGN standard.
The representation of
the moves complies with the PGN Standard specifications,
using the SAN abbreviated notation, with the
exception of the Popeye output that uses the LAN
notation.
Pieces are represented
by its english initials: : K = King; Q = Queen; R = Rook; B = Bishop;
N = kNight; P = Pawn. In the fact, pawn
is not represented.
Variations and subvariations
are recursively generated (Popeye and Chest) and enclosed
within parenthesis (RAV).
Popeye generates
abbreviated commentaries ( ! and ? ) and long commentaries enclosed within
braces, such as {zugzwang}. No annotations in NAG
codification are generated by the moment.
Moves appear separated
by a space character in 80 characters lines, as the PGN Standard specifies
for the PGN Export Format.
Tries and refutations
(Popeye and Chest) are represented without transformation,
as a comment enclosed within braces before the problem solution.
The EGChessPro
PGN output is successfully read by many programs, such as WinBoard,
SCID,
CDB
and
ChessPad. Also it's possible to paste this PGN output on any
text editor (WordPad, NotePad, MS_DOS Edit, etc).
The PGN Standard document contains the complete
description of the PGN format.
ABBREVIATIONS:
-
LAN: Long Algebraic Notation
-
NAG: Numeric Annotation Symbol
-
PGN: Portable Game Notation
-
RAV: Recursive Annotation Variation
-
SAN: Standard Algebraic Notation
Chess
problem Solvers
EGChessPro call different
programs to solve different problems, according to each problem stipulation
and to the default solvers defined in the configuration file.
If the stipulation
is + or =, the problem is treated like a endgame study, otherwise the problem
is treated like a chess problem.
Actually EGChessPro
have interfaces for the next programas:
-
Crafty.
This is perhaps the best freeware chess
program. It's thought to play with an opponent, not to solve studies (I
don't know any program that makes this task). EGChessPro send suitable
commands to Crafty for attempt to solve this type of problems.
It can't be specified stipulations to Crafty,
but there are three job types that this program may solve: play and win
(+), play and draw (=) and direct mate (#).
Endgame Tablebases can be used by Crafty.
They are indispensable to solve many endgame studies and you must install
they if you want solve this type of problems with Crafty. I recommend you
that you download all the three and four piece tablebases and the most
important five piece tablebases.
Another recommendation is that you configure
Crafty with the large space of memory for Hash Tables. This allow Crafty
to obtain a larger level of play in the same time.
You can download Crafty and the Tablebases
from the EGChessPro Download pages.
Author: Bob
Hyatt.
-
Popeye.
Likely the most complete (but not the most
speedy) freeware chess solver program. It solves orthodox and heterodox
(fantasy) problems, but, owing to the PGN format limitations, only orthodox
problems can be specified with EGChessPro.
EGChessPro admits all the valid Popeye
stipulations, but the result of some of these can be incompatible whit
the PGN format. Some of the options (PopeyeCommands) that the user can
specify in the configuration file can be also incompatibles with this format.
You can download Popeye from the EGChessPro
Download pages.
Authors: Elmar
Bartel y Norbert Geissler.
-
Chest.
A freeware program that solves chess problems
with great celerity and precision.
It can solve direct mates, helpmates and
selfmates. Also it can solve stalemates, helpstalemates and selfstalemates.
You can download Chest from the EGChessPro
Download pages.
Author: Heiner
Marxen.
EPD/PGN
Editors
EGChessPro can work
with any software that it can copy FEN, EPD or PGN text into the Clipboard,
or that it can paste PGN text from the Clipboard.
Windows chess programs,
like the reported below, can be used, but also it's possible to use any
text editor such as WordPad, NotePad or MS-DOS Edit. Evidently it's more
confortable and agreeable to use first.
EGChessPro
has been tested with the next Windows programs (all freeware):
-
EPD2diag.
The best EPD editor that I know. It's quickly
and easy to use.
Features: It allows to edit EPD Opcodes.
It can convert positions to many formats (HTML, RTF, PGN, ASCII, BMP and
GIF). It allows to analyze the positions with Rebel an with others engines.
You can launch EGChessPro from EPD2diag
with the "Start chess engine" button. Before, configure EGChessPro.pif
as the Generic Engine in the "Analyse..." option of the "Options" menu.
To copy a problem into the Clipboard,
use the "Copy EPD string" of the "EPD" menu.
You can download EPD2diag from the EGChessPro
Download pages.
Author: Manfred
Rosenboom.
-
WinBoard.
A very known program. It's a graphic chessboard
that allows play chess and analyze chess positions with Crafty and
many others chess programs.
It's also a FEN and PGN editor. It can edit
positions, PGN Tags, play and play comments, but can't edit variations
(it captures there as play comments).
To copy a problem in PGN format
into the Clipboard, press <Alt> + <C>.
To copy a problem in FEN format
into the Clipboard, press <Alt> + <Shift> + <C>.
To paste a solution in PGN format
from the Clipboard, press <Alt> + <V>.
You can download WinBoard from the EGChessPro
Download pages.
Author: Tim
Mann.
-
CDB.
Chess database and position analyzer (it
uses Crafty). It have a proprietary format, but it can manage PGN
and FEN (EPD without Opcodes) formats.
It is, for me, the best option to examine
and to edit the problems solutions. It allows to see simultaneously the
board, the main variation, the available moves, the variation tree and
the comments.
It can edit in easy form the position, the
Tags, the comments and the variations.
To copy a problem in PGN format
into the Clipboard, press <Control> + <C>.
To copy a problem in FEN (EPD
without Opcodes) format into the Clipboard, use the "Copy EPD" option
of the "Position" menu.
To paste a solution in PGN format
from the Clipboard, press <Control> + <V>.
You can download CDB from the EGChessPro
Download pages.
Author: Peter Klausler.
-
SCID.
Another chess database. Very powerful. It
allows to analyze positions with Crafty and with other WinBoard
compatible programs. Also it can manage the same endgame Tablebases that
Crafty uses.
It's available in (at least) nine languages.
It's a software in active evolution.
SCID is, likely, the best option for to
store chess problems and to edit variations.
It allows very powerful searchs by many
criteria. It can edit the position, the Tags, the comments and the variations.
It can export to HTML and LaTex formats.
You can copy positions and paste
solutions
in PGN format into the Clipboard, from the "Import one PGN game..." option
of the "Tools" menu.
To copy a problem in FEN format
into the Clipboard, use the "Setup start board..." option of the "Edit"
menu.
You can download SCID from the EGChessPro
Download pages.
Author: Shane
Hudson.
-
ChessPad.
Another chess database. It allows to analyze
positions with Crafty and with other WinBoard compatible
programs. It can export to HTML, RTF, BMP and TXT formats.
It's a software in continuous development.
You can edit positions easily with ChessPad.
Also PGN Tags, comments, annotations and variations can be edited.
The documentation is stored in Internet
(not in the program) and can't be downloaded.
To copy a problem in PGN format
into the Clipboard, press <Control> + <C>.
To copy a problem in FEN format
into the Clipboard, press <Control> + <D>.
To paste a solution in PGN format
from the Clipboard, press <Control> + <V>.
You can download ChessPad from the EGChessPro
Download pages.
Author: Mark van der Leek.
HTML Output
Since the 1.1 EGChessPro version, you
can examine graphically the problems solutions with your default navigator.
It's possible by the Palview program.
-
Palview3
With this program you can make HTML pages
starting for PGN files. The final result of the pages will depend of the
INI file that was used in the call to the program.
EGChessPro gives two INI files: pv_normal.ini
and pv_static.ini (see Configuration).
With the pv_normal.ini file you can make dynamical pages with links
in each move and with a controlpanel to run over the moves of the problem
solution. The pv_static.ini file makes itself one HTML page with
a static diagram without buttons and without links in moves.
You can modify these INI files to personalize
the HTML output. You can use too other INI files, but if you want
that EGChessPro would put the diagram on static pages, then the file name
must contain the string "static" (for example: my-file_static2.ini).
You can download Palview3 from the EGChessPro
Download pages.
Author: Andrew
Templeton.
Very important: to
store the HTLM pages, you can use the "Save as..." option of your navigator,
but if you save them into other folder, you must copy (not move) the Palview
jpc
directory to the same folder. This directory contains all necessary graphics
to see the HTML pages OK.
Limitations
-
EGChessPro seems don't work properly
on Windows NT and Windows 2000. This is owing to the form that these systems
run the MS-DOS programs. Any help in this sense are welcome.
EGChessPro hasn't been tested on
Windows XP.
-
At the moment EGChessPro don't admit
multiple problems into the Clipboard.
-
The greatest ply depth that EGChessPro
can set in PGN format, when it works whit Popeye or Chest,
is 64 plys, namely 32 complete moves. If a problem solution has variations
with more moves, only the first 32 are set.
This limitation don't exist with Crafty.
-
EGChessPro can manage until 128 variations.
If a problem solution contains more, only first 128 are set. With Crafty
only the main variation is set.
-
Owing to the limitations of the FEN, EPD and
PGN formats, it can't be managed many of the problems that Popeye
is capable of solve.
-
Crafty isn't a program made to solve
endgame studies. It solve some endgames in a few seconds, others in minutes,
hours or days, and some can't solve. It depends in part of the computer
speed where it's running, of the amount of memory that it has assigned,
and of the number of endgame Tablebases availables. Crafty can't solve
some problems successfully owing to it hasn't some endgame knowledges that
the current Tablebases don't contain.
-
Sometimes Crafty offers solutions that
they defer in part of the solutions planted by the problems authors. These
differences occurs owing to the distinct concepts of "best defence" that
humans and computer programs have. Crafty can choose a determinate defence
move because, after this, a mate in 30 moves occurs, even if this move
leaves a position obviously lost, owing to the material difference. A human
solver considers best defence other move that keeps the apparent equality,
even if this move carries to a "short" mate in 20 moves.
-
For the moment, the Plaview HTML output
is limited to three subvariation levels. Problems with more recursive variation
levels can't be represented in HTML format.
-
EGChessPro has been tested with a limited
number of stipulations and solver programs options.
Some of these options can't work succesfulley
owing to the limitations exposed thereinbefore.
If you finds some bug in EGChessPro
with a chess problem, and you think that it isn't caused by some of the
previous limitations, please send me the problem
statement and the obtained solution.
Contact
with us
You can send corrections, comments and suggestions
about the program and the English and Spanish documentation to Salvador
Bosch Pérez.
You can send corrections and comments of
the Valencian/Catalan translation to Amparo
Folgado Broseta.
Page updated at: 12/05/2002