Book ChessGUI

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: Book ChessGUI

Post by Gusev »

Hi Graham,

I tried to configure asmFish and Cfish under ChessGUI 0.245m and have them play two games against each other from a given PGN opening.

I encountered two problems.

1. From time to time, ChessGUI displays a message box that says, "epd file not found".

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

The reason for doing it is the problem that my students encountered trying to broadcast a tournament using TLCS/TLCV with openings from Arena. We hope that maybe the broadcast will become possible if we use ChessGUI.
User avatar
Graham Banks
Posts: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

Gusev wrote:Hi Graham,

I tried to configure asmFish and Cfish under ChessGUI 0.245m and have them play two games against each other from a given PGN opening.

I encountered two problems.

1. From time to time, ChessGUI displays a message box that says, "epd file not found".

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

The reason for doing it is the problem that my students encountered trying to broadcast a tournament using TLCS/TLCV with openings from Arena. We hope that maybe the broadcast will become possible if we use ChessGUI.
The epd message normally only comes up if you edit a tourney before the first game has been completed. You can ignore it.

The Syzygy path should be remembered even if the parameters box doesn't show it when you go back in.
gbanksnz at gmail.com
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Book ChessGUI

Post by Matthias Gemuh »

Gusev wrote:...

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

...
Setup the Preferences from the main screen. Menu point is "Miscellaneous".
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: Book ChessGUI

Post by Gusev »

I clicked the TLCV option, yet I do not see TLCV_File.txt in OUTPUT folder.:(
Also, are the PGNs of the games saved in a file anywhere automatically? (The PGN tab is displayed, complete with the game's moves, during the game. After the tournament, I looked for a PGN file, but couldn't find it.)
Matthias Gemuh wrote:
Gusev wrote:...

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

...
Setup the Preferences from the main screen. Menu point is "Miscellaneous".
User avatar
Graham Banks
Posts: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

Gusev wrote:I clicked the TLCV option, yet I do not see TLCV_File.txt in OUTPUT folder.:(
Also, are the PGNs of the games saved in a file anywhere automatically? (The PGN tab is displayed, complete with the game's moves, during the game. After the tournament, I looked for a PGN file, but couldn't find it.)
Matthias Gemuh wrote:
Gusev wrote:...

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

...

Setup the Preferences from the main screen. Menu point is "Miscellaneous".
The PGNs are stored in both the tournament pgn and LivePgn files within the Output folder.
gbanksnz at gmail.com
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: Book ChessGUI

Post by Gusev »

They are not there. Is it because I am running ChessGUI_net? Or is it due to insufficient compatibility with Windows 10 Enterprise? Also, the second game of a two-game match had to be started manually, by clicking on File->Tournaments...
Graham Banks wrote:
Gusev wrote:I clicked the TLCV option, yet I do not see TLCV_File.txt in OUTPUT folder.:(
Also, are the PGNs of the games saved in a file anywhere automatically? (The PGN tab is displayed, complete with the game's moves, during the game. After the tournament, I looked for a PGN file, but couldn't find it.)
Matthias Gemuh wrote:
Gusev wrote:...

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

...

Setup the Preferences from the main screen. Menu point is "Miscellaneous".
The PGNs are stored in both the tournament pgn and LivePgn files within the Output folder.
User avatar
Graham Banks
Posts: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

Gusev wrote:They are not there. Is it because I am running ChessGUI_net? Or is it due to insufficient compatibility with Windows 10 Enterprise? Also, the second game of a two-game match had to be started manually, by clicking on File->Tournaments...
Graham Banks wrote:
Gusev wrote:I clicked the TLCV option, yet I do not see TLCV_File.txt in OUTPUT folder.:(
Also, are the PGNs of the games saved in a file anywhere automatically? (The PGN tab is displayed, complete with the game's moves, during the game. After the tournament, I looked for a PGN file, but couldn't find it.)
Matthias Gemuh wrote:
Gusev wrote:...

2. ChessGUI does not seem to remember the Syzygy path for either of the two engines. I set it, but when I re-open parameters to edit them, the path is empty again. It does remember other settings (e.g., Threads, Hash).

...

Setup the Preferences from the main screen. Menu point is "Miscellaneous".
The PGNs are stored in both the tournament pgn and LivePgn files within the Output folder.
I haven't tried TLCV broadcasts under Windows 10.

You shouldn't need to start each game manually. However, on rare occasions ChessGUI might hang after a game that has been adjudicated by tablebases.
gbanksnz at gmail.com
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Book ChessGUI

Post by Matthias Gemuh »

Gusev wrote:... Is it because I am running ChessGUI_net? no . Or is it due to insufficient compatibility with Windows 10 Enterprise? not likely ...
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
Jonathan003
Posts: 239
Joined: Fri Jul 06, 2018 4:23 pm
Full name: Jonathan Cremers

Re: Book ChessGUI

Post by Jonathan003 »

Graham Banks wrote: Fri Mar 17, 2017 8:24 pm
Krzysztof Grzelak wrote:I have a question, because I forgot how to do it. How to write a book in PGN format to the program ChessGUI.
Firstly I have my lines in this format:

1. c4 e5 2. d3 g6 3. g3 *
1. c4 e5 2. d3 f5 3. d4 d6 4. Nc3 Nf6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc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xd5 10. cxd5 Na6 11. Bg5 h6 12. Bh4 Re8 *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 g6 6. Nf3 Bg7 7. e4 O-O *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 g6 6. Nf3 Bg7 7. g3 O-O 8. Bg2 exd5 9. cxd5 c5 10. O-O d6 *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 g6 6. Nf3 Bg7 7. g3 O-O 8. Bg2 exd5 9. cxd5 c6 10. O-O cxd5 11. Ng5 Na6 *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 g6 6. Nf3 Bg7 7. g3 O-O 8. Bg2 exd5 9. cxd5 c6 10. O-O cxd5 11. Bg5 Na6 12.Ne5 h6 *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 g6 6. Nf3 Bg7 7. g3 O-O 8. Bg2 c6 9. d6 *

Then I use the tool Line2PGN to change these into a PGN file.

Once I have the PGN file, I use the ChessGUI book creation utility to make my book.
I have problems to run pgn2line
I have some experience with basic command line programs like pgn-extract and polyglot, but that's all.
Can someone please explain me what I do wrong and how to use pgn pgn2line-master. Maybe with some video capture. Maybe I need to install some additional software first?

Here is a video capture if I try to follow the manual:

... sp=sharing

GRT
Bill Forster
Posts: 76
Joined: Mon Sep 21, 2015 7:47 am
Location: New Zealand

Re: Book ChessGUI

Post by Bill Forster »

I fear that what is going on here is that perhaps there is a well known program called line2PGN. When I created my little utility suite pgn2line (and line2pgn, tournaments, players ....) and put it on Github I should have checked for a clash of names. Maybe I did check pgn2line, but forgot to check line2pgn which in my suite reverses pgn2line.

Anyway, the point is that sadly Graham was not using my software, nor could he use it for this task as it does something quite different. I am guessing, and haven't checked more, but maybe line2PGN is quite popular, whereas my software (for all it's considerable merit, in my proud creator's eyes anyway :- ) is boutique, undiscovered and unloved (except by me :- ).

TLDR; You stumbled on a github project that isn't what you want, because of an unforeseen name clash. Sorry.