Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Clean up PGN

Author: Pete Galati

Date: 13:25:37 12/28/99

Go up one level in this thread


On December 28, 1999 at 15:50:33, Alvaro Rodriguez wrote:

>Hi, I wonder if there is a program that can "clean up" PGN and produce games
>that are PGN compliant? I used the chessmaster 6000 database and I make a large
>PGN file, like 300 mb . But when I create the book.bin and books.bin in crafty,
>I get error messages, like this: ERROR!   Move 20: dxe6ep is ellegal (line
>xxxxxxx). Thats why I wonder if such a program exists..
>
>Best wishes
>
>Alvaro

I used to copy pgn databases into new cbf databases with the Extreme Chess
program, and then copy them from there back into a pgn database and that cleabed
up an awfull lot of sloppy pgn files.  You might be able to do something like
that with Chessbase Lite using cbh files as a transfering format, hard to say,
might work.  But you can forget about running a file as large as 300mb through
it, I think the limit might be 8000 games before it gets brain freeze.

In the example you give above, I don't think Crafty liked seeing "ep" (a guess)
because I don't really thing that's standard pgn notation.  You can probably use
a monster strength editor like Emacs from GNU to replace things like "ep" with
nothing, and then Crafty might be more willing to parse those moves.

Pete



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.