Question on pgn time save

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Question on pgn time save

Postby Fermin Serrano » 20 Jan 2012, 10:41

Hello,

When saving a game, WB stores for each move: score, depth and time used for that move. Is there anyway to store total time left in the clock after each move?

thanks
User avatar
Fermin Serrano
 
Posts: 72
Joined: 10 Apr 2008, 18:20
Location: Madrid (Spain)

Re: Question on pgn time save

Postby H.G.Muller » 20 Jan 2012, 17:00

Unfortunately not. I am considering to let WB reconstruct that when loading the game, so you could see it on the WB clocks. Just like you would see it when you step through a game directly after it has been played.

That would also make it easier to resume an adjourned game. (That could also been done by storing the clock times in the 'result details' for an unfinished game, though.)
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Question on pgn time save

Postby Fermin Serrano » 20 Jan 2012, 18:57

H.G.Muller wrote:Unfortunately not. I am considering to let WB reconstruct that when loading the game, so you could see it on the WB clocks. Just like you would see it when you step through a game directly after it has been played.

That would also make it easier to resume an adjourned game. (That could also been done by storing the clock times in the 'result details' for an unfinished game, though.)


That would be a very nice feature....
User avatar
Fermin Serrano
 
Posts: 72
Joined: 10 Apr 2008, 18:20
Location: Madrid (Spain)

Re: Question on pgn time save

Postby Guenther Simon » 21 Jan 2012, 11:31

Fermin Serrano wrote:Hello,

When saving a game, WB stores for each move: score, depth and time used for that move. Is there anyway to store total time left in the clock after each move?

thanks


If you have all debugs still saved there is hope. There is a long time known tool from George Lyapko which processes WB debug files
and gives different possible outputs e.g. score/depth/time/time accumulated/nodes/nodes per time/PV/average depth, all user defined.
The tool is named LGdebpgn and it is called from commandline.

