CETSA 2021.05.24:
https://app.box.com/s/wl5uu6nvmnw52g4ehztkxy3j652ob795
The following (very) short description assumes that you have already installed Termux and you are aware with basic linux stuff.
Download CETSA (Chess Engine Tournament Script for Android), start Termux and copy the tar archive to the home directory (change the command line for your needs).
Code: Select all
cp /storage/emulated/0/Download/cetsa_2021.05.24.tar.gz ./
Code: Select all
tar -xf ./cetsa_2021.05.24.tar.gz
Code: Select all
cd ./cetsa
./start.sh
Now you can prepare and start a tournament in three simple steps now.
1. Copy the engines you want to test to /storage/emulated/0/CETSA/uci.
2. Edit /storage/emulated/0/CETSA/etc/c-chess-cli.conf (the parameters for c-chess-cli) and make the necessary changes.
Code: Select all
../bin/c-chess-cli/$CETSA_ABI/c-chess-cli -each \
tc=10+0.1 \
option.Hash=16 \
option.Threads=1 \
-engine cmd=../uci/Ethereal \
-engine cmd=../uci/Fire \
-games 1 \
-concurrency 1 \
-openings file=../epd/IM_4mvs.epd order=random \
-repeat \
-resign number=100 count=5 score=900 \
-draw number=100 count=5 score=5 \
-pgn games.pgn 1
3. Start tournament.
Code: Select all
./start.sh
There are three environment variables used in the script. With CETSA_ABI you define, what device you are using (only necessary for finding the right executables for c-chess-cli and Bayeselo). With CETSA_HOME you define where the output files will be copied outside of Termux. This is optional and can be disabled (by disabling the CETSA_HOME environment variable). If CETSA_HOME is disabled, all things happens in Termux only. At least there is an environment variable called CETSA_SYNC. If activated (true) all the directories in the CETSA_HOME directory will be synchronized with the same folder in Termux. If disabled (false) all files in the directories will only be copied to the same folder in Termux (older files will not be deleted).
The cetsa directory on Termux contains the following directories:
bin: Contains the executables for c-chess-cli and Bayeselo.
epd: Contains the opening files used by c-chess-cli.
etc: Contains the configuration files for Bayeselo and c-chess-cli.
log: Contains the output files (rating, games and log files).
uci: Contains the chess engines.
Again, to prepare and start a tournament you only need three simple steps.
1. Copy engines to /storage/emulated/0/CETSA/uci.
2. Edit /storage/emulated/0/CETSA/etc/c-chess-cli.conf.
3. Start tournament.
Preparation of a tournament can completely done outside of Termux with your favorite Android tools (die to the presence of the CETSA_HOME directory). The only thing you have to do in Termux is, starting the tournament.