Re: saving games played on freechess.org

"H.G. Muller" <[email protected]> Sun, 19 Apr 2015 23:20:04 +0200
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <[email protected]>

kamaraju kusumanchi schreef op 4/19/2015 om 6:10 AM:
> I am currently using xboard 4.8.0 on Debian Jessie to play games on
> freechess.org using the following command
>
> % rlwrap xboard -ics -icshost freechess.org
> ...
> fics% getgame f
>
> I was wondering if you could answer the following questions
>
> 1) I would like xboard to automatically save the game on the hard
> drive once I finish playing it. Is this possible?
Yes: you can tick 'Auto-Save Games' in the Save Game Options dialog,
and specify a file there. All games will then automatically be appended 
to the
specified file when they finish.
>
> 2) After finishing playing the game, I can do File -> Save Game to
> manually save a game. However, the filename of the pgn file is set to
> whitePlayer-blackPlayer.pgn by default. Is it possible to rename this
> as whitePlayer_vs_blackPlayer_YYYYmmDD_HHMMSS.pgn? Here YYYYmmDD and
> HHMMSS correspond to the date and time of the game.
Currently there the default proposal for the name of the save file is 
hard-coded.
But it could be an idea to make this user-configurable through an 
option. For the
tournament file defining engine-engine tourneys such an option already 
exists,
and can indeed make use of date and time components.

'Time' is not a standard PGN tag. I guess XBoard could be equiped with 
an option
to generate such a time tag. Not sure what it is supposed to contain, 
however.
The time that the game started? Or finished? Or was saved?
> 3) The pgn file stored from xboard does not seem to have the time
> information. But the pgn file emailed by FICS server contains this
> information. Is it possible to store the time information into the pgn
> saved via xboard -> File -> Save Game?
>
> For example, this is what I see from a pgn stored via xboard
>
> rajulocal@hogwarts ~/x % cat kamaraju-ariseras.pgn
> [Event "ICS rated blitz match"]
> [Site "freechess.org"]
> [Date "2015.04.18"]
> [Round "-"]
> [White "kamaraju"]
> [Black "ariseras"]
> [Result "1-0"]
> [WhiteElo "1249"]
> [BlackElo "1065"]
> [TimeControl "600"]
>
> 1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. O-O d6 5. Nc3 a6 6. Na4 Ba7 7. Re1 Bg4 8.
> Bb3 Qf6 9. d3 Bxf3 10. Qxf3 Qxf3 11. gxf3 Nf6 12. Bg5 O-O-O 13. Bxf6 gxf6
> 14. Bxf7 Rd7 15. Be6
>
> But the pgn sent by FICS looks as follows
>
> [Event "FICS rated blitz game"]
> [Site "FICS, San Jose, California USA"]
> [Date "2015.04.18"]
> [Time "23:47:27"]
> [Round "-"]
> [White "kamaraju"]
> [Black "ariseras"]
> [WhiteElo "1249"]
> [BlackElo "1065"]
> [TimeControl "600+0"]
> [Mode "ICS"]
> [Result "1-0"]
>
> 1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. O-O d6 5. Nc3 a6 6. Na4 Ba7 7. Re1 Bg4
> 8. Bb3 Qf6 9. d3 Bxf3 10. Qxf3 Qxf3 11. gxf3 Nf6 12. Bg5 O-O-O 13. Bxf6
> gxf6 14. Bxf7 Rd7 15. Be6
> {Black forfeits by disconnection} 1-0
>
> thanks
> raju