Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CA 6.1 pgn format

Author: Odd Gunnar Malin

Date: 15:12:41 07/14/02

Go up one level in this thread


On July 14, 2002 at 17:51:57, Shane Hudson wrote:

>On July 14, 2002 at 17:37:40, Odd Gunnar Malin wrote:
>
>>On July 14, 2002 at 17:01:46, Steve Coladonato wrote:
>>
>>>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
>>>
>>>
>>>If you export the "Elite" database to PGN format, you should get a "Z0" symbol
>>>at the following game.
>>>
>>>Error reading move in game Polgar Judit (GM) (HUN) - Granda Zuniga Julio E
>>>(PER), 1995: Kh8
>>>
>>>There are many games in the file that have that "Z0" symbol.  I didn't restart
>>>CA after turning off the marker so that may be where the problem is.  I'll check
>>>it and get back to you.  (I'm mainly running Linux and have to reboot to
>>>Windows).
>>>
>>>Steve
>>
>>
>>Ok, I see it.
>>
>>30.Nd6 Bxf6 31.Qxf7+ Z0 ( 31...Kh8 32.Ne8 Ra6 33.Bf8 $18 ) 1-0
>>
>>Z0 is a nullmove.
>>
>>As I can see so isn't this covered by the standard. Chessbase have their own
>>implemation of these too. I don't know about scid, you could try to see how it
>>save a null move in pgn and use a replace tool on the file.
>>
>>I didn't follow the pgn debat on rgcc but if this wasn't up someone should
>>suggest some sort of nullmove/anymove for Steven Edwards so he gets it in when
>>he revise the standard. Hopefully with something that is easy to do a text
>>replace on CA/CB files to get them compatible.
>>
>>Odd Gunnar
>
>I have deliberately not implemented null moves in Scid yet, until there
>is some recognition of them in a revised PGN standard. In general a game
>with null moves may not be able to be converted to standard compliant PGN
>without losing some information (e.g. cutting off variations at the point
>where the null move occurs), but in the example given,
>    31.Qxf7+ ZO ( 31...Kh8 {...} )
>could be converted to
>    31.Qxf7+ ( 31.Qxf7+ 31...Kh8 {...} )
>so if the only use of "ZO"-denoted null moves in a PGN file is at the
>end of the game as in that example, it should be fairly easy to convert
>them with a regular expression.
>
>Shane

I would guess the most common place would be  31.Qxf7+ ( {idea} Z0
32.Ne8{followed by} Z0 33.Bf8 +- )
Or in the sentence 'anymove'.

There was a CB post here (in the CB-pgn debat) with a nullmove that wasn't at
the end, and also in CA it don't need to be at the end.

Tho it isn't nice of CA or others to extend the pgn like this, espesially when
they have a switch to turn on CA-extention to pgn for exchanging files between
CA-users.
They could just add these moves in the comment field for their compatibility
format and all would be happy :)

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.