Page 1 of 2

Books and opening test positions in Chessgui

Posted: Fri Sep 17, 2010 8:02 am
by JohnS
What's the difference between the remis book and the winning book in Chessgui and how do you use them?

Also I'm trying to use the Nunn postions (attached) in a engine match but they are being ignored. How do I do this?

Thanks.

Re: Books and opening test positions in Chessgui

Posted: Fri Sep 17, 2010 10:05 am
by Matthias Gemuh
JohnS wrote:What's the difference between the remis book and the winning book in Chessgui and how do you use them?

Also I'm trying to use the Nunn postions (attached) in a engine match but they are being ignored. How do I do this?

Thanks.
A winning book helps black OR white to get an opening advantage out of book.
A remis book seeks for equal chances for black AND white.
The tags in your nunn.pgn should start with "[Event "?"]".

Matthias.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 12:46 am
by JohnS
Matthias Gemuh wrote:
JohnS wrote:What's the difference between the remis book and the winning book in Chessgui and how do you use them?

Also I'm trying to use the Nunn postions (attached) in a engine match but they are being ignored. How do I do this?

Thanks.
A winning book helps black OR white to get an opening advantage out of book.
A remis book seeks for equal chances for black AND white.
The tags in your nunn.pgn should start with "[Event "?"]".

Matthias.
My Nunn.pgn is from Chessbase, and works ok for engine matches in other guis. Although it's easy to make the change you said, would it be better in future if Chessgui treats the string "" as "?".

Thanks.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 1:03 am
by Matthias Gemuh
JohnS wrote:
Matthias Gemuh wrote: The tags in your nunn.pgn should start with "[Event "?"]".

Matthias.
My Nunn.pgn is from Chessbase, and works ok for engine matches in other guis. Although it's easy to make the change you said, would it be better in future if Chessgui treats the string "" as "?".

Thanks.
ChessGUI does not require "?", though "" is against the Pgn Specification.
According to the Pgn Specification, here are the 7 tags a pgn should at least have, and in that order.

Code: Select all

The seven tag names of the STR are (in order):

   1. Event (the name of the tournament or match event)
   2. Site (the location of the event)
   3. Date (the starting date of the game)
   4. Round (the playing round ordinal of the game)
   5. White (the player of the white pieces)
   6. Black (the player of the black pieces)
   7. Result (the result of the game) 
Matthias.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 1:17 am
by Matthias Gemuh
Anyway, ChessGUI shall be relaxed to accept a pgn like your nunn.pgn.

Matthias.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 2:46 am
by JohnS
Matthias Gemuh wrote:Anyway, ChessGUI shall be relaxed to accept a pgn like your nunn.pgn.

Matthias.
I must be doing something wrong. :D I put the question marks in nunn.pgn but the start positions are still ignored by Chessgui. Is there anything else I need to do to force it to use these positions and not an opening book?

Thanks.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 6:42 am
by Matthias Gemuh
JohnS wrote:
Matthias Gemuh wrote:Anyway, ChessGUI shall be relaxed to accept a pgn like your nunn.pgn.

Matthias.
I must be doing something wrong. :D I put the question marks in nunn.pgn but the start positions are still ignored by Chessgui. Is there anything else I need to do to force it to use these positions and not an opening book?

Thanks.
Try moving the Event tag to first position among the tags.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 7:24 am
by JohnS
Matthias Gemuh wrote:
JohnS wrote:
Matthias Gemuh wrote:Anyway, ChessGUI shall be relaxed to accept a pgn like your nunn.pgn.

Matthias.
I must be doing something wrong. :D I put the question marks in nunn.pgn but the start positions are still ignored by Chessgui. Is there anything else I need to do to force it to use these positions and not an opening book?

Thanks.
Try moving the Event tag to first position among the tags.
This didn't help (see attached). Should the tag order matter in the pgn file anyway?

Thanks.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 8:17 am
by Matthias Gemuh
JohnS wrote:
This didn't help (see attached). Should the tag order matter in the pgn file anyway?

Thanks.
Only the Event tag is needed by ChessGUI. It is the beginning of a new game.
Your Nunn1.pgn is in a format I expect ChessGUI to handle.
I'll check and fix the problem in ChessGUI. Which version are you using ?

Matthias.

Re: Books and opening test positions in Chessgui

Posted: Sat Sep 18, 2010 8:24 am
by JohnS
Matthias Gemuh wrote:
JohnS wrote:
This didn't help (see attached). Should the tag order matter in the pgn file anyway?

Thanks.
Only the Event tag is needed by ChessGUI. It is the beginning of a new game.
Your Nunn1.pgn is in a format I expect ChessGUI to handle.
I'll check and fix the problem in ChessGUI. Which version are you using ?

Matthias.
I'm using version 0.200. Thanks.