Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Arena 1.99 Beta 2 is available for download............

Author: William Penn

Date: 21:46:41 01/21/06

Go up one level in this thread


On January 21, 2006 at 21:21:11, Mike Byrne wrote:

>On January 21, 2006 at 18:09:20, Robert Hollay wrote:
>
>>On January 21, 2006 at 11:41:10, Mike Byrne wrote:
>>
>>>On January 21, 2006 at 10:18:26, William Penn wrote:
>>>
>>>>On January 20, 2006 at 08:15:24, Christopher Conkie wrote:
>>>>
>>>>>Life just gets better and better.......
>>>>>
>>>>>Go now........download........here........
>>>>>
>>>>>http://www.playwitharena.com/
>>>>>
>>>>>In the Arena Download section on the left hand side menu.
>>>>>
>>>>>:-)
>>>>>
>>>>>Christopher
>>>>
>>>>I haven't been able to use prior versions of Arena because they don't have a
>>>>"replace" operation. I need to be able to load a game from a database, modify
>>>>it, then replace it in the database at the same position. Arena only has a
>>>>"save" operation, so the game is saved at the end of the database (appended) -
>>>>messing up the order of games in the database. Can you tell me if this has been
>>>>fixed/implimented in the new version?
>>>>Thanks,
>>>>WP
>>>
>>>No, it is not a fucntion that Arena has.  Although, I agree it would be a "nice
>>>to have" function.  Perhaps if you contact the authors, they could add it to
>>>their list?
>>
>> Games which are saved under Arena in PGN format are not in a database, but in
>>an ordinary file, sequentially written.
>> It's difficult to replace or delete games in a sequential file.
>> The only possible operation is appending the new game at the end.
>> It would be much better to use a true database for that purpose, a lightweight
>>database, e.g. dBase or Paradox, which have indexed search capabilities and
>>all the above mentioned functions.
>
>Good point - AFAIK, no one has a replace command when using simple text pgn
>files.
>
>Michael

Not true!

The Chessbase Fritz GUI (such as came with Shredder 8) and the Shredder Classic
9.1 GUI have a replace operation, and it works fine on PGN files.

It is not difficult to do this with a sequential database. You divide the
database into 3 strings, the middle string being the game that's modified. Then
after modification, you put the 3 strings back together. Pretty simple.
WP



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.