There is one caveat though, the tool is much older than modern WB versions, before Scottis WBX(there was even no score/depth in the pgn
before Scottis' WB!) and I don't know if it is still able to parse current debug files. I have done no tests since HG made several changes
to the debug output.

I agree it would be useful nowadays if HG could add those options to Winboard. (E.g. the accumulated time in the pgn immediately reveals
bad time management! especially in move per session time controls)

Code: Select all
LGDebugToPGN v1.42 by George Lyapko

Usage: LGDEBPGN [-Option] <InFile>or<@BatchFile> [-Option] <OutFile> [-Option]

Options:
mN      - set right margin to N chars
t<1-4>  - show used time info(1=sec, 2=csec, 3=sum in sec, 4=sum in csec)
s       - show score/depth
n       - show nodes count
k       - show speed in Knps
p[c]    - show PV(max.80 chars), pc - try to produce clean SAN pv(slower)

if you want to proceed multiple debug files, create text file with their names
e.g. with a command "dir /b *.deb >File"
and enter: LGDEBPGN @File OutFile


It can be still downloaded from Georges archive site:
http://lyapko.110mb.com/

Best regards,
Guenther

Below is an example:

Code: Select all
[Event "?"]
[Site "?"]
[Date "2007.09.29"]
[Round "1"]
[White "Clueless_14"]
[Black "TJchess 0.78R2"]
[Result "0-1"]
[TimeControl "40/900"]
[PlyCount "121"]
[Annotator "10.4- 8.7"]

1. d4 {0s} d5 {0s} 2. c4 {0s} Nc6 {0s} 3. Nf3 {0s} Bg4 {0s} 4. cxd5 {0s} Bxf3
{0s} 5. gxf3 {0s} Qxd5 {0s} 6. e3 {0s} e6 {0s} 7. Nc3 {0s} Qh5 {0s} 8. Bg2 {0s}
Bd6 {-0.15/8 13s 858.0Knps} 9. Bd2 {+0.23/10 29s 681.8Knps} Bxh2
{-0.40/8 21s 877.1Knps} 10. f4 {+1.49/11 57s 722.3Knps} Qxd1+
{+1.14/10 85s 877.2Knps} 11. Rxd1 {+1.69/12 85s 749.0Knps} Bxf4
{+0.83/11 190s 926.6Knps} 12. exf4 {+1.68/12 115s 760.3Knps} Nxd4
{+0.58/9 210s 847.3Knps} 13. Na4 {+1.60/11 143s 765.3Knps} Nc2+
{+0.14/9 216s 883.7Knps} 14. Ke2 {+2.04/12 171s 759.6Knps} Nd4+
{+0.21/9 223s 850.7Knps} 15. Kf1 {+2.22/12 199s 784.3Knps} c6
{+0.49/8 242s 888.5Knps} 16. Ba5 {+2.23/12 227s 785.7Knps} Nf5
{+0.30/9 259s 858.6Knps} 17. Nc5 {+2.17/12 255s 812.2Knps} Nge7
{+0.34/9 271s 858.3Knps} 18. Nxb7 {+2.09/11 283s 800.4Knps} Nd5
{+0.38/9 290s 892.2Knps} 19. Nc5 {+2.01/11 312s 805.1Knps} O-O
{+0.31/8 302s 859.3Knps} 20. b3 {+2.02/10 340s 813.7Knps} Rfc8
{+0.28/9 330s 916.1Knps} 21. Bf3 {+2.02/10 368s 799.1Knps} Nxf4
{-0.34/8 362s 914.9Knps} 22. Nd7 {+2.03/11 396s 831.0Knps} Nd5
{-0.54/8 391s 892.3Knps} 23. Kg1 {+2.07/10 424s 838.7Knps} Nd6
{-0.48/8 402s 957.4Knps} 24. Be2 {+2.18/10 452s 850.9Knps} Nb7
{-0.63/9 415s 992.3Knps} 25. Be1 {+0.81/10 491s 837.5Knps} Rc7
{-0.67/9 432s 969.4Knps} 26. Ne5 {+1.83/12 518s 814.4Knps} Rd8
{-0.59/8 481s 925.4Knps} 27. Bd3 {+1.95/10 545s 833.7Knps} g6
{-0.58/9 515s 910.5Knps} 28. Bf1 {+1.91/9 573s 849.9Knps} f6
{-0.84/9 541s 925.0Knps} 29. Nc4 {+1.72/11 600s 829.1Knps} Rcd7
{-0.75/8 576s 807.2Knps} 30. Rc1 {+1.50/10 627s 804.6Knps} Re7
{-0.80/8 590s 880.9Knps} 31. Nd2 {+1.85/10 654s 820.8Knps} Rc7
{-0.79/9 622s 942.1Knps} 32. Ne4 {+1.88/10 681s 824.8Knps} f5
{-0.80/9 646s 924.3Knps} 33. Ng5 {+2.10/12 709s 852.7Knps} Rd6
{-0.70/9 670s 948.1Knps} 34. Rh4 {+2.09/10 736s 841.7Knps} e5
{-0.67/8 684s 951.5Knps} 35. Ba6 {+2.04/10 763s 857.6Knps} h5
{-0.49/9 719s 882.2Knps} 36. Rh2 {+1.83/10 790s 848.4Knps} e4
{-0.77/9 749s 903.5Knps} 37. Rd1 {+1.81/9 817s 847.2Knps} Rcd7
{-0.81/9 766s 926.2Knps} 38. Ra1 {+0.59/10 861s 832.7Knps} Kg7
{-1.09/9 783s 898.6Knps} 39. Bd2 {+0.32/10 880s 808.5Knps} Kf6
{-1.16/9 798s 886.0Knps} 40. Nh3 {+1.30/9 889s 847.9Knps} Nc5
{-1.27/7 801s 852.7Knps} 41. Bc4 {+1.04/9 912s 772.1Knps} Ne6
{-1.14/9 832s 811.4Knps} 42. Kf1 {+0.96/9 935s 787.1Knps} g5
{-1.16/9 872s 833.3Knps} 43. Bc1 {+0.83/9 971s 795.5Knps} Rd8
{-1.20/9 899s 855.1Knps} 44. Bb2+ {+0.81/10 994s 810.3Knps} Kf7
{-0.98/9 934s 844.8Knps} 45. Be5 {+1.05/10 1016s 821.4Knps} R6d7
{-1.10/9 961s 819.8Knps} 46. Rc1 {+0.87/10 1039s 824.0Knps} h4
{-0.93/9 990s 827.1Knps} 47. Re1 {+1.03/9 1061s 829.2Knps} Re8
{-0.95/8 1009s 831.5Knps} 48. a4 {+1.06/9 1083s 820.2Knps} Rg8
{-0.96/8 1062s 836.2Knps} 49. a5 {+1.24/9 1106s 818.8Knps} Rgd8
{-0.99/8 1075s 822.0Knps} 50. Rg2 {+1.16/9 1142s 824.5Knps} g4
{-1.00/10 1109s 861.8Knps} 51. Ng1 {-0.25/11 1164s 824.6Knps} h3
{-1.19/9 1141s 874.6Knps} 52. Rh2 {-0.38/11 1186s 798.8Knps} Kg6
{-0.98/8 1156s 831.0Knps} 53. Ba1 {-0.47/10 1221s 804.9Knps} Ng5
{-1.06/8 1172s 844.3Knps} 54. Rh1 {-0.80/10 1255s 790.6Knps} Nf4
{-1.05/8 1188s 817.9Knps} 55. Bc3 {-0.98/10 1276s 790.8Knps} Ng2
{-2.15/9 1208s 948.0Knps} 56. Ke2 {-2.67/10 1297s 773.3Knps} f4
{-3.30/9 1240s 839.7Knps} 57. Bb4 {-4.58/10 1318s 786.4Knps} Rd1
{-3.33/9 1270s 848.4Knps} 58. Kf1 {-7.69/11 1339s 794.4Knps} f3
{-4.80/9 1283s 827.5Knps} 59. Nxh3 {-8.57/12 1360s 813.5Knps} gxh3
{-6.33/9 1330s 803.4Knps} 60. Kg1 {-8.85/13 1381s 813.5Knps} Nxe1
{-7.55/9 1364s 867.1Knps} 61. Kh2 {-9.69/13 1402s 795.2Knps}
0-1 {White resigns(claimed by white)}
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 28 guests