@echo off

rem del /q *.err
rem del /q *.log
rem del /q *.pgn

call rm -f *.err
call rm -f *.log
call rm -f *.pgn

set cutechess=%~d0\applications\echecs\cutechess-cli\cutechess-cli_x86.exe
set tee=%~d0\applications\coreutils\bin\tee.exe

%cutechess% -version > cutechess-version.txt

%cutechess% ^
-rounds 4 ^
-engine name="Alouette 0.1.7 32-bit" cmd=alouette32.exe dir=. proto=uci stderr=alouette017.err ^
-engine name="Alouette 0.1.7 32-bit [-r]" cmd=alouette32.exe arg=-r dir=.\random proto=uci stderr=alouette017r.err ^
-engine name="Alouette 0.1.6 32-bit" cmd=alouette32.exe dir=%~d0\applications\echecs\moteurs\alouette\016 proto=uci stderr=alouette016.err ^
-engine name="Monchester 1.0.1" cmd=monchester.exe dir=%~d0\echecs\sources\monchester-1.0.1 proto=xboard ^
-engine name="NEG 0.3" cmd=Wb2Uci.exe dir=%~d0\applications\echecs\moteurs\neg\03 proto=uci ^
-engine name="Sachy 0.2.04" cmd=sachy.exe dir=.\sachy0204 proto=xboard ^
-pgnout %~dpn0.pgn ^
-each tc=40/60 ^
-openings file=book\gaviota-starters.pgn order=random plies=4 ^
-wait 500 2>> %~dpn0.err | %tee% %~dpn0.log

exit /b

-debug ^
-tournament gauntlet ^
-variant fischerandom ^
-debug ^
-recover ^

-engine name="Arasan 21.2" cmd=arasanx-32.exe dir=%~d0\applications\echecs\moteurs\arasan\212 proto=uci ^
-engine name="BeRoChess 1.00.2012.04.10.0112" cmd=BeRoChess32.exe dir=%~d0\applications\echecs\moteurs\berochess proto=uci ^
-engine name="Chenard 2018.03.06" cmd=xchenard.exe dir=%~d0\applications\echecs\moteurs\chenard proto=xboard ^
-engine name="CT800 1.34" cmd=CT800_V1.34_x32.exe dir=%~d0\applications\echecs\moteurs\ct800\134\binaries\Windows proto=uci ^
-engine name="Cinnamon 2.2" cmd=cinnamon_2.2a_x32-modern.exe dir=%~d0\applications\echecs\moteurs\cinnamon\22 proto=uci ^
-engine name="Hopeless 0.49.04" cmd=hopeless.exe dir=%~d0\pascal\echecs\hopeless proto=xboard ^
-engine name="Iota 1.0" cmd=iota-10-32-tcc-ja.exe dir=%~d0\applications\echecs\moteurs\iota\ja\Windows\32 proto=uci ^
-engine name="NEG 0.3" cmd=neg03d.exe dir=%~d0\applications\echecs\moteurs\neg\03 proto=xboard ^
-engine name="Ram 2.0" cmd=ram.exe dir=%~d0\applications\echecs\moteurs\ram proto=xboard ^
-engine name="Ram 2.0" cmd=Wb2Uci.exe dir=%~d0\applications\echecs\moteurs\ram proto=uci ^
-engine name="SMIRF BC-180e" cmd=Smirfoglot.exe dir=%~d0\applications\echecs\moteurs\smirf proto=xboard ^
-engine name="Zoe" cmd=zoe.exe dir=%~d0\echecs\sources\zoe proto=xboard ^

