Page 1 of 1

Winboard with saving Human times in pgn? @HGM

Posted: Sat Jan 05, 2019 11:07 am
by Guenther
While playing a few handicap games and others vs. SF 9/10 I noticed again that WB does not save
the thinking time for the Human player in the pgn file.

After a little research I remembered that I had already asked about it in 2014 ;-) and HGM said he
believes it probably never did. IIRC he was right and I used a tool from George Lyapko in the past
which retrieved all infos from the debug and constructed a pgn of it and I guess it still worked
in 2014, because I didn't ask further. (King Of The Hill thread)

I had it still running here with DOS-Box (it could not run anymore after I migrated to Win7).
After trying it out again now, it seems the output for the Human player has changed and LGDEBHUM
chokes on the Human moves, while it still has no problem parsing the engine output, despite
UCI2WB logging was on.

The WB debug now always echoes the debug time after usermove, which seems to be the culprit.

Code: Select all

3420 >first : name Guenther Simon
nps: w=-1, b=-1
3420 >first : time 48000
3420 >first : otim 48000
book hit = (NULL)
3420 >first : usermove 3420 >first : e2e4
3450 <first : # queue 'name', searching=0
3450 <first : # command name
3450 <first : # start search
3450 <first : # position startpos moves e2e4
3450 <first : # go btime 480000 wtime 480000 movestogo 40
3450 <first : # engine said: info string Found 145 tablebases
3450 <first : 0 0 0 0 Found 145 tablebases
3450 <first : # engine said: info depth 1 seldepth 1 multipv 1 score cp 34 nodes 114 nps 57000 tbhits 0 time 2 pv d7d5
3450 <first :   1      34      0        114 d7d5
...
22862 <first : # engine said: info depth 24 seldepth 35 multipv 1 score cp -12 nodes 23231766 nps 1194926 hashfull 338 tbhits 0 time 19442 pv c7c5 g1f3 d7d6 d2d4 c5d4 f3d4 g8f6 b1c3 b8c6 f1b5 c8d7 e1g1 e7e5 d4c6 b7c6 b5c4 f8e7 d1d3 e8g8 b2b3 h7h6 f1d1 a8b8 c1a3 d8a5 a3b2 f6h5 h2h3 h5f4 d3f3
22862 <first :  24     -12   1944   23231766 c7c5 g1f3 d7d6 d2d4 c5d4 f3d4 g8f6 b1c3 b8c6 f1b5 c8d7 e1g1 e7e5 d4c6 b7c6 b5c4 f8e7 d1d3 e8g8 b2b3 h7h6 f1d1 a8b8 c1a3 d8a5 a3b2 f6h5 h2h3 h5f4 d3f3
22862 <first : # engine said: bestmove c7c5 ponder g1f3
22872 <first : move c7c5
silence
22872 <first : 
22872 <first : Hint: g1f3
27672 >first : time 46054
27672 >first : otim 47520
book hit = (NULL)
27672 >first : usermove 27672 >first : b1c3
27692 <first : # start search
27692 <first : # position startpos moves e2e4 c7c5 b1c3

Code: Select all

[Event "?"]
[Site "?"]
[Date "2019.01.05"]
[Round "1"]
[White "Guenther Simon"]
[Black "UCI2WB Stockfish_10-64 C:\Engines\UCI\Stockfish_10-64"]
[Result "0-1"]
[TimeControl "40/480"]

