Author: Salvo Spitaleri
Date: 00:24:03 04/23/05
Go up one level in this thread
On April 22, 2005 at 17:02:01, Dieter Buerssner wrote:
>On April 17, 2005 at 17:19:42, pavel wrote:
>
>>Some PGN help and questions:
>
>>2) How to divide a Big PGN database into small chunks based on ECO?
>
>Seems, there was no answer for this, yet. I believe, Scid can do it. But I
>cannot check at the moment. You could also try to ask Dann Corbit directly. You
>will easily find his email adress here. His "junkbase" is ordered by ECO. IIRC,
>it looks like typical Scid output.
>
>When everything fails, it would not be much work for me, to program this. Yace
>has some rather generic routines to parse PGN and store PGN. It also knows the
>ECO code of each processed PGN.
>
>Cheers,
>Dieter
Hi Dieter,
this dos command works:
pgn-extract -llogfile.txt -E3 collect.pgn
copy and paste from readme:
" * -E[123 etc.] - split output into separate files according to ECO.
o E1 : Produce files from ECO letter, A.pgn, B.pgn, ...
o E2 : Produce files from ECO letter and first digit, A0.pgn, ...
o E3 : Produce files from full ECO code, A00.pgn, A01.pgn, ...
o Further digits may be used to produce non-standard further
refined division of games.
All files are opened in append mode.
If you have eco.pgn in your pgn-extract dir you can also use this:
pgn-extract -llogfile.txt -E3 -e my.pgn
the -e will perform before the ECO classification on the input file and after
the -E3 split output into separate files according to ECO.
If you haven't the eco.pgn you can use the excellent YACE, type:
cadiz_pgn my.pgn myECO.pgn n
and you will be satisfied! -)
Cheers,
Salvo
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.