How to cut these pgn games.

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Jonathan003
Posts: 112
Joined: Fri Jul 06, 2018 2:23 pm
Full name: Jonathan Cremers

Re: How to cut these pgn games.

Post by Jonathan003 » Mon Mar 18, 2019 11:39 am

I can try it that way. I réalise first adding tactical analysis with chessbase 15 and then remove al other comments but the eco code and opening name is not the most logical way. I have pgn-extract on my pc. Can you tell me how to do it?

Jonathan003
Posts: 112
Joined: Fri Jul 06, 2018 2:23 pm
Full name: Jonathan Cremers

Re: How to cut these pgn games.

Post by Jonathan003 » Mon Mar 18, 2019 12:16 pm

I also think about some other way. By first importing end exporting the pgn games with tactical analysis in SCID 4.7.0
That would give pgn files easier to work with I think.

In the chess database program SCID 4.7.0 it is possible to extract pgn games with these settings.

Add games to an existing file? No
Export comments? Yes
Strip square/arrow mark codes from comments? Yes
Indent comments? No
Export variations? No
Indent variations? No
Column style (one more per line)? No
Symbolic annotation style: ! +=

Convert null moves to comments Yes


Then the extracted games look like this.

[Event "Chess Position Trainer"]
[Site "Chess Position Trainer"]
[Date "????.??.??"]
[Round "?"]
[White "My White Opening"]
[Black "Black Opening"]
[Result "*"]
[ECO "A90"]
[Annotator "Tactical Analysis 2.10 (6s)"]


1.d4 d5 2.c4 e6 3.Nf3 c6 4.Nbd2 f5 5.g3 Nf6 6.Bg2 Bd6 7.O-O O-O 8.Ne5 b6
9.Ndf3 {A90: Dutch Defence: Miscellaneous and Modern Stonewall (with
...Bd6)} 9...Ne4 10.a4 N Bb7 {The position is equal.} 11.cxd5 cxd5 12.Be3
Nc6 13.Nxc6 Bxc6 14.Ne5 *

[Event "Chess Position Trainer"]
[Site "Chess Position Trainer"]
[Date "????.??.??"]
[Round "?"]
[White "My White Opening"]
[Black "Black Opening"]
[Result "*"]
[ECO "A88"]
[Annotator "Tactical Analysis 2.10 (6s)"]


1.d4 f5 2.Nf3 g6 3.g3 Bg7 4.Bg2 Nf6 5.O-O d6 6.c4 O-O 7.Nc3 c6 8.d5 e5 9.
dxe6 Bxe6 10.b3 Na6 11.Ng5 Qe7 {The position is equal.} 12.Nxe6 {A88:
Dutch Defence: Leningrad System: 5 Nf3 0-0 6 0-0 d6 7 Nc3 c6} 12...Qxe6
13.Bb2 Rad8 14.Qc2 {Predecessor:} 14...Rfe8 N 15.Rad1 Nc5 16.e3 Rd7 17.b4
Nce4 18.Nxe4 Nxe4 19.Bxg7 Kxg7 20.Rd4 Nf6 21.Rfd1 a6 22.a4 Qe5 23.b5 axb5
24.cxb5 cxb5 25.axb5 Qxb5 26.Rxd6 Rxd6 27.Rxd6 {1/2-1/2 (130) Prohaszka,P
(2596)-Gasanov,E (2484) Zalakaros 2017} *

[Event "Chess Position Trainer"]
[Site "Chess Position Trainer"]
[Date "????.??.??"]
[Round "?"]
[White "My White Opening"]
[Black "Black Opening"]
[Result "*"]
[ECO "A87"]
[Annotator "Tactical Analysis 2.10 (6s)"]


1.d4 f5 2.Nf3 g6 3.g3 Bg7 4.Bg2 Nf6 5.O-O d6 6.c4 O-O 7.Nc3 Qe8 8.Re1 Qf7
9.b3 Ne4 10.Bb2 Nc6 {White is slightly better.} 11.Rc1 { A87: Dutch
Defence: Leningrad System: Nf3} 11...h6 12.d5 Ne5 13.Nxe5 Bxe5 14.f4 {
Predecessor:} 14...Bg7 N 15.Qc2 Nxc3 16.Bxc3 Bd7 17.e4 Bxc3 18.Qxc3 fxe4
19.Rxe4 {1-0 (50) Carlsen, M (2450)-Potapov,P (2267) Chalkidiki 2003} *

