Sabaki SGF editor

Tell the community about tournaments, new go sites, software updates, etc.
Post Reply
User avatar
fireproof
Lives with ko
Posts: 172
Joined: Sat Apr 20, 2013 8:22 am
GD Posts: 0
Universal go server handle: fireproof
Location: Santa Barbara, CA
Has thanked: 235 times
Been thanked: 77 times

Sabaki SGF editor

Post by fireproof »

A fairly new SGF editor just popped up (though it seems it's been in development for the last year or so): Sabaki https://github.com/yishn/Sabaki.

Looks like it'll run on OS X, Linux, and Windows.

Features

  • Fuzzy stone placement
  • Read and save SGF games and collections
  • Display formatted SGF comments
  • SGF editing tools
  • Lines & arrows markup
  • Game graph
  • Scoring tool
  • Find move
  • Position & move annotations
  • GTP engines support
  • Guess mode

My favorite details is the slightly off-grid placement for each of the stones :)
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Sabaki SGF editor

Post by Kirby »

fireproof wrote:My favorite details is the slightly off-grid placement for each of the stones


Now that you mention it, that really bothers me!
be immersed
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

My favorite details is the slightly off-grid placement for each of the stones
Now that you mention it, that really bothers me!
Clearly the user should be able to toggle it. :)
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Sabaki SGF editor

Post by Sneegurd »

It has an option "Fuzzy stone placement" which is turned on as default.

I wonder how engines work. I can add them but I have no clue how I can play against an engine or let it generate a move.
EDIT: The added engines appear after a restart of the software.
User avatar
fireproof
Lives with ko
Posts: 172
Joined: Sat Apr 20, 2013 8:22 am
GD Posts: 0
Universal go server handle: fireproof
Location: Santa Barbara, CA
Has thanked: 235 times
Been thanked: 77 times

Re: Sabaki SGF editor

Post by fireproof »

Kirby wrote:
fireproof wrote:My favorite details is the slightly off-grid placement for each of the stones


Now that you mention it, that really bothers me!


The flat stones are what get me :)
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

fireproof wrote:The flat stones are what get me :)
Clearly, the user should also be able to toggle between (slate & shell) v. flat stones. :)
User avatar
yishn
Dies in gote
Posts: 57
Joined: Tue Jun 30, 2015 2:37 am
Rank: 4 kyu
GD Posts: 0
Location: Germany
Been thanked: 15 times
Contact:

Re: Sabaki SGF editor

Post by yishn »

Hello, I'm the developer of Sabaki. Ask me anything!

@Kirby: You can turn off fuzzy stone placement in the preferences.

@Sneegurd: Hm... The engines should appear as soon as you finished setting them up. This might be a bug. Can you tell me your OS? Also, if you're playing against GNU Go, you have to pass the following arguments to let GNU Go play in GTP mode: `--mode gtp`

EDIT: Yes, it is indeed a bug. It's fixed now and will be shipped with the next release.

@fireproof, @EdLee: I've designed those stones myself, so they might not look 'real'. If you got free, good-looking stones that I can use you're welcome to share them with me. :)

If you're very desperate, you can change the image files yourself. They are located in `./resources/app/img/goban/`. Sabaki currently uses `stone_1.png` and `stone_-1.png` for black and white stones respectively.
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Sabaki SGF editor

Post by Sneegurd »

Hi yishn, thanks for your effort! I have Win7x64. Also I experienced that maybe arguments do not fully work? I am not sure.
Pachi 11 example:

Argument is:
-d 0 threads=1 -f book.dat

So with this argument it should use an opening book file "book.dat", the file is in the pachi.exe directory. Works in Drago, but no use of book here. It also doesn't work with absolute paths. No hint of book loading in engine output. I am under the impression that arguments do not work at all. It's in version 0.11.5

- I think the transparent stones for next move should scale with the UI. EDIT: All markers... (Triangles etc...) should scale
- Maybe some more love for engine game setup, time management...? :)
- Fullscreen should maybe be bound to a more common hotkey: F11
User avatar
yishn
Dies in gote
Posts: 57
Joined: Tue Jun 30, 2015 2:37 am
Rank: 4 kyu
GD Posts: 0
Location: Germany
Been thanked: 15 times
Contact:

Re: Sabaki SGF editor

Post by yishn »

Sneegurd wrote:Pachi 11 example:

Argument is:
-d 0 threads=1 -f book.dat

So with this argument it should use an opening book file "book.dat", the file is in the pachi.exe directory. Works in Drago, but no use of book here. It also doesn't work with absolute paths. No hint of book loading in engine output. I am under the impression that arguments do not work at all. It's in version 0.11.5


Arguments definitely work, I suspect it's because Sabaki doesn't set the working directory when executing engines. As a workaround for now, you can specify an absolute path to "book.dat" and make sure you have the path inside quotes:

-d 0 threads=1 -f "C:\path to\book.dat"

