Configuring chess engines
The [engine] section is used to configure chess engine used to analyze. This page describes configuration for chess engines (supporting UCI protocol) you can play with in nocheto (or let them play each other). See the play command.
Config in nocheto.ini file
Every engine have to have its own [section] in a configuration file (like nocheto.ini). The section name have to starts with engine_ followed by the name used by the play command.
Those engines are not used by the analyze or hint commands. Only the engine configured in [engine] section is used to analyze moves. But they can be used by nochetoclient in analyze mode.
Example
[engine_stockfish]
name = "Stockfish 14"
engine = /usr/games/stockfish
Threads=8
[engine_komodo]
name = "Komodo 10"
engine = komodo
[engine_gnuchess]
name = "Gnuchess"
engine = gnuchessu
The example above configures 3 engines named stockfish
,
komodo
and gnuchess
. The name
property is not
used in nocheto (for now), you can set its value to whatever you like.
The engine
property is a path to the engine executable file (if the full path
is not provided, the executable is searched in your $PATH paths).
You can use the same properties as in the [engine]
section (level, goseconds, multipv etc.) autoplay
.
Configuration in the engines.ini file
You can also write the engine configurations into the
~/.nocheto/config/engines.ini
file.2.3.0
In that case the section ame desn't start with the engine_ prefix.
Example of the ~/.nocheto/config/engines.ini file
[stockfish]
name = "Stockfish 14"
engine = /usr/games/stockfish
Threads=8
[komodo]
name = "Komodo 10"
engine = komodo
[gnuchess]
name = "Gnuchess"
engine = gnuchessu
The properties are the same as in the [engine] section, except autoplay property
How to use configured engines
Use command play vs <engine>
to play agains engine
and play <engine1> vs <engine2>
to let the engines play
against each other.
If you want play
command.
Example
play stockfish vs komodo
How to use a configured engine with nochetoclient
$ nochetoclient --mode=analyze --engine=komodo