If all annotations where removed except the annotation with the eco code and the opening name, than I could replace } with }*

That would cut the games. If you open pgn games in Chessbase and there is a * in the pgn games the games are automatically cut. But it doesn't work if there are still annotations like { White is slightly better. }, before the annotation with the eco code and opening name.
Maybe the annotations like { White is slightly better. } etc. before the annotations with the eco cod and opening name can be removed with some advanced search and replace options in a text editor like Sublime text or Ultra Edit. I don't have a lot of experience with these to.

Jonathan003
Posts: 112
Joined: Fri Jul 06, 2018 2:23 pm
Full name: Jonathan Cremers

Re: How to cut these pgn games.

Post by Jonathan003 » Mon Mar 18, 2019 12:42 pm

I think I have find a way. I first replace '.}' with '£µ' in a text editor like Sublime text. Then I replace '}' with '}*'. Afterwards I replace '£µ' again with '.}' . If i import the pgn in Chessbase the games will be cut. The other comments will still be there. So I will run the tactical analysis with more time so the comments are more trustworthy.
I have to try it with bigger pgn files to see the results.

Ferdy
Posts: 4234
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: How to cut these pgn games.

Post by Ferdy » Mon Mar 18, 2019 1:27 pm

Jonathan003 wrote:
Mon Mar 18, 2019 11:39 am
I can try it that way. I réalise first adding tactical analysis with chessbase 15 and then remove al other comments but the eco code and opening name is not the most logical way. I have pgn-extract on my pc. Can you tell me how to do it?
So you use CB15 because of the ECO comments only?

I believe pgn-extract can't do it.

Ferdy
Posts: 4234
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: How to cut these pgn games.

Post by Ferdy » Mon Mar 18, 2019 1:52 pm

I have done the method I mentioned earlier. Still checking though to see if there are bugs.

Input game from my white repertoire.
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D85"]

1.d4 Nf6 2.c4 g6 3.Nc3 d5 4.cxd5 Nxd5 5.e4 Nxc3 6.bxc3 Bg7 7.Nf3 c5 8.Rb1 O-O
9.Be2 cxd4 10.cxd4 Qa5+ 11.Bd2 Qxa2 12.O-O Bg4 13.Bg5 h6 14.Be3 *

Ouput game:
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D85"]

1. d4 Nf6 2. c4 g6 3. Nc3 d5 4. cxd5 Nxd5 5. e4 Nxc3 6. bxc3 Bg7 7. Nf3 { D85: Gruenfeld } 7... c5 8. Rb1 O-O 9. Be2 cxd4 10. cxd4 Qa5+ 11. Bd2 Qxa2 12. O-O Bg4 13. Bg5 h6 14. Be3 *
To determine that D85: Gruenfeld comment, I use eco.pgn from Dann's post.
Here is the relevant entry on that eco.pgn
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "Modern Exchange Variation "]
[Result "*"]
[ECO "D85"]
[Variation "Gruenfeld"]

1. d4 Nf6 2. c4 g6 3. Nc3 d5 4. cxd5 Nxd5 5. e4 Nxc3 6. bxc3 Bg7 7. Nf3 *
As you can see the comment was added on Nf3 move.

Notice there is value in Black tag.

Code: Select all

[Black "Modern Exchange Variation "]
I can add that later and it would become
{ D85: Gruenfeld, Modern Exchange Variation }

Perhaps the ECO and name used in CB15 is different from the eco.pgn that I am using.

If you really like the CB15 eco code, then try to find the CB15 eco file in text or pgn form, maybe it is available.

BTW I created an account in chesstempo to see the beta repertoire training. Looks good. Will try to import my sample white repertoire with ECO comments. I have CB12, CPT and bookup/COW, cpt is already good for repertoire training but this is on desktop of course. I saw CB15 has repertoire training feature, did you try it?

Jonathan003
Posts: 112
Joined: Fri Jul 06, 2018 2:23 pm
Full name: Jonathan Cremers

Re: How to cut these pgn games.

Post by Jonathan003 » Mon Mar 18, 2019 2:33 pm

