Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Scid problem with PGN files

Author: Allen Lake

Date: 17:40:04 08/03/02

Go up one level in this thread


On August 03, 2002 at 16:52:59, Steve Coladonato wrote:

>On August 02, 2002 at 21:17:08, Allen Lake wrote:
>
>>On August 02, 2002 at 13:51:57, William Penn wrote:
>>
>>>(I'm running W98se/IE6.)
>>>
>>>---------------------------
>>>Scid problem with PGN files
>>>---------------------------
>>>
>>>Scid (version 3.3) used to work OK in its operations with PGN files. However now
>>>it apparently thinks PGN files are all "read only". It will not create a PGN
>>>file, nor perform manipulations which change the contents of a PGN file. Here is
>>>the error message I get if I try to copy games from a Scid database "mygames"
>>>into an ordinary PGN file "game.pgn"...
>>>
>>>Cannot copy games
>>>"mygames" -> "game.pgn:"
>>>the target database (game.pgn) is read-only.
>>>
>>>However viewing the properties of the "game.pgn" file shows that it does NOT
>>>have the read-only attribute set! I tried setting then removing the read-only
>>>attribute for the PGN file, but it has no effect. Also I tried reinstalling
>>>Scid, and that doesn't help.
>>>
>>>The only thing I can think of is that I installed Chessbase 7.0 recently, and
>>>PGN files on my system are now listed as "Chessbase 7.0" type files. I tried
>>>changing the association of PGN files from Chessbase 7.0 to another program,
>>>such as Notepad (a text editor), but that doesn't help. Also, if Chessbase 7.0
>>>is the cause of the problem, then I may be stuck up the proverbial creek.
>>>Chessbase 7.0 is not listed in Control Panel under Add/Remove Programs, so I
>>>have no way to remove it cleanly.
>>>
>>>What to do?!
>>>H9
>>
>>
>>Are you using the "Export current game" or Export all filter games" menu items
>>under the Tools menu?  Each of those items has an "Export to PGN" option.
>>
>>Scid has always loaded PGN files as read-only and you cannot add comments,
>>analyses, or annotations to games contained in a PGN file.  If you want to
>>manipulate the games in a PGN file, you'll need to create a new database (under
>>the File menu), then import the PGN games into the new database (under the Tools
>>menu).  After you do what you want to the games in the new database, you can
>>then export the games back to a PGN file.
>
>
>Shane has provided a utility to convert pgn files to Scid format files.  It is
>named pgnscid.  From the command line you just invoke it with the name of the
>pgn file e.g. pgnscid mygames.pgn.  It will create three Scid format files with
>the extensions .si3, .sg3, and .sn3.  In this example they would be mygames.si3,
>mygames.sg3, and mygames.sn3
>
>Steve

<whacks self on side of head>

I always forget about pgnscid, since I rarely use it.  Users on UN*X and Linux
systems also have the sc_import script for importing PGNs into a Scid database
and the scidpgn script to export games from a Scid database to PGN.




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.