[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Joining or including .sgf games

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Joining or including .sgf games
Date: Wed, 30 Jul 2003 21:11:00 +0000
User-agent: Mutt/1.4.1i

On Wed, Jul 30, 2003 at 05:45:36PM -0300, Albert Silver wrote
> Hi,
>       I have a problem. I'm in the process of preparing a very long
> and detailed analysis of a match file. There are many rollouts in it,
> but I've encountered a mistake in the 18th game's notation. I know how
> to start a game over or continue from a certain point, so I can easily
> overwrite the last moves of the game, but doing so will erase the
> subsequent 11 games as well. How can I re-attach the following 11 games
> to the main file without losing the information accumulated in the first
> 18 games? I'd like to preserve the statistics of the entire match,
> otherwise I'd just split them in two files.

Each game will start with (;FF[4] and end with a balanced ). You can
copy the first 17 games to a new files, correct the 18th game, append it
to the first file, and append the remaining 11 games from the original
file. In your case this should work with no problems.

You could do the same to add or remove a game, but you would then
manually have to change the game numbering in the SGF file otherwise the
numbering would be wrong in the last 11 games. But since you don't add
or remove any games you'll have no problems. I would save a backup copy
first, though :-)

I never tested it, but you could even construct a SGF file which
contains three games, each from different matches of different lengths.
gnubg would still analyse the "match" correctly. A special case of this
would be the log from a rollout which would be a "match" consisting of
1296 games which all start from the same position and score.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]