Sabaki SGF editor

Tell the community about tournaments, new go sites, software updates, etc.
Post Reply
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 »

Uberdude wrote:How about being cleverer about when to update: if you know the game record is small (e.g. the sgf is under 5kb which should cover most game records, or count the nodes) then try to update the game tree immediately, but delay for big files?


I just tested immediately updating the game graph and the performance is actually not a problem. The actual problem is the graph camera animation. It stutters when the user navigates too fast.

I have reduced the sidebar lag from 300ms to 100ms and it's working great. It doesn't feel too long and the camera animation doesn't stutter too much.
quanloh
Beginner
Posts: 15
Joined: Wed Jul 13, 2016 8:58 pm
Rank: OGS 14k
GD Posts: 0
KGS: quanloh
IGS: quanloh
OGS: quanloh
Online playing schedule: OGS 1900-2200 GMT+8
Been thanked: 5 times

Re: Sabaki SGF editor

Post by quanloh »

Hi yishn,

Thank you so much for such a beautiful editor! Huge fan of your work :bow:

Suggestion:
List view/sorting feature for 'Manage Game' section. The current viewer listed out all the games in thumbnail form, it would be very helpful if the list view or sorting feature is included.

Thank for the work! :salute:
diapir
Beginner
Posts: 2
Joined: Wed Nov 16, 2016 2:51 am
GD Posts: 0
Location: Berlin, Germany
Has thanked: 1 time

Re: Sabaki SGF editor

Post by diapir »

Hello,
I am a beginner and really love this SGF editor too and currently start to use it on Mac. Thank you very much for this tool!

But I have a problem to continue saved games when playing against an engine.
Workflow:
1. Start game
2. Save SGF
3. Quit Sabaki
4. Start Sabaki
5. Load SGF
The engine does not come back to answer my moves. For my understanding there is the function Engine > Generate Move (F5) for. But it does nothing.
Maybe I have overseen something or if there is an answer in this thread, which I misunderstood...

Thank you a lot!
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 »

diapir wrote:Hello,
I am a beginner and really love this SGF editor too and currently start to use it on Mac. Thank you very much for this tool!

But I have a problem to continue saved games when playing against an engine.
Workflow:
1. Start game
2. Save SGF
3. Quit Sabaki
4. Start Sabaki
5. Load SGF
The engine does not come back to answer my moves. For my understanding there is the function Engine > Generate Move (F5) for. But it does nothing.
Maybe I have overseen something or if there is an answer in this thread, which I misunderstood...

Thank you a lot!


Hi, the engine will not be saved with your file, so you have to reattach the engine. Just go 'Engine' > 'Attach' > '[Engine Name]' and then generate a move.
diapir
Beginner
Posts: 2
Joined: Wed Nov 16, 2016 2:51 am
GD Posts: 0
Location: Berlin, Germany
Has thanked: 1 time

Re: Sabaki SGF editor

Post by diapir »

yishn wrote:
diapir wrote:The engine does not come back to answer my moves.
Hi, the engine will not be saved with your file, so you have to reattach the engine. Just go 'Engine' > 'Attach' > '[Engine Name]' and then generate a move.

Works fine and made my day! :tmbup:
Thank you!
User avatar
Koosh
Lives with ko
Posts: 202
Joined: Thu Aug 05, 2010 8:26 pm
Rank: AGA 2 dan
GD Posts: 54
Location: Raleigh, NC
Has thanked: 94 times
Been thanked: 53 times
Contact:

Re: Sabaki SGF editor

Post by Koosh »

Hey yishn! I have some additional feedback for you. :salute:

Recently, I needed to take a marked up SGF file with comments and variations and upload it to a go server to work with a teacher to review it. I didn't want my cluttered self review with opponent to show up, so I had to manually go through it, trimming the variations off by hand and deleting the comments.

I believe that there are a few SGF editors out there that offer half of this functionality. SmartGo has a manual editor where you can remove tags, one by one, like the hotspot tag or circle, square, etc. I also think MultiGo has an option to remove all variations and reduce to the main line only.

An option to remove all variations, all tags, and all comments (or three options) would be a pretty nice addition to the sabaki client, in my humble opinion.
Ko is the best solution.
With Ko, I can keep eating and drinking until I am full.

Visit >>>Koosh's Study Journal<<<
dfan
Gosei
Posts: 1598
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Sabaki SGF editor

Post by dfan »

Koosh wrote:An option to remove all variations, all tags, and all comments (or three options) would be a pretty nice addition to the sabaki client, in my humble opinion.

I agree. This would also be nice for cleaning up files to be analyzed by Crazy Stone, which doesn't handle variations very well.
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 »

Good ideas! :tmbup:

I added them to the issues list.
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 »

I tried the latest version out. It's looking pretty good!

Two things I'd like:
1.) The navigation menu provides functionality to jump to the end or beginning of the game, but I like to have a graphical bar where I can skip ahead a few moves or to the end of the game. The only graphical way to do this that I could figure out, outside of the menu, was to click through the graphical game tree after I displayed it. I'd like to have just a small bar with some arrows to skip ahead a few moves and to the end of the game, like many other editors have.

2.) I like the option to copy the ascii diagram, but it looks like there are no line breaks. So if I copy an ascii diagram and paste it into a text editor, it's just one line of text, rather than a more readable block of text having line breaks.
be immersed
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 »

@Kirby:

1. If you have the game tree opened, there's also a slider to the right which lets you skim through the game. It also has some arrows which you can click on to go through the game move by move. You can use the arrow keys (up and down) as well.

2. I can copy ASCII diagrams just fine (with linebreaks). Like this:

Code: Select all