I saw CB15 has repertoire training feature, did you try it?
No I didn't try it, but I read bad reviews about it from people ho have tried it.
I have read on the Facebook page of Chess Position Trainer that Chess Positions Trainer 6 is coming this year. I aspect a lot of this software.
I like Chesstempo opening trainer beta best for opening training.
For tactics training I like Lichess. And for endgames Dvoretsky's Endgame Manual, and 100 Endgames You Must Know from Chessable.

Ferdy
Posts: 4234
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: How to cut these pgn games.

Post by Ferdy » Mon Mar 18, 2019 3:20 pm

All right I am not using Dann's uploaded eco.pgn, it has duplicates on ECO and Variation. But Comments are different, looks like a work in progress.
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "E97"]
[Variation "King's Indian: orthodox, Aronin-Taimanov, bayonet attack"]
[Comment "*pwo 3/02 nat, oob 11...h6"]

1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. Nf3 O-O 6. Be2 e5 7. O-O Nc6 8.
d5 Ne7 9. b4 Ne8 10. c5 f5 11. Nd2 h6 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "E97"]
[Variation "King's Indian: orthodox, Aronin-Taimanov, bayonet attack"]
[Comment "*pwo 3/02 book but oob 10.Re1"]

1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. Nf3 O-O 6. Be2 e5 7. O-O Nc6 8.
d5 Ne7 9. b4 Nh5 10. Re1 f5 11. Ng5 Nf6 12. Bf3 c6 13. Be3 h6 14. Ne6 Bxe6
15. dxe6 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "E97"]
[Variation "King's Indian: orthodox, Aronin-Taimanov, bayonet attack"]
[Comment "*pwo add, oob fm 10.Re1"]

1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. Nf3 O-O 6. Be2 e5 7. O-O Nc6 8.
d5 Ne7 9. b4 Nh5 10. Re1 Nf4 11. Bf1 a5 12. bxa5 Rxa5 13. Nd2 c5 14. a4 Ra6
15. Ra3 g5 16. g3 *
I will use eco.pgn from pgn-extract.

Ferdy
Posts: 4234
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: How to cut these pgn games.

Post by Ferdy » Mon Mar 18, 2019 3:25 pm

Output from 12 games using eco.pgn from pgn-extract.
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D31"]

1. d4 d5 2. c4 e6 3. Nc3 Be7 { D31: QGD, Charousek (Petrosian) Variation } 4. cxd5 exd5 5. Bf4 c6 6. Qc2 Nf6 7. h3 Qa5 8. Nf3 Ne4 9. Nd2 Nxd2 10. Qxd2 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D45"]

1. d4 d5 2. c4 c6 3. Nf3 Nf6 4. Nc3 e6 5. e3 Nbd7 6. Qc2 Bd6 { D45: QGD: semi-Slav (6.Qc2) } 7. Bd3 e5 8. cxd5 cxd5 9. Nb5 Bb8 10. dxe5 Nxe5 11. Nxe5 Bxe5 12. Bd2 O-O 13. Bc3 Bxc3+ 14. Qxc3 Ne4 15. Qd4 Re8 16. O-O a6 17. Rfd1 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D85"]

1. d4 Nf6 2. c4 g6 3. Nc3 d5 4. cxd5 Nxd5 5. e4 Nxc3 6. bxc3 Bg7 7. Nf3 { D85: Gruenfeld, Modern Exchange Variation } 7... c5 8. Rb1 O-O 9. Be2 cxd4 10. cxd4 Qa5+ 11. Bd2 Qxa2 12. O-O Bg4 13. Bg5 h6 14. Be3 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A57"]

1. d4 c5 2. d5 Nf6 3. c4 b5 4. cxb5 a6 5. e3 g6 6. Nc3 Bg7 { A57: Benko gambit half accepted, 5.e3 g6 } *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D17"]

1. d4 d5 2. c4 c6 3. Nf3 Nf6 4. Nc3 dxc4 5. a4 Bf5 6. Ne5 { D17: QGD Slav, Krause attack } 6... Nbd7 7. Nxc4 Nb6 8. Ne5 Nbd7 9. Nxd7 Qxd7 10. f3 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D15"]