Sneegurd wrote:- I think the transparent stones for next move should scale with the UI. EDIT: All markers... (Triangles etc...) should scale


This is definitely a long term goal. The current implementation is to let CSS handle all board markup stuff due to my lazyness and CSS can't calculate pixels according to the board size afaik.

Sneegurd wrote:- Maybe some more love for engine game setup, time management...? :)


What do you mean by engine game setup? Since every engine has different options, I'm not sure how feasible it would be.

Sneegurd wrote:- Fullscreen should maybe be bound to a more common hotkey: F11


In Mac OS X F11 is usually reserved for some OS-specific task and I'm not sure if it is worth the trouble to have different shortcuts for different OS.
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Sabaki SGF editor

Post by Sneegurd »

Ah, quotes usually are only necessary when paths have spaces-- but it works, thanks!
With engine game setup I mean if you may add some time management options like canadian byo-yomi etc... Also, if we click "new game" that already there you can specify that you want to do an engine game...
User avatar
yishn
Dies in gote
Posts: 57
Joined: Tue Jun 30, 2015 2:37 am
Rank: 4 kyu
GD Posts: 0
Location: Germany
Been thanked: 15 times
Contact:

Re: Sabaki SGF editor

Post by yishn »

Sneegurd wrote:With engine game setup I mean if you may add some time management options like canadian byo-yomi etc...


To do this, Sabaki should have some way to display the time first. I'm figuring out how to do so efficiently and unobstrusively.

Sneegurd wrote:Also, if we click "new game" that already there you can specify that you want to do an engine game...


Good idea! Thanks for your input!
User avatar
fireproof
Lives with ko
Posts: 172
Joined: Sat Apr 20, 2013 8:22 am
GD Posts: 0
Universal go server handle: fireproof
Location: Santa Barbara, CA
Has thanked: 235 times
Been thanked: 77 times

Re: Sabaki SGF editor

Post by fireproof »

yishn wrote:@fireproof, @EdLee: I've designed those stones myself, so they might not look 'real'. If you got free, good-looking stones that I can use you're welcome to share them with me. :)

If you're very desperate, you can change the image files yourself. They are located in `./resources/app/img/goban/`. Sabaki currently uses `stone_1.png` and `stone_-1.png` for black and white stones respectively.


Wonderful! I'll try to create some images on my own and if they're any good I'd be happy to share them with you.
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Sabaki SGF editor

Post by Sneegurd »

fireproof wrote:Wonderful! I'll try to create some images on my own and if they're any good I'd be happy to share them with you.

Yeah, this is great. I'm using the altered Drago default stones (for personaly use, that is) which I linked here a while ago: http://senseis.xmp.net/?topic=2782
You can use the black61.png/white61.png, it works.

Screenshot, and look at the lovely stone placement, I like it.
Zwischenablage-1.png
Zwischenablage-1.png (606.63 KiB) Viewed 186722 times


@OP, just a very minor thing...
- as for off grid placement (which was a good idea), can you show the "current stone" marker also off grid, i.e. in the center of the stone? Looks less weird then, I guess.
- Also a minor one: The file menu has no "Exit" at the bottom, which at least on Windows ...any... application has, I found myself trying to exit your application from there pretty often...
- All lines pngs have a kind of "shadow line", one pixel, which makes the grid look.. blurry. Like as if my eyes get old... :) But I may fix that for myself.
User avatar
yishn
Dies in gote
Posts: 57
Joined: Tue Jun 30, 2015 2:37 am
Rank: 4 kyu
GD Posts: 0
Location: Germany
Been thanked: 15 times
Contact:

Re: Sabaki SGF editor

Post by yishn »

Sneegurd wrote:- as for off grid placement (which was a good idea), can you show the "current stone" marker also off grid, i.e. in the center of the stone? Looks less weird then, I guess.


Sabaki should display board markups in the center of the stone regardless of fuzzy placement. Sabaki's stone images have a right-bottom shadow which takes about 8% of the image width and height, so Sabaki compensates this by placing all the markers a little bit to the left top. I think your custom stones don't have any shadow padding... To fix this, you can resize your image canvas to 108%.

Sneegurd wrote:- Also a minor one: The file menu has no "Exit" at the bottom, which at least on Windows ...any... application has, I found myself trying to exit your application from there pretty often...


I deem that unnecessary, as there are so many ways to close a window already. The closest one is, instead of opening the 'File' menu you can click on the window icon and click on 'Close'.

P.S. I solved the problem with the scalable board markup. This will be shipped with the next release!
Amtiskaw
Dies in gote
Posts: 38
Joined: Sun Apr 17, 2016 5:22 am
GD Posts: 0
Has thanked: 4 times
Been thanked: 20 times

Re: Sabaki SGF editor

Post by Amtiskaw »

I'd just like to say I really like the default Sabaki stones. Although they don't look "realistic", there's something about the aesthetic of them (especially the black ones).
Post Reply