$$ 
$$ +---------------------------------------+
$$ | . O . . . . . . . . . . . . . . . . . |
$$ | X O O . X . . . . . . . . . . . O . . |
$$ | O . O O X X . X . X X . O . O . O X . |
$$ | O . . , O O O X . O . . . . . O X . . |
$$ | . O . O X X X O O . . O . . O X X . . |
$$ | O . O O . a . W . . O . . . O X . X . |
$$ | O O X O X X X O . X X O . . X X O . . |
$$ | . X . O . O X O . X O X . . . . O . X |
$$ | . . . O . O X X . X O O . . . X X O . |
$$ | . . X X X O O X . , X . O O X X O O O |
$$ | . O O O X . . X . X . . O X . X X O . |
$$ | . O X X X X . O X . . . O X . . X O . |
$$ | . . . . . O . O O . . . O X . . X O . |
$$ | . O O . O . . . . . . . O O X X O O . |
$$ | . . X O . . . . . . . . O X O O X X O |
$$ | . . X , X . . . . , . O . X . X . . . |
$$ | . . . . . . X . O . . O X . . X . X . |
$$ | . . . . . . . . . . O X X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+
dfan
Gosei
Posts: 1598
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Sabaki SGF editor

Post by dfan »

I've been using Sabaki a bit recently and it's very nice. One feature I would like that doesn't seem to exist yet is the equivalent of CGoban's "Shift up" and "Shift down" (I suppose in Sabaki that would be "Shift left" and "Shift right"), to take the current variation and move it up or down in the child list of its parent. When analyzing a position I like to shift promising moves up and moves that seem to have a refutation down. As far as I can tell, Sabaki's only feature in this area is "Make Main Variation".
dfan
Gosei
Posts: 1598
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Sabaki SGF editor

Post by dfan »

Another thing that would be nice is if nodes with SGF annotations such as "Good for Black" and "Good for White" could be displayed differently in the game tree, or even on the board (in the display of small translucent discs denoting child nodes).

When I use Sabaki to analyze I'd love to be able to easily glance at the game tree and see what branches I have already discarded in my mind as being bad for the side playing that move, or which ones I have decided are particularly good moves.
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 »

dfan wrote:Another thing that would be nice is if nodes with SGF annotations such as "Good for Black" and "Good for White" could be displayed differently in the game tree, or even on the board (in the display of small translucent discs denoting child nodes).

When I use Sabaki to analyze I'd love to be able to easily glance at the game tree and see what branches I have already discarded in my mind as being bad for the side playing that move, or which ones I have decided are particularly good moves.
Interesting idea... How do you want the the nodes in the game tree be like? It's impossible to have all (5 position annotations) × (5 move annotations) = 25 different annotation states represented differently without having chaos. Also the library for graph drawing that I use is quite limited on what it can display...

As for board respresentation, I also have no idea how to represent 25 different annotation states on the board without cluttering the interface. Maybe just include annotations in the tooltip?

I'm playing with the idea of having the corresponding node in the game tree highlighted when hovering over a 'small translucent disc denoting child node' on the board. But currently it's not possible since I use a graphing library for the game tree and the library cannot do that. I might have to write the graph drawing logic 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 »

@Marcel: It's a very cool dream, though. ;-)
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 »

yishn wrote:@Kirby:

1. If you have the game tree opened, there's also a slider to the right which lets you skim through the game. It also has some arrows which you can click on to go through the game move by move. You can use the arrow keys (up and down) as well.

2. I can copy ASCII diagrams just fine (with linebreaks). Like this:

Code: Select all

$$ 
$$ +---------------------------------------+
$$ | . O . . . . . . . . . . . . . . . . . |
$$ | X O O . X . . . . . . . . . . . O . . |
$$ | O . O O X X . X . X X . O . O . O X . |
$$ | O . . , O O O X . O . . . . . O X . . |
$$ | . O . O X X X O O . . O . . O X X . . |
$$ | O . O O . a . W . . O . . . O X . X . |
$$ | O O X O X X X O . X X O . . X X O . . |
$$ | . X . O . O X O . X O X . . . . O . X |
$$ | . . . O . O X X . X O O . . . X X O . |
$$ | . . X X X O O X . , X . O O X X O O O |
$$ | . O O O X . . X . X . . O X . X X O . |
$$ | . O X X X X . O X . . . O X . . X O . |
$$ | . . . . . O . O O . . . O X . . X O . |
$$ | . O O . O . . . . . . . O O X X O O . |
$$ | . . X O . . . . . . . . O X O O X X O |
$$ | . . X , X . . . . , . O . X . X . . . |
$$ | . . . . . . X . O . . O X . . X . X . |
$$ | . . . . . . . . . . O X X . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+
Re: #1.) I know there's the game tree. I find it awkward compared to the standard arrow buttons I see on most other SGF editors. I guess I can get used to it, but it's not natural to me.

Re: #2.) Whether I visually see linebreaks depends on where I paste it. If I paste the diagram code into the editor here, I also see the lines wrap visually as you do. But if I post into Windows notepad, the linebreaks don't show up. My assumption was that this was due to notepad in Windows using \r\n for linebreaks, instead of just \n. However, when I paste into another editor like notepad++ and show the linebreaks, it looks like both linebreak and carriage return are present...

So #2 isn't a big deal, I guess. It's just a bit different in behavior when I copy diagrams from Sabaki into Windows notepad vs. when I copy a diagram from L19 into notepad. In the former case, notepad doesn't show the breaks, whereas in the latter, the breaks can be seen.

It's probably notepad's fault, as other editors don't have this issue. :-)

Anyway, if you want to reproduce it, try to paste into Windows notepad.
be immersed
Post Reply