Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CA 6.1 pgn format

Author: Odd Gunnar Malin

Date: 13:52:34 07/14/02

Go up one level in this thread


On July 14, 2002 at 14:25:09, Odd Gunnar Malin wrote:

>On July 14, 2002 at 12:42:31, Steve Coladonato wrote:
>
>>On July 13, 2002 at 14:17:54, Odd Gunnar Malin wrote:
>>
>>>On July 13, 2002 at 12:44:05, Will Singleton wrote:
>>>
>>>>From what I can see, CA 6.1 exports game bases in a pseudo-pgn format.  Does
>>>>anyone know of a program which will read these and output standard pgn?
>>>>
>>>>Will
>>>
>>>If it is the special escape strings, you can turn it off with unmarking
>>>tools\options\general\use ca markup in pgn.
>>>
>>>For other problems you can use the extract32 tool. I guess you will find it on
>>>most download pages.
>>>
>>>oddGM
>>
>>The biggest problem I have is that CA exports a "Z0" symbol in the pgn file.  I
>>don't know what it is but SCID doesn't like it.  Do you happen to know what this
>>symbol is?  Unmarking the "use ca markup in pgn" option doesn't remove it.
>>
>>Steve
>
>Hi.
>
>I don't think I have seen this, do you have an sample?
>
>Anyway after you turn off the marker you have to restart CA to get it to work.
>
>I have made a command for pgn-files in the explorer assosiation box so I can run
>a converter tool just by right clicking on them and select a convert command.
>
>Here is the cmd file that is running:
>
>del tmp0tmp.pgn
>d:\Utility\PGNBeauty.exe %1 tmp0tmp.pgn
>del %1
>d:\utility\Extract32.exe -a%1 tmp0tmp.pgn
>del tmp0tmp.pgn
>
>
>PGNBeaty is just a little tool to remove unneeded pgn headers (empty headers).
>
>I run it whenever I shall share some pgn-files with other's.
>
>
>I took some heavy gamefiles with comment and variation but could not find your
>"Z0" in any of them.
>
>Odd Gunnar


Ok, I tested a little and it seem that extract32 isn't the right tool.

Here is a game it don't manage to read:

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "A31"]

1.c4 c5 2.Nf3 Nf6 3.d4 cxd4 4.Nxd4 e5 ( 4...b6 {?!} 5.Nc3
( 5.f3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 $14 {/=} ) ) e6 )
( 4...g6 5.Nc3 ( 5.g3 ) ) 5.Nb5 ( 5.Nf3 Nc6 ( 5...e4 {?!} 6.Nd4
d5 $14 ) 6.Nc3 Bb4 7.Bd2 O-O 8.g3 {=} ) ( 5.Nc2 d5 6.cxd5 Qxd5
7.Qxd5 Nxd5 8.e4 {=} ) d5 ( 5...Bc5 6.Nd6+ Ke7 $14 {/=} ) 6.cxd5
Bc5 ( 6...Qa5+ {?!} 7.N5c3 b5 $14 ) 7.e3 ( 7.N5c3 O-O 8.h3
( 8.e3 ) e4 9.g4 Re8 {=} ) O-O 8.N5c3 ( 8.Be2 {?!} Nxd5 $15 )
e4 ( 8...Bf5 {?!} 9.a3 $14 ) ( 8...Qe7 9.Be2 e4 ) 9.Be2 Qe7
( 9...Re8 {=} ) 10.a3 Rd8 11.b4 Bd6 12.Bb2 Bf5 13.Nd2 Nbd7 {=} *


So it's out to search for another commandline utility, or write my own.

Odd Gunnar



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.