Professional Documents
Culture Documents
Readme Ini File
Readme Ini File
--------
There should be a different INI file for each engine. Sections are
composed of "variable = value" lines. See the sample INI files in the
"example" directory.
Globals.ini
------------
After reading the users's ini file (the default polyglot.ini or the ini file
supplied on the command line),
polyglot checks if there exists a file "globals.ini" and reads this one too.
Entries in global.ini overrides the previous values,
except for "LogFile" and "NoGlobals",which are ignored.
This is usefull to set values (Hash f.i.) same for all engines.
1) [PolyGlot] section
2) [Engine] section
NOTE: use INI syntax, not UCI. For example "OwnBook = true" is
correct. It will be replaced by PolyGlot with "setoption name OwnBook
value true" at engine startup.
The other options are engine-specific. Check their name using a UCI
GUI or launch the engine in a console and type "uci".
Since times polyglot used '#' and ';' to indicate a comment.This conflicts
with the usage of ; as a seperator in egtb path names.
As a workaround put the full paths in qoutes
e.g. NalimovPath = "C:\Tablebases\TB4;C:\Tablebases\TB5"
Polyglot will strip the " away.
Without quotes NalimovPath = C:\Tablebases\TB4 would be send to the engine as
everything
after ; is treated as comment
A couple of examples:
Path = "C:\bases\m4" -> Path = "C:\bases\m4"
Path = C:\bases\m4;C:\bases\m5;C:\bases\m6 -> Path = C:\Bases\m4
Path = "C:\bases\m4;C:\bases\m5;C:\bases\m6" -> Path =
C:\bases\m4;C:\bases\m5;C:\bases\m6
Options
-------
Full path of the directory where the engine is installed. You can use
"." (without the quotes) if you know that PolyGlot will be launched in
the engine directory or the engine is in the "path" and does not need
any data file.
- "EngineCommand"
Put here the name of the engine executable file. You can also add
command-line arguments. Path searching is used and the current
directory will be "EngineDir".
Whether PolyGlot should log all transactions with the interface and
the engine. This should be necessary only to locate problems.
- "LogFile"
The name of the log file. Note that it is put where PolyGlot was
launched from, not into the engine directory.
WARNING: Log files are not cleared between sessions, and can become
very large. It is safe to remove them though.
NOTE: Some engines display buggy scores from time to time although the
best move is correct. Use this option only if you know what you are
doing (e.g. you always check the final position of games).
- "ResignMoves" (default: 3)
Whether to kibitz when the PV is changed (new iteration or new best move).
- "NiceValue" (default: 5)
- "PostDelay" (default: 0)
Work arounds
------------
Work arounds are identical to options except that they should be used
only when necessary. Their purpose is to try to hide problems with
various software (not just engines). The default value is always
correct for bug-free software.
- "UCIVersion" (default: 2)