Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Convert PGN to a book

Author: Uri Blass

Date: 12:46:27 12/12/04

Go up one level in this thread


On December 12, 2004 at 14:17:12, Michel Langeveld wrote:

>I tried to convert the following PGN to a chessbase book. If I try it than all
>NAG's are ignored. Does someone knows a way to convert a PGN including NAG's to
>a book?
>
>So I am looking for a tool that:
>* can convert PGN to a book
>* can edit books
>* convert PGN's including NAG's
>
>[Event ""]
>[White ""]
>[Black ""]
>1.e4 $1 *
>
>
>[Event ""]
>[White ""]
>[Black ""]
>1.d4 $2 *
>
>[Event ""]
>[White ""]
>[Black ""]
>1.f4 $3 *
>
>[Event ""]
>[White ""]
>[Black ""]
>1.g4 $4 *
>
>[Event ""]
>[White ""]
>[Black ""]
>1.h4 $5 *
>
>[Event ""]
>[White ""]
>[Black ""]
>1.e3 $6 *
>
>[Event ""]
>[White ""]
>[Black ""]
>1.d3 $7 *
>
>Thanks in advance
>
>Michel

Thanks for posting this pgn.
I thought that I have no bugs in my code to read pgn file after reading
Edition8.pgn with no problem but it seems that latest movei has a bug because
movei does not detect end of game.

game usually end with something like 1-0 that is illegal move that is
transalated to new game but here it does not see some string that it translates
to new game and the result is that there is an error in the next game because it
has the position after the last ply of the previous game.

Uri



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.