[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 240: Undefined array key 1
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3076)
Life In 19x19 • Sabaki SGF editor
Page 1 of 11

Sabaki SGF editor

Posted: Thu Apr 14, 2016 7:07 pm
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 :)

Re: Sabaki SGF editor

Posted: Thu Apr 14, 2016 10:00 pm
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!

Posted: Thu Apr 14, 2016 10:15 pm
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. :)

Re: Sabaki SGF editor

Posted: Fri Apr 15, 2016 5:35 am
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.

Re: Sabaki SGF editor

Posted: Fri Apr 15, 2016 7:57 am
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 :)

Posted: Sat Apr 16, 2016 12:32 am
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. :)

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 2:07 am
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.

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 5:05 am
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

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 5:37 am
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.

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 5:46 am
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...

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 6:59 am
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!

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 9:34 am
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.

Re: Sabaki SGF editor

Posted: Sat Apr 16, 2016 10:44 pm
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 186707 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.

Re: Sabaki SGF editor

Posted: Sun Apr 17, 2016 3:00 am
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!

Re: Sabaki SGF editor

Posted: Sun Apr 17, 2016 5:24 am
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).