[Top][All Lists]

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

Re: [Bug-gnubg] SGF documentation

From: Michael Petch
Subject: Re: [Bug-gnubg] SGF documentation
Date: Thu, 04 Jun 2009 23:42:05 -0600
User-agent: Microsoft-Entourage/

I’d personally use sgf.c (in the gnubg source) as a template for creating your own code that reads the format in. However if you don’t want to go that far (or for license reasons you are rolling your own) you may be able to review the SGF.C file for all the function names beginning with “Write”. You can get a pretty good idea of what the values being written are, by looking at the printf statements.

I don’t believe at present that all of the rollout and analysis entries in the SGF files are properly documented. I haven’t seen them, but I am sure someone will correct me.

On 04/06/09 11:27 PM, "Michael Petch" <address@hidden> wrote:

Sorry, I may have answered too quickly. When you mean “values”, are you referring to the Rollout and Analysis data part of the file?

On 04/06/09 11:11 PM, "Michael Petch" <address@hidden> wrote:


On 04/06/09 11:06 PM, "Dan O'Farrell" <address@hidden> wrote:

I'm hoping someone can help me.
I'm designing a database  to hold the content of an analysed sgf file for querying & reporting purposes.
The problem I have is trying to understand the actual values held in an analysed sgf file i.e.  what the various values mean.
I've read up on the FF4 file format and understand the structure.
I can deduce what some of the actual values are but with others I'm left guessing.
I'm not a C/C++ programmer so deciphering the source code would be a nightmare.
My question is this...is there an internal document to the gnubg developers which specifies  what the various values in a sgf file are and what they mean?.
If there is, would it be possible for me to have a copy of the document (or documents)?
Any help would be much appreciated.

Bug-gnubg mailing list

Bug-gnubg mailing list

reply via email to

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