Page 1 of 1

Polyglot 1.4w22

PostPosted: 25 May 2009, 09:43
by F. Bluemers
Since the old days polyglot uses ; and # to denote comments.This however conflicts
with the use of ; to set multiple paths for the endgame table bases.
Thanks to Edmund Moshammer for reporting this issue.

This build provides a workaround.Within quotes a ; is not treated as a comment delimiter.The quotes are removed.
If there is not a ; within the quotes they are treated as usual.

Some examples:

Code: Select all
   
    Path = "C:\bases\m4" -> Path = "C:\bases\m4"
    Path = C:\bases\m4;C:\bases\m5;C:\bases\m6  -> Path = C:\Bases\m5
    Path = "C:\bases\m4;C:\bases\m5;C:\bases\m6" -> Path = C:\bases\m4;C:\bases\m5;C:\bases\m6


If outer "s are needed for whatever reason: a pair of " right next to the inner ones are a special case:
Code: Select all
Path = ""C:\bases\m4;C:\bases\m5;C:\bases\m6"" -> Path = "C:\bases\m4;C:\bases\m5;C:\bases\m6"


download: http://www.geenvis.net/pg.html
Best
Fonzy

Polyglot 1.4w23

PostPosted: 26 May 2009, 10:54
by F. Bluemers
Fixed: Create books from pgn files that contains FEN tags in the game headers.

http://www.geenvis.net/pg.html
Best
Fonzy