Skip to content

Fishtest uses cutechess-cli, a command-line interface for managing chess games.

The static-cutechess-cli repository is responsible for building a static version of cutechess-cli using scripts and GitHub Actions workflows. After checking the archive on VirusTotal, the zipped cutechess-cli is uploaded on the Releases section, where it is ready for download.

Supported Platforms

Operating SystemCPUWorkflow
Linuxx86_64, x86_32linux
Linuxaarch64, armv7arm
macOSx86_64, arm64macos
Windows: WSLx86_64linux
Windows: MSYS2, Cygwinx86_64, x86_32windows
Windowsx86_64, x86_32windows

To run cutechess-cli in a way equivalent to fishtest use (linux example below):

./cutechess-cli -repeat -rounds 10000 -games 2 -tournament gauntlet \
                -resign movecount=3 score=600 -draw movenumber=34 movecount=8 score=20 \
                -concurrency 8 -openings file=UHO_4060_v2.edp format=epd order=random plies=16 \
                -engine name=base cmd=stockfish.base option.EvalFile=/home/user/nn-ad9b42354671.nnue option."Use NNUE=true" \
                -engine name=test cmd=stockfish.test option.EvalFile=/home/user/nn-ad9b42354671.nnue option."Use NNUE=true" \
                -ratinginterval 1 -each tc=10.0+0.1 proto=uci option.Threads=1 -pgnout result.pgn

The book UHO_XXL_+0.90_+1.19.edp can be downloaded from the books repo. The EvalFile is specific to the binary, can be downloaded from the network server, and must be specified with the full path. Look at ./cutechess-cli --help for more options.