1. d4 d5 2. c4 c6 3. Nf3 Nf6 4. Nc3 a6 { D15: QGD Slav accepted (4...a6) } 5. c5 Nbd7 6. Bf4 Nh5 7. Bd2 Nhf6 8. Qc2 g6 9. h3 Qc7 10. e4 Nxe4 11. Nxe4 dxe4 12. Qxe4 Nf6 13. Qe5 Qxe5+ 14. dxe5 Nd7 15. Be3 Bg7 16. e6 fxe6 17. O-O-O *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "E97"]

1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. Nf3 O-O 6. Be2 e5 7. O-O Nc6 8. d5 Ne7 9. b4 Nh5 10. Re1 f5 11. Ng5 Nf6 12. Bf3 c6 13. Be3 h6 14. Ne6 Bxe6 15. dxe6 { E97: King's Indian: orthodox, Aronin-Taimanov, bayonet attack } 15... fxe4 16. Nxe4 Nxe4 17. Bxe4 d5 18. cxd5 cxd5 19. Bc2 b6 20. Qg4 e4 21. Rad1 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A87"]

1. d4 f5 2. g3 Nf6 3. Bg2 g6 4. Nf3 Bg7 5. O-O O-O 6. c4 d6 7. Nc3 Qe8 8. d5 Na6 9. Rb1 Nc5 { A87: Dutch: Leningrad, main variation (7...Qe8) } 10. Nd4 a5 11. b3 Bd7 12. a3 c6 13. Bb2 e5 14. dxe6 Bxe6 15. Qc2 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A40"]

1. d4 e5 { A40: Queen's pawn, Charlick (Englund) gambit } 2. dxe5 Nc6 3. Nf3 Qe7 4. Bg5 Qb4+ 5. Nc3 Qxb2 6. Bd2 Bb4 7. Rb1 Qa3 8. Rb3 Qa5 9. a3 Bxc3 10. Bxc3 Qc5 11. e3 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A90"]

1. d4 f5 2. g3 Nf6 3. Bg2 e6 4. c4 c6 5. Nf3 d5 6. O-O Bd6 7. b3 Qe7 8. Bb2 { A90: Dutch: stonewall (Bd6) } 8... O-O 9. Ne5 Nbd7 10. Nd2 Ne4 11. Ndf3 a5 12. Qc2 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A70"]

1. d4 c5 2. d5 Nf6 3. c4 g6 4. Nc3 Bg7 5. e4 d6 6. Bd3 O-O 7. h3 e6 8. Nf3 exd5 9. cxd5 b5 10. Nxb5 Re8 11. O-O Nxe4 12. Re1 a6 13. Na3 Nf6 { A70: Benoni: classical } 14. Rxe8+ Nxe8 15. Bg5 Bf6 16. Qd2 Nd7 17. Nc4 Bb7 18. Be4 Bxg5 19. Nxg5 Ndf6 20. Re1 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A40"]

1. d4 b6 2. c4 e6 3. a3 Bb7 4. Nc3 f5 5. d5 Nf6 6. g3 Na6 7. Bg2 Nc5 8. Nh3 Bd6 9. O-O { A40: Queen's pawn: Keres defence (4.a3) } 9... O-O 10. b4 Nce4 11. Nxe4 Nxe4 12. Bb2 *

Jonathan003
Posts: 112
Joined: Fri Jul 06, 2018 2:23 pm
Full name: Jonathan Cremers

Re: How to cut these pgn games.

Post by Jonathan003 » Wed Mar 20, 2019 8:07 pm

If you really like the CB15 eco code, then try to find the CB15 eco file in text or pgn form, maybe it is available.
I should not know where to look for that. I will send an email to chessbase to ask for it.


Here is the results of these games when chessbase added the eco code and opening's annotation in the games.

As you can see the opening names are more detailed and the a annotation is later in the game. That's more useful especially when I want to cut the games.

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D31"]
[PlyCount "26"]


1.d4 d5 2.c4 e6 3.Nc3 Be7 4.cxd5 exd5 5.Bf4 c6 6.Qc2 {D31: Queen's
Gambit Declined: Semi-Slav without ...Nf6 (+ Marshall Gambit and Noteboom)
and Exchange Variation lines without ...Nf6}* 6...Nf6 7.h3 Qa5 8.Nf3 {White
is slightly better.} 8...Ne4 9.Nd2 Nxd2 10.Qxd2 O-O 11.e3 Bf5 12.g4 Be6
13.O-O-O b5 {Accuracy: White = 16%, Black = 11%.} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D46"]
[PlyCount "33"]


1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 e6 5.e3 Nbd7 6.Qc2 Bd6 7.Bd3 e5 8.cxd5
cxd5 {[#] aiming for ...e4.} 9.Nb5 {D46: Semi-Slav: 5 e3 Nbd7 6 Bd3, Black
avoids the Meran}* 9...Bb8 {And now ...e4 would win.} 10.dxe5 Nxe5 11.Nxe5
{White is slightly better.} 11...Bxe5 12.Bd2 O-O 13.Bc3 Bxc3+ 14.Qxc3 Ne4
15.Qd4 Re8 16.O-O a6 17.Rfd1 N {Accuracy: White = 21%, Black = 25%.} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D85"]
[PlyCount "46"]


1.d4 N Nf6 2.c4 g6 3.Nc3 d5 4.cxd5 Nxd5 5.e4 Nxc3 6.bxc3 Bg7 7.Nf3 c5 8.
Rb1 O-O 9.Be2 cxd4 10.cxd4 Qa5+ 11.Bd2 Qxa2 12.O-O Bg4 13.Bg5 h6 14.Be3
Nc6 15.d5 Na5 16.Bc5 {D85: Exchange Grünfeld: Unusual White 7th moves and
lines with 7 Nf3}* 16...b6 17.Bxe7 Rfe8 18.d6 {Hoping for Bb5.} 18...Nc6
19.Bb5 Nxe7 20.h3 Bxf3 21.Qxf3 {White is better.} 21...Qe6 22.Bxe8 Rxe8
23.dxe7 Qxe7 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A57"]
[PlyCount "34"]


1.d4 N c5 2.d5 Nf6 3.c4 b5 4.cxb5 a6 5.e3 g6 6.Nc3 Bg7 7.Nf3 O-O 8.a4 Bb7
9.Rb1 {A57: Benko/Volga Gambit}* 9...d6 10.Be2 axb5 11.axb5 {White has an
edge.} 11...e6 12.dxe6 fxe6 13.O-O d5 14.b4 c4 15.Nd4 Qd6 16.e4 Nxe4 17.
Nxe4 dxe4 {Accuracy: White = 15%, Black = 0%.} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D17"]
[Annotator "creme"]
[PlyCount "16"]
[SourceVersionDate "2019.03.20"]

{[%evp 0,16,19,31,19,-16,26,22,38,8,6,16,3,-10,19,29,36,37,86]} 1. d4 d5 2. c4
c6 3. Nf3 Nf6 4. Nc3 dxc4 5. a4 Bf5 6. Ne5 Nbd7 7. Nxc4 Nb6 8. Ne5 Nbd7 {
[%emt 0:00:06] D17: Slav Defence: 5 a4 Bf5: Lines with Nh4 and 6 Ne5} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "D15"]
[PlyCount "33"]


1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 a6 5.c5 Nbd7 6.Bf4 Nh5 7.Bd2 Nhf6 {D15:
Slav Defence: 4 Nc3 a6 and gambit lines after 4 Nc3 dxc4}* 8.Qc2 g6 9.h3
Qc7 {White is slightly better.} 10.e4 Nxe4 11.Nxe4 dxe4 12.Qxe4 Nf6 13.Qe5
Qxe5+ 14.dxe5 Nd7 15.Be3 Bg7 N 16.e6 fxe6 17.O-O-O {Accuracy: White = 0%,
Black = 37%.} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "E97"]
[PlyCount "43"]


1.d4 N Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.O-O Nc6 8.d5 Ne7
9.b4 Nh5 10.Re1 f5 11.Ng5 Nf6 12.Bf3 c6 13.Be3 h6 {[#] Hoping for ...
cxd5.} 14.Ne6 {E97: King's Indian: Classical Main Line (6...e5 7 0-0 Nc6):
8 Be3 and 8 d5 Ne7, not 9 Ne1}* 14...Bxe6 15.dxe6 fxe4 16.Nxe4 {White is
better.} 16...Nxe4 17.Bxe4 d5 18.cxd5 cxd5 19.Bc2 b6 20.Qg4 e4 21.Rad1 {
[#] aiming for Bxe4!}* 21...Qc7 22.Bb3 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A87"]
[PlyCount "41"]


1.d4 f5 2.g3 Nf6 3.Bg2 g6 4.Nf3 Bg7 5.O-O O-O 6.c4 d6 7.Nc3 Qe8 8.d5 Na6
9.Rb1 Nc5 10.Nd4 a5 11.b3 Bd7 12.a3 c6 13.Bb2 e5 N {A87: Dutch Defence:
Leningrad System: 5 Nf3}* 14.dxe6 Bxe6 15.Qc2 Bf7 {Black is slightly
better.} 16.Rbd1 Qe7 17.Rfe1 Rfe8 18.Nf3 Nce4 19.Nxe4 Nxe4 20.Bxg7 Kxg7
21.Nd2 {Accuracy: White = 8%, Black = 3%.} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A40"]
[PlyCount "30"]


1.d4 N e5 2.dxe5 Nc6 3.Nf3 Qe7 4.Bg5 Qb4+ 5.Nc3 Qxb2 6.Bd2 Bb4 7.Rb1 {A40:
Unusual replies to 1 d4}* 7...Qa3 8.Rb3 Qa5 9.a3 Bxc3 10.Bxc3 Qc5 11.e3
Nge7 12.Bd3 Ng6 13.Qa1 Qe7 14.e6 f6 15.exd7+ Qxd7 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A90"]
[PlyCount "40"]


1.d4 f5 2.g3 Nf6 3.Bg2 e6 4.c4 c6 5.Nf3 d5 6.O-O Bd6 7.b3 Qe7 8.Bb2 O-O 9.
Ne5 Nbd7 10.Nd2 Ne4 11.Ndf3 a5 {A90: Dutch Defence: Miscellaneous and
Modern Stonewall (with . ..Bd6)}* 12.Qc2 a4 13.bxa4 N Bxe5 {White is
slightly better.} 14.dxe5 Nb6 15.cxd5 exd5 16.Rab1 Nc4 17.Rfd1 Qb4 18.Nd4
Qxa4 19.Nb3 Qxa2 {[#] And now ...Na3 would win.} 20.Bxe4 fxe4 {Accuracy:
White = 0%, Black = 20%.} *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A70"]
[PlyCount "48"]


1.d4 c5 2.d5 Nf6 3.c4 g6 4.Nc3 Bg7 5.e4 d6 6.Bd3 O-O 7.h3 e6 8.Nf3 exd5 9.
cxd5 b5 10.Nxb5 Re8 11.O-O Nxe4 12.Re1 a6 13.Na3 Nf6 14.Rxe8+ Nxe8 15.Bg5
Bf6 16.Qd2 {A70: Modern Benoni: 6 e4 g6 7 Nf3}* 16...Nd7 17.Nc4 Bb7 18.Be4
{White is slightly better.} 18...Bxg5 19.Nxg5 Ndf6 {[#] White must now
prevent ... h6.} 20.Re1 N Qc7 21.Bf3 Rd8 22.Re2 Ng7 23.g4 Re8 24.Rxe8+
Ngxe8 *

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A40"]
[PlyCount "30"]


1.d4 b6 2.c4 e6 3.a3 Bb7 4.Nc3 f5 5.d5 Nf6 6.g3 Na6 7.Bg2 Nc5 8.Nh3 {A40:
Unusual replies to 1 d4}* 8...Bd6 9.O-O N O-O 10.b4 {White has an edge.}
10...Nce4 11.Nxe4 Nxe4 12.Bb2 exd5 13.cxd5 Qe7 14.Qd3 a5 15.b5 a4 {
Accuracy: White = 16%, Black = 33%.} *

Jonathan003
Posts: 112
Joined: Fri Jul 06, 2018 2:23 pm
Full name: Jonathan Cremers

Re: How to cut these pgn games.

Post by Jonathan003 » Wed Mar 20, 2019 8:11 pm

I still don't know how you put the annotation with the opening name in the games as annotation with pgn extract.
I know how to but the eco code and openings name as tag in the games but I don't know how to put it as annotation in the games.
What comment to u use for that? What do I have to type from console on windows to make it happen?

Post Reply