Just to give an hint, this is a sample of the xml initialization file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<tourney name="blitz" type="round robin">
<!--type: gauntlet/round robin-->
<engines>
<engine name="satana.2.3.18" protocol="xboard" active="true">
<filename>D:\A\LIGS\workspaces\vs\LIGS\exe\x64\Release\Satana.exe</filename>
</engine>
<engine name="neurone" protocol="xboard" active="true">
<filename>D:\Arena\Engines\Neurone_XXIII\Neurone_XXIII.exe</filename>
</engine>
<engine name="satana.2.2.17" protocol="xboard" active="true">
<filename>D:\A\LIGS\workspaces\vs\LIGS\exe\x64\Release\Satana.2.2.17.w64.exe</filename>
</engine>
<engine name="satana.2.1.14" protocol="xboard" active="true">
<filename>D:\A\LIGS\workspaces\vs\LIGS\exe\x64\Release\Satana.2.1.14.w64.exe</filename>
</engine>
<engine name="satana.2.0.8" protocol="xboard" active="true">
<filename>D:\A\LIGS\workspaces\vs\LIGS\exe\x64\Release\Satana.2.0.8.w64.exe</filename>
</engine>
<engine name="raffaela" protocol="xboard" active="false">
<filename>D:\Ligs\Exe\raffaela\Raffaela.exe</filename>
</engine>
<engine name="piranha" protocol="uci" active="true">
<filename>D:\Arena\Engines\Piranha\piranha.exe</filename>
</engine>
</engines>
<options>
<logfolder>C:\Ligs\Satana</logfolder>
<!-- TODO: clock game_moves="0" moves_per_second="0" -->
<clock game_ms="15000" increment_ms="100" />
<rounds>2</rounds>
<threads>4</threads>
<!-- "timeouts" is not used yet -->
<timeouts start="3000" stop="1000" />
</options>
<pgn>
<header>
<!-- overrides pgn header tags -->
<Site>Norcia</Site>
</header>
</pgn>
</tourney>
There are a little "madness": you can start multiple tourney from a single Satana session, just giving the tourney command multiple times in Satana console (even if satana is already working, just type the command and press enter, to start another tourney). You can run different tourney or the same tourney in parallel, in asynchronous way.
To stop tourney mode, just remember that satana is still an xboard engine, so just type "quit" and wait.
As said, this release can run as an engine or as a tourney manager. In effect, it could run in both modes too... but this is over what a normal person would like to do
Warning: tourney mode is still a beta and just a few of the xboard/uci features are implemented.
In xml configuration file you must provide the log folder and this folder must be created manually (choose an empty folder).
Thanks in advance to anybody will give me any hint on how to improve tourney mode.
