Page 6 of 11

Re: Sabaki SGF editor

Posted: Wed Oct 19, 2016 5:42 am
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.

Re: Sabaki SGF editor

Posted: Tue Nov 15, 2016 6:10 am
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:

Re: Sabaki SGF editor

Posted: Wed Nov 16, 2016 3:36 am
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!

Re: Sabaki SGF editor

Posted: Wed Nov 16, 2016 5:14 am
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.

Re: Sabaki SGF editor

Posted: Wed Nov 16, 2016 5:33 am
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!

Re: Sabaki SGF editor

Posted: Wed Dec 07, 2016 2:03 pm
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.

Re: Sabaki SGF editor

Posted: Wed Dec 07, 2016 2:17 pm
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.

Re: Sabaki SGF editor

Posted: Wed Dec 07, 2016 2:58 pm
by yishn
Good ideas! :tmbup:

I added them to the issues list.

Re: Sabaki SGF editor

Posted: Wed Dec 07, 2016 3:17 pm
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.

Re: Sabaki SGF editor

Posted: Thu Dec 08, 2016 4:07 am
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 . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+

Re: Sabaki SGF editor

Posted: Tue Jan 10, 2017 11:59 am
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".

Re: Sabaki SGF editor

Posted: Sat Jan 14, 2017 12:29 pm
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.

Re: Sabaki SGF editor

Posted: Sat Jan 14, 2017 3:46 pm
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.

Re: Sabaki SGF editor

Posted: Sun Jan 15, 2017 5:57 am
by yishn
@Marcel: It's a very cool dream, though. ;-)

Re: Sabaki SGF editor

Posted: Fri Jan 20, 2017 11:37 pm
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.