Page 1 of 1

xboard and match

PostPosted: 19 Jan 2012, 23:07
by geko
This command plays a match with 2 rounds:

Code: Select all
xboard -fcp "engine1" -scp "engine2" -loadPositionFile "file.epd" -loadPositionIndex "0" -exit -xexit -size Tiny  -autoSaveGames true -autosave  -coords -saveGameFile "output.pgn" -repeatsToDraw 3 -tc 1:0 -materialDraws false -trivialDraws false -matchGames 2 -inc 0


usually the output has 2 rounds
but in case of error like:
Code: Select all
{Xboard adjudication: Checkmate} 1-0
{Error: first chess program (engine1) exited unexpectedly but bare king} 1/2-1/2


in output file there is only round 1

how could it play round 2 too?

best regards
g.

Re: xboard and match

PostPosted: 20 Jan 2012, 07:51
by Volker Pittlik
geko wrote:...
{Error: first chess program (engine1) exited unexpectedly but bare king} 1/2-1/2 [/code]

...

how could it play round 2 too?


It seems to be a problem with engine1 which exited.

vp

Re: xboard and match

PostPosted: 20 Jan 2012, 08:55
by H.G.Muller
geko wrote:how could it play round 2 too?


Use an engine that does not crash after the first round. Or use the extra option -xreuse2, to prevent using the engine for a second game, but start a new one.