Cutochess cli

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutochess cli

Post by Krzysztof Grzelak »

I'll come back to the topic because I have a question. Is there any command where I can attach the ini file. Of course, this is about Cutochess cli. Because, for example, the ScorpioNN chess engine has an ini file.
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutechess cli Doesn't run

Post by Krzysztof Grzelak »

JohnW wrote: Sun Mar 14, 2021 6:11 pm cutechess cli works correctly for me but it's a pain to set all the parameters for each engine especially when there is no standards. For example most engines have a "Threads" parameter but an engine like Rybka 3 calls it "Max CPUs" and it's case sensitive for some reason. Engines like the Komodo has numerous parameters and if you have many versions it takes a long time to do.
Can you write how to properly set up the Deep Rybka 4.1 chess engine for Cutochess cli. I've been struggling with this all day and I can't cope.
User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Cutechess cli Doesn't run

Post by mvanthoor »

Krzysztof Grzelak wrote: Sun Dec 31, 2023 9:11 am
JohnW wrote: Sun Mar 14, 2021 6:11 pm cutechess cli works correctly for me but it's a pain to set all the parameters for each engine especially when there is no standards. For example most engines have a "Threads" parameter but an engine like Rybka 3 calls it "Max CPUs" and it's case sensitive for some reason. Engines like the Komodo has numerous parameters and if you have many versions it takes a long time to do.
Can you write how to properly set up the Deep Rybka 4.1 chess engine for Cutochess cli. I've been struggling with this all day and I can't cope.
Maybe this will help. I have just configured the chess engines I use in the GUI, and then use this command for cutechess-cli (under BASH, in Linux):

Code: Select all

cutechess-cli \
-engine conf="Rustic 4.0.0-beta1" \
-engine conf="Rustic 4.0.0-beta2" \
-each \
    tc=inf/10+0.1 \
    book="/home/marcel/Chess/OpeningBooks/gm1950.bin" \
    bookdepth=4 \
-games 2 -rounds 2500 -repeat 2 -maxmoves 200 \
-sprt elo0=0 elo1=10 alpha=0.05 beta=0.05 \
-concurrency 16 \
-ratinginterval 10 \
-pgnout "/home/marcel/Chess/sprt.pgn"
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutechess cli Doesn't run

Post by Krzysztof Grzelak »

mvanthoor wrote: Sun Dec 31, 2023 11:11 am Maybe this will help. I have just configured the chess engines I use in the GUI, and then use this command for cutechess-cli (under BASH, in Linux):

Code: Select all

cutechess-cli \
-engine conf="Rustic 4.0.0-beta1" \
-engine conf="Rustic 4.0.0-beta2" \
-each \
    tc=inf/10+0.1 \
    book="/home/marcel/Chess/OpeningBooks/gm1950.bin" \
    bookdepth=4 \
-games 2 -rounds 2500 -repeat 2 -maxmoves 200 \
-sprt elo0=0 elo1=10 alpha=0.05 beta=0.05 \
-concurrency 16 \
-ratinginterval 10 \
-pgnout "/home/marcel/Chess/sprt.pgn"
Thank you very much.
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutochess cli

Post by Krzysztof Grzelak »

I still have this problem with the Zappa Mexico II engine. When I use Cutochess cli I have this message which shows the Zappa Mexico II engine.

Image

This is what the engine shows.

Image

I tried various options in the Cutochess cli - arg or initstr - unfortunately they did not help. Does anyone know how this can be prevented.Thank you in advance for your advice.
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutochess cli

Post by Krzysztof Grzelak »

I'm sorry for asking because it's very important to me. Can anyone help me and reply to the post written above. Thank you in advance.
User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Cutochess cli

Post by mvanthoor »

Try to omit the option from the command-line so CuteChess will use the default as set by the engine.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
Joerg Oster
Posts: 981
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany
Full name: Jörg Oster

Re: Cutochess cli

Post by Joerg Oster »

Krzysztof Grzelak wrote: Tue Jan 09, 2024 6:14 pm I'm sorry for asking because it's very important to me. Can anyone help me and reply to the post written above. Thank you in advance.
Try putting engine options with spaces in quotation marks.

Code: Select all

option."Singular Extension Min Depth"
should work.
Jörg Oster
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutochess cli

Post by Krzysztof Grzelak »

mvanthoor wrote: Tue Jan 09, 2024 7:20 pm Try to omit the option from the command-line so CuteChess will use the default as set by the engine.
Thank you for your answer. I even wrote this: -engine name="Zappa Mexico II" cmd=d:\Cuto\Zappa_Mexico_II.exe proto=uci. Unfortunately, nothing helped.
Krzysztof Grzelak
Posts: 1585
Joined: Tue Jul 15, 2014 12:47 pm

Re: Cutochess cli

Post by Krzysztof Grzelak »

Joerg Oster wrote: Tue Jan 09, 2024 7:25 pm
Krzysztof Grzelak wrote: Tue Jan 09, 2024 6:14 pm I'm sorry for asking because it's very important to me. Can anyone help me and reply to the post written above. Thank you in advance.
Try putting engine options with spaces in quotation marks.

Code: Select all

option."Singular Extension Min Depth"
should work.
Thank you for your answer - unfortunately it did not help.