unfortunately it does not help
Winboard simply does not tell the Movei about the opening position
and when it tell it new movei starts a new game in standard chess.
Note that even if movei gets a fen and later get new movei is going to assume that new is for normal chess but movei simply never gets a fen.
Here is the code that I have in movei to respond to the winboard command(old code is commented out)
- Code: Select all
char c='"';
Print("feature setboard=1 draw=0 analyze=1 ping=1 variants=");
Print("%c",c);
Print("normal,fischerandom");
Print("%c",c);
Print(" done=1\n");
// Print("feature setboard=1 draw=0 analyze=1 ping=1 done=1\n");
1)Here is winboard.debug
recognized 'fischerandom' (-1) as variant fischerandom
WinBoard 4.2.7 + movei
Reset(1, 0) from gameMode 0
recognized 'fischerandom' (-1) as variant fischerandom
GameEnds(0, (null), 2)
StartChildProcess (dir="") movei
515 >first : xboard
protover 2
531 <first : 5-men endgame table bases found, 10.289 MB used for decompression tables
531 <first : Using 8.000 MB cache for TBs
531 <first :
531 <first : for perft on epd file you need to print perftepd and after it space andthe following list of 4 variables with spaces between themThe varaibles are the depth and the name of the input filethe name of the outfile and the frequency that you get input
531 <first : the frequency needs to be some number 2^n-1for example 2^13-1=8191 means that you see output every 8192 positionsthe output is both in the screen and in the output filewaiting for xboard command
531 <first :
531 <first : feature setboard=1 draw=0 analyze=1 ping=1 variants="normal,fischerandom" done=1
531 >first : accepted setboard
531 >first : accepted draw
531 >first : accepted analyze
531 >first : accepted ping
531 >first : accepted variants
531 >first : accepted done
531 <first : Error (unknown command): accepted
531 <first : Error (unknown command): accepted
531 <first : Error (unknown command): accepted
531 <first : Error (unknown command): accepted
531 <first : Error (unknown command): accepted
531 <first : Error (unknown command): accepted
546 >first : new
random
546 >first : variant fischerandom
546 >first : level 40 5 0
546 >first : post
546 >first : hard
546 >first : ping 1
546 <first : Error (unknown command): random
546 <first : pong 1
2)logfile of movei show that winboard never sent movei
the setboard command to give it fen
Here is the logfile of movei
no problem in allocating hash evaluation tablesno problem in allocating hash tablesstarting user inputinput varaibles were startedstarting loop winboard commandsgot message maybe xboard commandonly to log main lines 1082-1083 got winboard command xboard
xboard commandonly to log main lines 1082-1083 got winboard command protover
feature setboard=1 draw=0 analyze=1 ping=1 variants="normal,fischerandom" done=1
only to log main lines 1082-1083 got winboard command accepted
Error (unknown command): accepted
only to log main lines 1082-1083 got winboard command accepted
Error (unknown command): accepted
only to log main lines 1082-1083 got winboard command accepted
Error (unknown command): accepted
only to log main lines 1082-1083 got winboard command accepted
Error (unknown command): accepted
only to log main lines 1082-1083 got winboard command accepted
Error (unknown command): accepted
only to log main lines 1082-1083 got winboard command accepted
Error (unknown command): accepted
only to log main lines 1082-1083 got winboard command new
0 only to log main lines 1082-1083 got winboard command random
Error (unknown command): random
only to log main lines 1082-1083 got winboard command variant
only to log main lines 1082-1083 got winboard command level
one time control 40 moves to 300 seconds
only to log main lines 1082-1083 got winboard command post
only to log main lines 1082-1083 got winboard command hard
only to log main lines 1082-1083 got winboard command ping
pong 1