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" <[email protected]> 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" <[email protected]> wrote: > >> http://www.red-bean.com/sgf/backgammon.html >> >> >> On 04/06/09 11:06 PM, "Dan O'Farrell" <[email protected]> wrote: >> >>> Hi, >>> >>> 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. >>> >>> >>> Regards, >>> >>> Dan >>> >>> >>> _______________________________________________ >>> Bug-gnubg mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/bug-gnubg >> >> >> _______________________________________________ >> Bug-gnubg mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/bug-gnubg >
_______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
