[Top][All Lists]

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

Re: Tools to convert xg file format to sgf

From: Turker Eflanli
Subject: Re: Tools to convert xg file format to sgf
Date: Sat, 15 Oct 2022 16:09:14 -0400

Awesome, thank you Øystein! 

On Sat, Oct 15, 2022 at 3:06 PM Øystein Schønning-Johansen <oysteijo@gmail.com> wrote:
The Smart Game Format (sgf) is pretty good documented here:

It was developed for Go, but Gary liked it, so he made a spec for backgammon.


lør. 15. okt. 2022 kl. 18:56 skrev Turker Eflanli <turkereflanli@gmail.com>:
It just parses the file, with the python scripts attached to this email thread, then shows biggest jokers and biggest blunders, nothing fancy, just makes it easier to concentrate on big errors 

On Sat, Oct 15, 2022 at 11:03 Chris Wilson <cw.vegas@gmail.com> wrote:
Sounds interesting. Would you be willing to make your program public? I'd love to see its output.

On Sat, Oct 15, 2022 at 7:50 AM Turker Eflanli <turkereflanli@gmail.com> wrote:
Thanks! However, I have a program that reads an XG file and creates a report. I would like to do the same on an sgf file, so I either need to convert it to xg format or need to figure out the sgf format itself so I can update my own program. I want to be able to do all this without the help of either XG or GNU interfaces

On Sat, Oct 15, 2022 at 10:44 AM Chris Wilson <cw.vegas@gmail.com> wrote:
XG supports importing .sgf files. Look under File>Import>GnuBG.


On Sat, Oct 15, 2022 at 7:36 AM Turker Eflanli <turkereflanli@gmail.com> wrote:
Does anyone know a way to convert a GNU analyzed sgf file to xg format? If not, is there documentation that explains the sgf format?

Thanks in advance
Turker Eflanli

On Sun, Aug 14, 2022 at 3:36 AM Øystein Schønning-Johansen <oysteijo@gmail.com> wrote:
Thank you so much, Turker.

I see I get some problems with this code when I try to read the WC2022 final, however, I think the problems are solvable.

I've gathered the code in a github repository:

And just as I did that, I also saw that another github user has already done the same 3 years ago:


fre. 12. aug. 2022 kl. 19:09 skrev Turker Eflanli <turkereflanli@gmail.com>:
Here they are - I don't remember where I had downloaded them from 

On Fri, Aug 12, 2022 at 12:01 PM Øystein Schønning-Johansen <oysteijo@gmail.com> wrote:
Thank you so much, Turker!

However, it would still be good to have the Petch-tools. :-)


fre. 12. aug. 2022 kl. 16:58 skrev Turker Eflanli <turkereflanli@gmail.com>:

Find attached the raw file that you can analyze in GNU

On Fri, Aug 12, 2022 at 10:12 AM Øystein Schønning-Johansen <oysteijo@gmail.com> wrote:

I was thinking of analysing the WC 2022 final and found the final available in .xg format.

I think Michael Petch wrote some tools to convert xg file into sgf format. Are these tools available somewhere?

that the python source for his tools are here:

However, it looks like this site is down.

BTW: How is Michael? Is he still subscribing to this list? I've not heard from him in a long time. He posts on his FB profile, but he isn't very responsive. :-)


reply via email to

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