Page 1 of 2

Book ChessGUI

Posted: Fri Mar 17, 2017 1:22 pm
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.

Re: Book ChessGUI

Posted: Fri Mar 17, 2017 2:30 pm
by Modern Times
Graham has made several, so if he sees this he will be able to advise.

Re: Book ChessGUI

Posted: Fri Mar 17, 2017 8:24 pm
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 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.

Re: Book ChessGUI

Posted: Fri Mar 17, 2017 11:23 pm
by Krzysztof Grzelak
Graham Banks wrote: Firstly I have my lines in this format:

1. c4 e5 2. d3 g6 3. g3 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6 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.

Re: Book ChessGUI

Posted: Fri Mar 17, 2017 11:45 pm
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

Re: Book ChessGUI

Posted: Sun Mar 19, 2017 2:09 pm
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 *

Re: Book ChessGUI

Posted: Sun Mar 19, 2017 7:30 pm
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.

Re: Book ChessGUI.

Posted: Sun Mar 19, 2017 7:48 pm
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.

Re: Book ChessGUI

Posted: Thu Mar 23, 2017 8:13 am
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.

Re: Book ChessGUI

Posted: Thu Mar 23, 2017 8:32 am
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.