Book ChessGUI

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

Moderators: hgm, Rebel, chrisw

Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Book ChessGUI

Post by Krzysztof Grzelak »

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: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Book ChessGUI

Post by Modern Times »

Graham has made several, so if he sees this he will be able to advise.
User avatar
Graham Banks
Posts: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

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 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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file, I use the ChessGUI book creation utility to make my book.
gbanksnz at gmail.com
Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Book ChessGUI

Post by Krzysztof Grzelak »

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: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

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
gbanksnz at gmail.com
Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Book ChessGUI

Post by Krzysztof Grzelak »

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: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

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.
gbanksnz at gmail.com
User avatar
Ajedrecista
Posts: 1968
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Book ChessGUI.

Post by Ajedrecista »

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: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Re: Book ChessGUI

Post by Krzysztof Grzelak »

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: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Book ChessGUI

Post by Graham Banks »

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.
gbanksnz at gmail.com