[Top][All Lists]

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

Re: [Bug-gnubg] FIBS oldmoves import

From: Joern Thyssen
Subject: Re: [Bug-gnubg] FIBS oldmoves import
Date: Fri, 31 Oct 2003 08:17:36 +0000
User-agent: Mutt/1.4.1i

On Thu, Oct 30, 2003 at 11:25:46PM +0100, Jim Segrave wrote
> On Wed 29 Oct 2003 (14:49 -0700), West, Robert wrote:
> > Snowie ignores all the extra text and extracts just the FIBS toggle
> > moves information.  I'm not why gnubg can't do the same thing.
> > Snowie can also pull multiple matches out of the same text file.
> > 
> > Here is an example game mixed in with the usual FIBS garbage....I
> > can load this directly into Snowie using IMPORT FIBS toggle moves
> > option.
> > 
> > It would be extremely useful to get gnubg to do this, as it should
> > not be client dependent and telnet output is as vanilla as it gets.
> Is there a spec anywhere describing all the valid lines a game might
> produce (to allow writing a parser which can discard the non-game
> material)?

gnubg should be able to read such a file. It'll only read the first
match, though.

gnubg is searching for

" %31s is X - %31s is O\n"

which is the place where the oldmoves log start.
It should ignore all other text in the log.


Attachment: pgpPotGBlTUR5.pgp
Description: PGP signature

reply via email to

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