1. otim{Invalid!!}{0.00s} usermove{0.00s} 2. c7c5{-0.12/24 19.45s 23231766n} 
otim{4.80s} 3. usermove{4.80s} d7d6{-0.06/22 7.21s 8826355n} 4. otim{1.06s} 
usermove{1.06s} 5. g7g6{+0.34/23 6.72s 8251303n} otim{0.98s} 6. usermove{0.98s} 
f8g7{+0.44/22 4.41s 5400527n} 7. otim{0.95s} usermove{0.95s} 8. b8c6
{+0.19/25 20.23s 24924417n} otim{1.03s} 9. usermove{1.03s} e7e6
{+0.08/24 18.96s 23445971n} 10. otim{0.60s} usermove{0.60s} 11. g8e7
{+0.12/23 8.69s 10963662n} otim{1.02s} 12. usermove{1.02s} e8g8
{+0.68/18 3.11s 3981351n} 13. otim{4.81s} usermove{4.81s} 14. c6d4
{+0.61/20 5.53s 7070959n} otim{1.02s} 15. usermove{1.02s} a8b8
{+0.41/22 28.79s 36809126n} 16. otim{0.88s} usermove{0.88s} 17. b7b6
{+0.52/21 3.66s 4581776n} otim{0.79s} 18. usermove{0.79s} d4e2
{+0.55/21 6.47s 8184964n} 19. otim{0.43s} usermove{0.43s} 20. c8a6
{+0.39/24 32.07s 39964563n} otim{15.39s} 21. usermove{15.39s} b8c8
{+0.48/22 6.02s 7520124n} 22. otim{2.78s} usermove{2.78s} 23. d6d5
{+0.50/21 12.80s 16135724n} otim{20.99s} 24. usermove{20.99s} h7h5
{+0.43/26 16.80s 21733470n} 25. otim{17.53s} usermove{17.53s} 26. e7f5
{+0.48/23 4.21s 5532340n} otim{26.53s} 27. usermove{26.53s} f8e8
{+0.64/22 16.00s 20433179n} 28. otim{20.31s} usermove{20.31s} 29. d8d7
{+0.77/22 8.97s 11538143n} otim{3.48s} 30. usermove{3.48s} b6b5
{+0.78/20 3.74s 4907500n} 31. otim{12.39s} usermove{12.39s} 32. g7f8
{+1.22/22 9.04s 12128624n} otim{3.90s} 33. usermove{3.90s} e6f5
{+1.45/23 2.85s 3981789n} 34. otim{22.21s} usermove{22.21s} 35. c5d4
{+1.36/26 12.35s 17123542n} otim{0.66s} 36. usermove{0.66s} b5b4
{+1.29/27 10.24s 14099144n} 37. otim{5.22s} usermove{5.22s} 38. d7b5
{+2.00/21 4.05s 5793496n} otim{19.74s} 39. usermove{19.74s} c8c1
{+2.37/24 4.75s 7103903n} 40. otim{1.45s} usermove{1.45s} 41. e8c8
{+2.56/24 4.56s 6883323n} otim{1.99s} 42. usermove{2.00s} a6c8
{+2.73/23 7.39s 11473202n} 43. otim{0.63s} usermove{0.63s} 44. h5g4
{+3.99/24 9.81s 14948497n} otim{1.14s} 45. usermove{1.14s} b5a5
{+4.51/23 4.61s 7241167n} 46. otim{1.71s} usermove{1.71s} 47. c8f5
{+4.99/25 6.29s 9488551n} otim{3.81s} 48. usermove{3.81s} f5g4
{+8.28/25 17.50s 30944115n} 49. otim{0.93s} usermove{0.93s} 50. a5a1
{+8.48/23 7.94s 15174399n} otim{1.64s} 51. usermove{1.64s} a1b2
{+8.74/26 7.24s 13609933n} 52. otim{0.91s} usermove{0.91s} 53. b2b3
{+10.17/25 9.60s 18010511n} otim{3.92s} 54. usermove{3.92s} b3c4
{+11.28/27 9.24s 17734078n} 55. otim{1.91s} usermove{1.91s} 56. b4b3
{+62.76/25 8.76s 18987612n} otim{0.58s} 57. usermove{0.58s} b3b2
{+1000.21/32 13.05s 28741090n} 58. otim{0.66s} usermove{0.66s} 59. b2b1q
{+1000.06/68 14.93s 30763036n} otim{0.64s} 60. usermove{0.64s} 
0-1 {White resigns}