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

Re: 9x9 and 13x13 download - NEW URL



Hello,

 I don't know if you ever have been at
http://www.sbox.tu-graz.ac.at/home/hollosi/sgf/ which is maintained by Arno
Hollsi. He has been the motor behind version 4 of SGF. In there it says
that any character can be escaped by "\", but "]", "\" and ":" has to be
escaped. This has not been so clear to everybode before. In version 4 it is
a must and earlier I think it was only noted in "User Guides". But as you
understand "]" should be escaped in every version of SGF.

 On Arno Hollosis WWW page you can download a program that can convert from
version 1-3 to version 4. I think that program is smart enougth to fix this
kind of problem. But I'm not 100% sure. Have not tested it.

 I hope everyone that is working on GO software is implementeing version 4
of SGF in your programs. And read Arno Hollosis WWW pages very carefully.

 Jens Yllman

At 07:16 1998-04-30 +0200, you wrote:
>>http://www.daimi.aau.dk/~tusk/go/
>
>I've reduced these to just the strong games (defined as both players being 6
>kyu or higher):
>  http://www.netschool.co.jp/darren/strong9.zip  (40KB)
>
>There are two sgf files split into even (357) and handicap (2) games.
>
>-----------------
>
>While sorting them out I started getting some strange results. I eventually
>tracked it to square brackets being used inside comments, which meant my
>program missed the bracket that closed the comment and about 300 games went
>missing (a rather big comment!).
>
>The demon smiley:   :-[
>
>I think [ and ] should be preceded by a \ character in a comment.
>
>I also had to allow for people writing "[something]" in their comments,
>though that is relatively easy by incrementing a counter if a [, and
>decrementing if a ], and not leaving the comment until the counter is back
at 0.
>
>BTW, the way I eventually tracked down the problem was by looking for (; in
>a [] pair, which strongly suggests the comment did not get closed and has
>run into the next game. I then had it print out the next 400 characters so I
>could identify that game, then I edited the file by hand to remove the
>offending [.
>
>Was there an easier way?
>
>Darren

------------------------------------------------------------
Jens Yllman                       http://www.uniweb.se/~jens