Connecting client to nocheto
Executing nochetoclient and ipv4 command
First, you need to run the ipv4
command in nocheto,
which causes nocheto to wait for the client connection.
The ipv4
command can have as an argument a PORT number, which is
a number between 1024 and 65535 (default 8001). Use whatever number you want,
you just need to use the same number with the client.

Now you can run the client with the same port number as its argument.
Client reads the ~/.nocheto/configs/nocheto.ini
configuration file first
and then the ~/.nocheto/configs/client.ini
file. The client.ini file doesn't
exists by default, but you can create it to set different properties than in nocheto.
For example what parts of user interface should client (not) display etc.
Run nochetoclient -p PORT
to start nochetoclient in
the board mode.

If you want the client to run chess engine and analyze your position (analyze mode),
run nochetoclient --mode=analyze -p PORT
.
It is necessary to call ipv4
command in nocheto again for every client you want to connect.


Threre is not much you can configure in the config file for a client running in the analyze mode (--mode=analyze).
All I can think of are the properties in the [engine]
section like engine
, threads
and multipv
.
When you close nocheto, all connected clients will be closed too.
If you want to close (one of the) connected client(s), you can use CTRL+C, or simply close the console in which the client runs. Nothing bad will happen.
Content of the client.ini file
This is my favorite client.ini config file content:
[board] boardtype=utf8 autoboard= 1 viewgraph = 1 viewtree=1 viewtreeheight = 35 viewboard= 0 viewmoves = 0 viewvariants = 0 viewfen = 0 viewopening = 0 viewcoordinates = 0 viewexplorer = 0 expandtree = 1 actualmove_l = >>> actualmove_r = <<< actualmove_color = 44 [console] speach = false whitecolor = blackcolor = 31 boardcolor = movecolor = 33
It enables moves tree (viewtree=1
) and graph (viewgrap=1
),
set some colors and disable almost everything else.
If you want to use this configuration, save the content into ~/.nocheto/configs/client.ini.
See configuration for more information.