Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Can you program understand the following pgn?

Author: Uri Blass

Date: 21:12:08 11/23/04

Go up one level in this thread


On November 24, 2004 at 00:06:19, Uri Blass wrote:

>On November 23, 2004 at 23:00:47, Robert Hyatt wrote:
>
>>On November 23, 2004 at 11:09:47, Uri Blass wrote:
>>
>>>Can your program understand the following pgn?
>>>
>>>Movei still does not understand it and consider the +- as an error
>>>Fritz understands it.
>>
>>There are several errors.  PGN says xx. move, not xx.move.  Also the notations
>>of !? are not supposed to be there in non-comments so far as I know.  I made one
>>change to crafty's "InputMove()" procedure, to ignore the !/? characters, and it
>>reads this pgn just fine.  But it is an example of violating the standard,
>>clearly...  Move 13 for white is one problem.
>
>The problem is that games that are for download in the internet often do not use
>the pgn standard
>
>I downloaded this game in the following link(used scid to get pgn from more
>compressed format)
>
>http://www.freewebs.com/pc-chess/Free%20Downloads.htm
>
>Note that I did not downloaded most of the games and I downloaded only the first
>2000 games and used the default option to translate them to pgn by scid(the
>first time that I use that program).
>
>After opening the database with scid I used
>tools->export all filter games to pgn file
>
>The mistake of using xx.move instead of using space seems to be a bug in scid
>because scid exported the games to pgn file and it produced the wrong file based
>on compressed pgn.
>
>I used the default option and maybe the pgn is better by changing
>export comments,export variations,Indent variations,symbolic annotation style
>from yes to no
>
>I want to calculate some statistics on pgn files and I do not like to get errors
>in reading them.
>
>
>Uri

It seems that it helps and after using these options I get the following game.
still not the pgn standard but at least something better that movei is able to
read.

[Event "Amber-rapid 10th"]
[Site "Monte Carlo MNC"]
[Date "2001.03.22"]
[Round "5"]
[White "Anand, Viswanathan"]
[Black "Ivanchuk, Vassily"]
[Result "1-0"]
[WhiteElo "2790"]
[BlackElo "2717"]
[ECO "C88k"]
[EventDate "2001.03.17"]

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 O-O 8.a4 b4
9.d3 d6 10.a5 Be6 11.Nbd2 Bxb3 12.Nxb3 Re8 13.h3 Qd7 14.Bg5 h6 15.Bh4 Nh7
16.Bxe7 Rxe7 17.d4 exd4 18.Nfxd4 Nf6 19.f3 Nxd4 20.Qxd4 Qb5 21.Qd3 Qg5 22.
Qd2 Qxd2 23.Nxd2 Rae8 24.Nb3 c5 25.Red1 Re6 26.Rd2 Kf8 27.Rad1 Ke7 28.Nc1
Rd8 29.Nd3 Rd7 30.b3 g5 31.Kf2 Rb7 32.Nb2 Rb5 33.Nc4 Ne8 34.e5 dxe5 35.
Rd7+ Kf6 36.Ra7 Kg6 37.Rdd7 f6 38.Rd8 h5 39.Rda8 h4 40.Rxa6 Nc7 41.Rxe6
Nxe6 42.a6 Nc7 43.Ra7 1-0

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.