Re: Tools to convert xg file format to sgf

2022-10-15 Thread Turker Eflanli
Thank you Tim! I’ll check it out On Sat, Oct 15, 2022 at 17:33 Timothy Y. Chow wrote: > Turker Eflanli 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? > > Here's a link to some code that

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Timothy Y. Chow
Turker Eflanli 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? Here's a link to some code that someone wrote to convert a different format to sgf.

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Turker Eflanli
Awesome, great idea, thanks! On Sat, Oct 15, 2022 at 4:35 PM Philippe Michel wrote: > On Sat, Oct 15, 2022 at 12:55:36PM -0400, Turker Eflanli wrote: > > > It just parses the file, with the python scripts [...] > > If you're familiar with python you could consider using gnubg's internal >

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Philippe Michel
On Sat, Oct 15, 2022 at 12:55:36PM -0400, Turker Eflanli wrote: > It just parses the file, with the python scripts [...] If you're familiar with python you could consider using gnubg's internal python interpreter (accessed with a ">" in gnubg's CLI). For instance you could try something like

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Turker Eflanli
Awesome, thank you Øystein! On Sat, Oct 15, 2022 at 3:06 PM Øystein Schønning-Johansen < oyste...@gmail.com> wrote: > The Smart Game Format (sgf) is pretty good documented here: > https://www.red-bean.com/sgf/ > > It was developed for Go, but Gary liked it, so he made a spec for > backgammon. >

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Øystein Schønning-Johansen
The Smart Game Format (sgf) is pretty good documented here: https://www.red-bean.com/sgf/ It was developed for Go, but Gary liked it, so he made a spec for backgammon. -Øystein lør. 15. okt. 2022 kl. 18:56 skrev Turker Eflanli : > It just parses the file, with the python scripts attached to

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Turker Eflanli
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 wrote: > Sounds interesting. Would you be willing to make

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Chris Wilson
I thought there was something lying around that explained the .sgf format but I'm not sure where it came from. It's been a number of years ago, and the format may have changed a bit since then. I think I wrote something to parse the file. I'll have to take a look through my old programs. On Sat,

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Chris Wilson
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 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

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Turker Eflanli
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

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Chris Wilson
XG supports importing .sgf files. Look under File>Import>GnuBG. Chris On Sat, Oct 15, 2022 at 7:36 AM Turker Eflanli 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

Re: Tools to convert xg file format to sgf

2022-10-15 Thread Turker Eflanli
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 < oyste...@gmail.com> wrote: > Thank you so much, Turker. > > I see I