X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=polyglot.pod;h=cd4cb21f6dfe1c910b3c4049e30e92cba04bb844;hp=362f9f45afbfcde87f8ab6769a014a2b65e6e576;hb=e7a2abd9bd4fce9ebbd70793b00d9d5f99886348;hpb=64f72f31685ea1dff12b19b22cfaf7a53ccc079f diff --git a/polyglot.pod b/polyglot.pod index 362f9f4..cd4cb21 100644 --- a/polyglot.pod +++ b/polyglot.pod @@ -10,6 +10,8 @@ PolyGlot - Winboard protocol to UCI protocol adapter polyglot [configfile] +polyglot -ec engine + polyglot make-book [-pgn inputfile] [-bin outputfile] [-max-ply ply] [-min-game games] [-min-score score] [-only-white] [-only-black] [-uniform] polyglot merge-book -in1 inputfile1 -in2 inputfile2 [-out outputfile] @@ -41,6 +43,17 @@ When in UCI mode PolyGlot mostly passes commands from the GUI to the engine and vice versa, except that it will play book moves on behalf of the engine when the occasion arises. +The engine options are exported as UCI options in UCI +mode and as "feature option=" commands in xboard mode. The latter form +an extension of the xboard protocol as defined by H.G. Muller. + +Options which normally appear in the [PolyGlot] section of the +config file (see below) are exported as options with their name prefixed +by "Polyglot". This makes it easy to filter them in the GUI. + +NOTE: Not all options are exported, only those that make sense in the +given mode. + =head2 Book making utilities PolyGlot supports the "PolyGlot opening book format". This is the @@ -81,6 +94,14 @@ default config file is "polyglot.ini". When invoked as +=head2 polyglot -ec engine + +PolyGlot simply starts "engine" and acts as an adapter. No config file +is used and thus it is expected that all properties will be set by the +GUI. + +When invoked as + =head2 polyglot make-book PolyGlot supports the following options @@ -309,6 +330,14 @@ regardless of the delay. If true PolyGlot will not understand xboard commands. +=item B (default: false) + +Play Chess960 (also called Fischer Random Chess or FRC), + +=item B (default: 10000) + +Mate score reported to GUI when in xboard mode. + =item B (default: false) Indicates whether a PolyGlot book should be used. This has no effect @@ -319,14 +348,6 @@ book will be used whenever PolyGlot is out of book. Remember that PolyGlot is unaware of whether the engine is itself using a book or not. -=item B (default: false) - -Play Chess960 (also called Fischer Random Chess or FRC), - -=item B (default: 10000) - -Mate score reported to GUI when in xboard mode. - =item B (default: book.bin) The name of the (binary) book file. Note that PolyGlot will look for @@ -334,9 +355,6 @@ it in the directory it was launched from, not in the engine directory. Of course, full path can be used in which case the current directory does not matter. -NOTE: When using PolyGlot with a UCI GUI this parameter can be set -via the UCI option "Polyglot BookFile". - =item B (default: true) Select moves according to their weights in the book. If false the move