hgm wrote:Guenther wrote:BTW does this UCI2WB allow analysing too? I am asking because I wanted to analyse a few crazyhouse opening test games at a certain stage with SF8ZH, but I noticed it does not work correctly.
I don't know though if the problem lies in SF8ZH or WB2UCI or even both?
The symptom is that it starts to analyse but sticks to the first choosen position and doesn't react when stepping through a game.
(Sometimes it even says again it doesn't support crazyhouse and the board reverts to normal chess)
I do not notice any problems with the latest versions of engine + adapter in this respect. It should even be possible to exclude moves from analysis (at least if Stockfish supports the 'searchmoves' command).
There was a problem earlier in connection with setting up positions (so not related to analysis per se), but this has been solved in this version of UCI2WB.
I never saw what you describe here. It suggests the engine does not respond to the UCI 'stop' command, or that the adapter stopped listening to the GUI entirely.
Well I guess you mean the newer engine Andreas compiled and also probably a newer xboard instead of my WB 4.80b?
I used the Fishnet 021116 binary from
https://github.com/niklasf/Stockfish/releases
This is what I get:
1. started WB with debug and SF8ZH (selected 1st and 2nd BTW)
2. loaded a game file with ZH games
3. selected a game
4. started analyze mode
5. stepped further in the game
6. it does not react
7. WB cannot be quit normally - does not react to quit
8. SF8ZH hangs
(I have cut loading and parsing games from the file)
Code: Select all
recognized 'crazyhouse' (-1) as variant crazyhouse
recognized 'crazyhouse' (-1) as variant crazyhouse
shuffleOpenings = 0
Version: WinBoard 4.8.0b + StockfishZH_8-64
Reset(1, 0) from gameMode 0
recognized 'crazyhouse' (-1) as variant crazyhouse
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir=".") UCI2WB -crazyhouse StockfishZH_8-64.exe C:\Engines\Crazyhouse\StockfishZH_8-64
nice engine proc to 10
663 >first : xboard
protover 2
689 <first : feature variants="normal,xiangqi" setboard=1 usermove=1 debug=1 ping=1 reuse=0 exclude=1 pause=1 sigint=0 sigterm=0 done=0
692 >first : accepted variants
692 >first : accepted setboard
692 >first : accepted usermove
692 >first : accepted debug
692 >first : accepted ping
692 >first : accepted reuse
692 >first : accepted exclude
693 >first : accepted pause
693 >first : accepted sigint
693 >first : accepted sigterm
693 >first : accepted done
693 <first : feature option="UCI2WB debug output -check 0"
693 >first : accepted option
693 <first : feature myname="Stockfish 8 64 (UCI2WB)"
694 >first : accepted myname
694 <first : feature option="Debug Log File -string "
694 >first : accepted option
694 <first : feature option="Contempt -spin 0 -100 100"
695 >first : accepted option
695 <first : feature option="Clear Hash -button"
695 >first : accepted option
695 <first : feature option="MultiPV -spin 1 1 500"
695 >first : accepted option
695 <first : feature option="Skill Level -spin 20 0 20"
695 >first : accepted option
696 <first : feature option="Move Overhead -spin 30 0 5000"
696 >first : accepted option
696 <first : feature option="Minimum Thinking Time -spin 20 0 5000"
696 >first : accepted option
696 <first : feature option="Slow Mover -spin 89 10 1000"
697 >first : accepted option
697 <first : feature option="nodestime -spin 0 0 10000"
697 >first : accepted option
697 <first : feature option="SyzygyPath -string <empty>"
697 >first : accepted option
697 <first : feature option="SyzygyProbeDepth -spin 1 1 100"
698 >first : accepted option
698 <first : feature option="Syzygy50MoveRule -check 1"
698 >first : accepted option
698 <first : feature option="SyzygyProbeLimit -spin 6 0 6"
698 >first : accepted option
698 <first : feature oocastle=0
699 >first : accepted oocastle
699 <first : feature variants="normal,atomic,giveaway,crazyhouse,horde,kingofthehill,racingkings,relay,3check,normal,fischerandom"
699 >first : accepted variants
699 <first : feature smp=1 memory=1 done=1
699 >first : accepted smp
700 >first : accepted memory
700 >first : accepted done
714 >first : memory 288
714 >first : cores 1
714 >first : new
random
714 >first : variant crazyhouse
714 >first : level 40 6 0
714 >first : post
714 >first : hard
714 >first : easy
715 >first : ping 1
Impossible move , type = 0
718 <first : pong 1
recognized 'crazyhouse' (-1) as variant crazyhouse
...
Parsed game number 1, offset 0:
...
20017 >first : memory 288
20018 >first : cores 1
20018 >first : new
random
20018 >first : variant crazyhouse
20018 >first : level 40 6 0
20018 >first : post
20018 >first : hard
20018 >first : easy
20018 >first : ping 2
Impossible move _1d18, type = 0
20020 >first : force
Parsed d3 into d2d3
Parsed Nf6 into g8f6
Parsed Nf3 into g1f3
Parsed Comment: {+0.08/14}
Append: in='{+0.08/14}' 0
Parsed d5 into d7d5
Parsed Comment: {+0.09/15 4:04}
Append: in='{+0.09/15 4:04}' 0
Parsed Nc3 into b1c3
Parsed Comment: {+0.59/15 16}
Append: in='{+0.59/15 16}' 0
Parsed e6 into e7e6
Parsed Comment: {+0.22/14 1.1}
Append: in='{+0.22/14 1.1}' 0
Parsed Bf4 into c1f4
Parsed Comment: {+0.45/13 15}
Append: in='{+0.45/13 15}' 0
Parsed Bd6 into f8d6
Parsed Comment: {+0.26/16 7}
Append: in='{+0.26/16 7}' 0
Parsed Bxd6 into f4d6
Parsed Comment: {+0.35/13 16}
Append: in='{+0.35/13 16}' 0
Parsed cxd6 into c7d6
Parsed Comment: {+0.47/16 1.3}
Append: in='{+0.47/16 1.3}' 0
Parsed Qd2 into d1d2
Parsed Comment: {+0.56/12 7}
Append: in='{+0.56/12 7}' 0
Parsed Nc6 into b8c6
Parsed Comment: {+0.27/16 5}
Append: in='{+0.27/16 5}' 0
Parsed Nb5 into c3b5
Parsed Comment: {+0.57/12 13}
Append: in='{+0.57/12 13}' 0
LegalDrop: 46 @ 6,6)
LegalDrop: 46 @ 6,6)
Parsed B@e7 into B@e7
Parsed Comment: {+0.94/16 7}
Append: in='{+0.94/16 7}' 0
Parsed h3 into h2h3
Parsed Comment: {+0.65/12 14}
Append: in='{+0.65/12 14}' 0
(1-type) castling 6 8
Parsed O-O into e8g8
Parsed Comment: {+1.48/15 1.8}
Append: in='{+1.48/15 1.8}' 0
Parsed Rc1 into a1c1
Parsed Comment: {+0.52/12 11}
Append: in='{+0.52/12 11}' 0
Parsed e5 into e6e5
Parsed Comment: {+1.66/15 4}
Append: in='{+1.66/15 4}' 0
Parsed c3 into c2c3
Parsed Comment: {+0.26/11 8}
Append: in='{+0.26/11 8}' 0
Parsed Bf5 into c8f5
Parsed Comment: {+1.55/15 8}
Append: in='{+1.55/15 8}' 0
LegalDrop: 2 @ 8,4)
LegalDrop: 2 @ 8,4)
Parsed B@g5 into B@g5
Parsed Comment: {+0.30/11 12}
Append: in='{+0.30/11 12}' 0
Parsed a6 into a7a6
Parsed Comment: {+1.58/16 6}
Append: in='{+1.58/16 6}' 0
Parsed Na3 into b5a3
Parsed Comment: {+0.14/12 12}
Append: in='{+0.14/12 12}' 0
Parsed Be6 into f5e6
Parsed Comment: {+1.39/14 3}
Append: in='{+1.39/14 3}' 0
Parsed Be3 into g5e3
Parsed Comment: {+0.60/12 11}
Append: in='{+0.60/12 11}' 0
Parsed Nd7 into f6d7
Parsed Comment: {+1.66/13 1.5}
Append: in='{+1.66/13 1.5}' 0
Parsed h4 into h3h4
Parsed Comment: {+0.22/13 11}
Append: in='{+0.22/13 11}' 0
Parsed Nf6 into d7f6
Parsed Comment: {+1.97/14 1.7}
Append: in='{+1.97/14 1.7}' 0
Parsed h5 into h4h5
Parsed Comment: {+2.15/13 6}
Append: in='{+2.15/13 6}' 0
Parsed Ng4 into f6g4
Parsed Comment: {+2.93/15 1.4}
Append: in='{+2.93/15 1.4}' 0
Parsed h6 into h5h6
Parsed Comment: {+0.26/12 10}
Append: in='{+0.26/12 10}' 0
Parsed gxh6 into g7h6
Parsed Comment: {+2.70/15 3}
Append: in='{+2.70/15 3}' 0
Parsed Bxh6 into e3h6
Parsed Comment: {-0.25/12 9}
Append: in='{-0.25/12 9}' 0
LegalDrop: 44 @ 8,6)
LegalDrop: 44 @ 8,6)
Parsed P@g7 into P@g7
Parsed Comment: {+3.08/14 1.6}
Append: in='{+3.08/14 1.6}' 0
Parsed Bxg7 into h6g7
Parsed Comment: {-1.12/11 9}
Append: in='{-1.12/11 9}' 0
Parsed Kxg7 into g8g7
Parsed Comment: {+3.51/14 1.4}
Append: in='{+3.51/14 1.4}' 0
Parsed e3 into e2e3
Parsed Comment: {-1.51/10 8}
Append: in='{-1.51/10 8}' 0
LegalDrop: 46 @ 8,5)
LegalDrop: 46 @ 8,5)
Parsed B@g6 into B@g6
Parsed Comment: {+3.61/14 5}
Append: in='{+3.61/14 5}' 0
LegalDrop: 0 @ 9,4)
LegalDrop: 0 @ 9,4)
Parsed P@h5 into P@h5
Parsed Comment: {+0.58/11 8}
Append: in='{+0.58/11 8}' 0
Parsed Bxd3 into g6d3
Parsed Comment: {+3.28/14 5}
Append: in='{+3.28/14 5}' 0
Parsed Bxd3 into f1d3
Parsed Comment: {+0.84/11 8}
Append: in='{+0.84/11 8}' 0
Parsed game end: {Xboard adjudication: long game} 1/2
GameEnds(28, Xboard adjudication: long game, 3)
20155 >first : quit
LoadGame(): on exit, gameMode 7
ForwardInner(1), current 0, forward 41
PauseEvent(): pausing 0
ForwardInner(2), current 1, forward 41
ForwardInner(3), current 2, forward 41
StartChildProcess (dir=".") UCI2WB -crazyhouse StockfishZH_8-64.exe C:\Engines\Crazyhouse\StockfishZH_8-64
nice engine proc to 10
41811 >first : xboard
protover 2
41811 >first : option UCI2WB debug output=0
41811 >first : option Debug Log File=
41811 >first : option Contempt=0
41811 >first : option MultiPV=1
41812 >first : option Skill Level=20
41812 >first : option Move Overhead=30
41812 >first : option Minimum Thinking Time=20
41812 >first : option Slow Mover=89
41812 >first : option nodestime=0
41812 >first : option SyzygyPath=<empty>
41812 >first : option SyzygyProbeDepth=1
41813 >first : option Syzygy50MoveRule=1
41813 >first : option SyzygyProbeLimit=6
41813 >first : memory 288
41813 >first : cores 1
41813 >first : new
random
41813 >first : variant crazyhouse
41813 >first : level 40 6 0
41814 >first : post
41814 >first : hard
41814 >first : easy
41814 >first : ping 3
Impossible move f1d3, type = 0
Feeding moves 0 through 3 to first chess program
41815 >first : force
41816 >first : usermove 41816 >first : d2d3
41816 >first : usermove 41816 >first : g8f6
41816 >first : usermove 41816 >first : g1f3
41816 >first : analyze
Impossible move f1d3, type = 0
41820 <first : feature variants="normal,xiangqi" setboard=1 usermove=1 debug=1 ping=1 reuse=0 exclude=1 pause=1 sigint=0 sigterm=0 done=0
41821 >first : accepted variants
41821 >first : accepted setboard
41821 >first : accepted usermove
41821 >first : accepted debug
41822 >first : accepted ping
41822 >first : accepted reuse
41822 >first : accepted exclude
41822 >first : accepted pause
41822 >first : accepted sigint
41822 >first : accepted sigterm
41822 >first : accepted done
41822 <first : feature option="UCI2WB debug output -check 0"
41823 >first : accepted option
41823 <first : feature myname="Stockfish 8 64 (UCI2WB)"
41823 >first : accepted myname
41824 <first : feature option="Debug Log File -string "
41824 >first : accepted option
41824 <first : feature option="Contempt -spin 0 -100 100"
41824 >first : accepted option
41824 <first : feature option="Clear Hash -button"
41824 >first : accepted option
41825 <first : feature option="MultiPV -spin 1 1 500"
41825 >first : accepted option
41825 <first : feature option="Skill Level -spin 20 0 20"
41825 >first : accepted option
41825 <first : feature option="Move Overhead -spin 30 0 5000"
41825 >first : accepted option
41826 <first : feature option="Minimum Thinking Time -spin 20 0 5000"
41826 >first : accepted option
41826 <first : feature option="Slow Mover -spin 89 10 1000"
41826 >first : accepted option
41826 <first : feature option="nodestime -spin 0 0 10000"
41826 >first : accepted option
41827 <first : feature option="SyzygyPath -string <empty>"
41827 >first : accepted option
41827 <first : feature option="SyzygyProbeDepth -spin 1 1 100"
41827 >first : accepted option
41827 <first : feature option="Syzygy50MoveRule -check 1"
41827 >first : accepted option
41828 <first : feature option="SyzygyProbeLimit -spin 6 0 6"
41828 >first : accepted option
41828 <first : feature oocastle=0
41828 >first : accepted oocastle
41828 <first : feature variants="normal,atomic,giveaway,crazyhouse,horde,kingofthehill,racingkings,relay,3check,normal,fischerandom"
41829 >first : accepted variants
41829 <first : feature smp=1 memory=1 done=1
41829 >first : accepted smp
41829 >first : accepted memory
41829 >first : accepted done
41829 <first : pong 3
42014 <first : 0 0 0 0 variant crazyhouse startpos rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[] w KQkq - 0 1
Impossible move f1d3, type = 36
42017 <first : 0 0 0 0 variant crazyhouse startpos rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[] w KQkq - 0 1
Impossible move f1d3, type = 36
42019 <first : 1 -2 0 22 d7d5
42020 <first : 2 -7 0 56 d7d5 c2c3
42020 <first : 3 24 0 150 e7e6 c2c3 d7d5
42021 <first : 4 14 0 452 b8c6 c1e3 d7d5 c2c3
42023 <first : 5 64 0 980 b8c6 d3d4 d7d5 c2c3 e7e6
42024 <first : 6 31 0 2236 d7d5 f3e5 b8c6 e5c6 b7c6 b1c3
42025 <first : 7 22 1 5184 b8c6 e2e4 e7e5 c2c3 f8e7 h2h3 d7d6
42035 <first : 8 11 2 11353 b8c6 c2c4 e7e5 e2e4 f8c5 b1c3 d7d6 d1a4
42072 <first : 9 10 5 32216 b8c6 e2e4 e7e5 c2c3 f8e7 f1e2 d7d6 c1g5 e8g8
42209 <first : 10 3 19 112110 d7d5 d3d4 c7c6 e2e3 c8f5 f1d3 e7e6 e1g1 f5d3 d1d3 f8d6
42359 <first : 11 15 34 198782 d7d5 d3d4 b8c6 e2e3 c8g4 f1b5 a7a6 b5e2 e7e6 e1g1 f8d6 h2h3 g4f5
42497 <first : 12 12 48 277692 d7d5 d3d4 f6e4 e2e3 e7e6 c2c3 f8d6 d1c2 e8g8 f1d3 f7f5 e1g1 b8c6 d3b5 g8h8
43522 <first : 13 1 150 867064 d7d5 e2e3 e7e6 d3d4 f8e7 b1c3 e8g8 f1e2 b8d7 e1g1 c7c6 c1d2 e7d6 e2d3
43818 >first : .
43818 <first : stat01: 150 867064 13 100 100
43970 <first : 14 4 195 1127941 d7d5 e2e3 e7e6 d3d4 f8e7 b1c3 e8g8 f1e2 b8d7 e1g1 c7c5 d4c5 e7c5 P@g5 f6h5
45160 <first : 15 27 314 1822530 d7d5
45255 <first : 15 14 324 1878354 d7d5 e2e3
45830 >first : .
45830 <first : stat01: 324 1878354 15 100 100
45855 <first : 15 31 384 2248215 d7d5
46209 <first : 15 8 419 2467658 d7d5 e2e3
46550 <first : 15 9 453 2682847 d7d5 e2e3 e7e6 d3d4 f8d6 b1c3 e8g8 f1d3 a7a6 c1d2 b8c6 e1g1 c6b4 d3e2 b4c6 a2a3 c8d7
47263 <first : 16 2 525 3112990 d7d5 e2e3
47645 <first : 16 9 563 3346448 d7d5
47836 <first : 16 20 582 3463971 d7d5
47843 >first : .
47843 <first : stat01: 582 3463971 16 100 100
48145 <first : 16 11 613 3654120 d7d5 e2e3
48626 <first : 16 23 661 3951515 d7d5
ForwardInner(4), current 3, forward 41
48734 >first : usermove 48735 >first : d7d5
49396 <first : 16 15 738 4434199 d7d5 e2e3 e7e6 d3d4 f8d6 f1d3 e8g8 e1g1 b8d7 b1c3 b7b6 c1d2 a7a6 d1b1 c8b7 b1d1 h7h6 h2h3
49855 >first : .
49870 <first : 17 8 785 4713670 d7d5 e2e3
50174 <first : 17 15 816 4901145 d7d5
50299 <first : 17 9 828 4973776 d7d5 e2e3 e7e6 d3d4 f8d6 f1d3 e8g8 e1g1 b8d7 b1c3 a7a6 a2a3 b7b6 f3g5 c8b7 b2b4 g8h8 g5f7 f8f7 P@e5
ForwardInner(5), current 4, forward 41
50718 >first : usermove 50718 >first : b1c3
50894 <first : 18 16 888 5336192 d7d5
51545 <first : 18 17 953 5726806 d7d5 e2e3 e7e6 d3d4 f8d6 f1d3 e8g8 e1g1 b8d7 b1c3 a7a6 a2a3 c7c5 d4c5 d7c5 P@e5 P@e4 e5f6 g7f6 N@h6 g8g7
51868 >first : .
52931 <first : 19 24 1091 6577569 d7d5
53880 >first : .
ForwardInner(6), current 5, forward 41
54230 >first : usermove 54230 >first : e7e6
54721 <first : 19 17 1270 7658291 d7d5 e2e3
ForwardInner(7), current 6, forward 41
55206 >first : usermove 55207 >first : c1f4
ForwardInner(8), current 7, forward 41
55622 >first : usermove 55622 >first : f8d6
55788 <first : 19 24 1377 8316566 d7d5
55893 >first : .
ForwardInner(9), current 8, forward 41
56006 >first : usermove 56006 >first : f4d6
56477 <first : 19 15 1446 8727468 d7d5 e2e3
ForwardInner(10), current 9, forward 41
57379 >first : usermove 57379 >first : c7d6
ForwardInner(11), current 10, forward 41
57587 >first : usermove 57587 >first : d1d2
ForwardInner(12), current 11, forward 41
57771 >first : usermove 57771 >first : b8c6
57905 >first : .
ForwardInner(13), current 12, forward 41
57955 >first : usermove 57955 >first : c3b5
ForwardInner(14), current 13, forward 41
58139 >first : usermove 58139 >first : B@e7
ForwardInner(15), current 14, forward 41
58299 >first : usermove 58299 >first : h2h3
...
GameEnds(29, xboard exit, 2)
75005 >first : exit
75105 >first : quit
149623 >second: quit