Book ChessGUI

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Krzysztof Grzelak
Posts: 804
Joined: Tue Jul 15, 2014 10:47 am

Book ChessGUI

Post by Krzysztof Grzelak » Fri Mar 17, 2017 12:22 pm

I have a question, because I forgot how to do it. How to write a book in PGN format to the program ChessGUI.

Modern Times
Posts: 2142
Joined: Thu Jun 07, 2012 9:02 pm

Re: Book ChessGUI

Post by Modern Times » Fri Mar 17, 2017 1:30 pm

Graham has made several, so if he sees this he will be able to advise.
.

Opinions expressed here are my own, and not necessarily those of the CCRL Group.

User avatar
Graham Banks
Posts: 30765
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks » Fri Mar 17, 2017 7: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 Bc5 4. Nf3 d6 5. d4 exd4 6. Nxd4 c6 7. Nc3 Nf6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. Nf3 d6 5. b4 Bb6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nf6 5. Nxf6+ Qxf6 6. Ne2 c6 7. d4 exd4 8. exd4 Bb6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nf6 5. b4 Nxd5 6. bxc5 Nf6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nf6 5. Nc3 Bb4 6. Nge2 c6 7. d4 d6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nc6 5. Qb3 Nge7 6. Ne2 O-O *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 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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.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

Krzysztof Grzelak
Posts: 804
Joined: Tue Jul 15, 2014 10:47 am

Re: Book ChessGUI

Post by Krzysztof Grzelak » Fri Mar 17, 2017 10:23 pm

Graham Banks wrote: 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 Bc5 4. Nf3 d6 5. d4 exd4 6. Nxd4 c6 7. Nc3 Nf6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. Nf3 d6 5. b4 Bb6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nf6 5. Nxf6+ Qxf6 6. Ne2 c6 7. d4 exd4 8. exd4 Bb6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nf6 5. b4 Nxd5 6. bxc5 Nf6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nf6 5. Nc3 Bb4 6. Nge2 c6 7. d4 d6 *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nc6 5. Qb3 Nge7 6. Ne2 O-O *
1. c4 e5 2. Nc3 Bb4 3. Nd5 Bc5 4. e3 Nc6 5. Nf3 Nf6 6. Nc3 Bb4 7. Qb3 Bxc3 8. Qxc3 *
1. c4 e5 2. Nc3 Bb4 3. Qb3 Nc6 4. e3 Bxc3 5. Qxc3 Qe7 6. Nf3 Nf6 7. d4 exd4 8. Nxd4 Nxd4 9. Qxd4 c5 10. Qh4 d5 *
1. c4 e5 2. g3 c6 3. Nc3 Nf6 4. Nf3 d6 5. Bg2 g6 *
1. c4 e5 2. g3 c6 3. Nc3 Nf6 4. d4 exd4 5. Qxd4 d5 6. Bg2 Be7 7. Nf3 c5 *
1. c4 e5 2. g3 c6 3. d4 Bb4+ 4. Bd2 Bxd2+ 5. Qxd2 d6 6. Nc3 Nf6 7. Bg2 Qe7 *
1. c4 e5 2. g3 c6 3. Qa4 Nf6 4. Nc3 d5 5. cxd5 Nxd5 6. Bg2 *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 Bd6 6. Nf3 O-O 7. g3 exd5 8. cxd5 c6 *
1. c4 b6 2. d4 e6 3. a3 Bb7 4. d5 Nf6 5. Nc3 Bd6 6. e4 O-O 7. Nf3 exd5 8. exd5 c6 9. Be2 cxd5 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.
Thank you Graham. I have a request, and you can share the program Line2PGN, because it's hard to get it.

User avatar
Graham Banks
Posts: 30765
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks » Fri Mar 17, 2017 10:45 pm

Krzysztof Grzelak wrote:... I have a request, and you can share the program Line2PGN, because it's hard to get it.
http://kirill-kryukov.com/chess/discuss ... p?id=39277
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

Krzysztof Grzelak
Posts: 804
Joined: Tue Jul 15, 2014 10:47 am

Re: Book ChessGUI

Post by Krzysztof Grzelak » Sun Mar 19, 2017 1:09 pm

Graham Banks wrote:
Krzysztof Grzelak wrote:... I have a request, and you can share the program Line2PGN, because it's hard to get it.
http://kirill-kryukov.com/chess/discuss ... p?id=39277
Thank Graham. I have such a question. Be as you know what the letter means the end ECO - in bold font in the font.


[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D30q"]
[Variation "QGD: 3.Nf3 Nf6"]

1. d4 d5 2. Nf3 e6 3. c4 Nf6 4. cxd5 exd5 5. Qc2 c6 6. Nc3 Bg4 7. Bg5 Be7
8. e3 Nbd7 *

User avatar
Graham Banks
Posts: 30765
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks » Sun Mar 19, 2017 6:30 pm

Krzysztof Grzelak wrote:
Graham Banks wrote:
Krzysztof Grzelak wrote:... I have a request, and you can share the program Line2PGN, because it's hard to get it.
http://kirill-kryukov.com/chess/discuss ... p?id=39277
Thank Graham. I have such a question. Be as you know what the letter means the end ECO - in bold font in the font.


[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D30q"]
[Variation "QGD: 3.Nf3 Nf6"]

1. d4 d5 2. Nf3 e6 3. c4 Nf6 4. cxd5 exd5 5. Qc2 c6 6. Nc3 Bg4 7. Bg5 Be7
8. e3 Nbd7 *
No idea.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
Ajedrecista
Posts: 1364
Joined: Wed Jul 13, 2011 7:04 pm
Location: Madrid, Spain.
Contact:

Re: Book ChessGUI.

Post by Ajedrecista » Sun Mar 19, 2017 6:48 pm

Hello:
Graham Banks wrote:
Krzysztof Grzelak wrote:
Graham Banks wrote:
Krzysztof Grzelak wrote:... I have a request, and you can share the program Line2PGN, because it's hard to get it.
http://kirill-kryukov.com/chess/discuss ... p?id=39277
Thank Graham. I have such a question. Be as you know what the letter means the end ECO - in bold font in the font.


[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D30q"]
[Variation "QGD: 3.Nf3 Nf6"]

1. d4 d5 2. Nf3 e6 3. c4 Nf6 4. cxd5 exd5 5. Qc2 c6 6. Nc3 Bg4 7. Bg5 Be7
8. e3 Nbd7 *
No idea.
I think that it is a certain line in D30 and there should be more (D30a, D30b, ...). Please take a look here. It is not an explanation, though.

Regards from Spain.

Ajedrecista.

Krzysztof Grzelak
Posts: 804
Joined: Tue Jul 15, 2014 10:47 am

Re: Book ChessGUI

Post by Krzysztof Grzelak » Thu Mar 23, 2017 7:13 am

Thanks Graham. I have such a question as to the book. How to convert a book into a format cgb to format pgn.

User avatar
Graham Banks
Posts: 30765
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks » Thu Mar 23, 2017 7:32 am

Krzysztof Grzelak wrote:Thanks Graham. I have such a question as to the book. How to convert a book into a format cgb to format pgn.
You can't.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

Post Reply