Search found 78 matches

by Jonathan003
Mon Mar 18, 2019 12:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

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 fil...
by Jonathan003
Mon Mar 18, 2019 11:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

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?
by Jonathan003
Sun Mar 17, 2019 9:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

I'm happy with the results. If I also want the moves after the opening annotations I can do it by importing and exporting in chess position trainer. And for the few games without a opening annotation I can do it manually.
So thank you very much Ferdy for helping me out.
by Jonathan003
Sun Mar 17, 2019 8:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

There where 4 games out of the 345 games that did not get an annotation with the opening name for the white repertoire. And there where 10 games out of the 839 games that did not get an annotation with the opening name for the black repertoire. To invest it I did the following. I converted the reper...
by Jonathan003
Sun Mar 17, 2019 7:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

Can you give an example? Want to see this remaining moves in pgn. You already have chessbase. May I know what do you want to achieve with all of these? :) I'm very busy with finding best ways to make and train repertoires. I divide the repertoires in small pgn files ordered by opening. Than I make ...
by Jonathan003
Sun Mar 17, 2019 5:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

On that do you also want to remove the comment before the A0?. Yes I would like to remove also the comment before the eco code. I run the tactical analysis with the setting to 0, to make it fast. So the analysis is not trustworthy. Can you please make it also possible to not remove the remaining mo...
by Jonathan003
Sun Mar 17, 2019 5:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

Here are some exemples where it goes wrong. pgn: my games.pgn [Event "Chess Position Trainer"] [Site "Chess Position Trainer"] [Date "????.??.??"] [Round "?"] [White "My White Opening"] [Black "Black Opening"] [Result "*"] [ECO "A58"] [Annotator "Tactical Analysis 2.10 (6s)"] [PlyCount "39"] {[%evp ...
by Jonathan003
Sun Mar 17, 2019 3:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

I think your script doesn't always work because chessbase 15 generates errors in the notation when doing tactical analysis.
I have send an email to chessbase. I hope they can fix it.
Here are some exemples. I have many more exemples.
by Jonathan003
Sun Mar 17, 2019 1:42 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

Most of the time it works correct. But sometimes there is no annotation with the eco code and the openings name. Also sometime there is another annotation right in front of the eco code. I'm trying to figer out how you did it. But it seams really complicated. Could you post a sample input game wher...
by Jonathan003
Sun Mar 17, 2019 1:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How to cut these pgn games.
Replies: 45
Views: 6803

Re: How to cut these pgn games.

You need a trailing asterisk in the PGN body text after trimming. Seems like you are simply looking for a named opening db. Maybe you want something like this: https://drive.google.com/open?id=1LZsVPYp3RaE5JXl4m9xhrrU_-jZvxINR No I first want to study my repertoire to eco related lengt. My plan is ...