It is currently Tue May 21, 2013 9:46 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 17 posts ] 
Author Message
Offline
 Post subject: How to post SGF files
Post #1 Posted: Sat Jun 12, 2010 6:26 pm 
Gosei
User avatar

Posts: 1413
Location: Florida
Liked others: 46
Was liked: 142
Rank: DGS 3 kyu
GD Posts: 1104
KGS: fwiffo
There are several ways to attach SGF files to your posts. Use the "sgf" tag to attach them with the "compact" eidogo theme. Use "sgf-full" to use a wider, more full-featured layout. You can also embed a problem with the "sgf-problem" tag.

The preferred method is to refer to the SGF file by URL. For example, you can link to a game from the KGS archives.
Code:
[sgf]http://files.gokgs.com/games/2009/3/26/muchen1999-TheCaptain.sgf[/sgf]




You can do the same for SGF files that you attach to your post (see below for detailed instructions). For example:
Code:
[sgf-full]http://lifein19x19.com/forum/download/file.php?id=167[/sgf-full]




Here's an example using the problem mode:
Code:
[sgf-problem]http://lifein19x19.com/forum/download/file.php?id=168[/sgf-problem]




You can also paste the SGF data inline, though you may run into size limits with SGF files larger than a few kilobytes. You can use inline SGF data or URLs with all three embedding modes.
Code:
[sgf-problem]
(;GM[1]FF[4]CA[UTF‑8]AP[CGoban:3]ST[2]
RU[Japanese]SZ[19]KM[0.00]
PW[White]PB[Black]AW[ba][da][fb][cc][dc][ec][fc][ad][bd][ce]
AB[aa][ea][ab][cb][db][eb]C[Black to live.]
(;B[bb]LB[ca:A]C[Correct. Black is alive (white can't play at A).])
(;B[ca]
;W[bb]
(;B[bc]
;W[bb]
(;B[ba]
;W[ac]LB[bb:A]C[Wrong. A is a false eye.])
(;B[ac]
;W[ba]C[Wrong.]))
(;B[ac]
;W[bc]C[Wrong.]))
(;B[bc]
;W[bb]
;B[ca]
;W[bb]
(;B[ba]
;W[ac]LB[bb:A]C[Wrong. A is a false eye.])
(;B[ac]
;W[ba]C[Wrong.])))[/sgf-problem]




Detailed steps for adding SGF files as attachments:

Find the "Upload Attachment" section on the post screen. Click "Browse" to select your SGF file, then click "Add the file" to upload the SGF file as an attachment to your message.
Attachment:
step1.png
step1.png [ 11.14 KiB | Viewed 24665 times ]

An "upload in progress" window will pop up briefly while your file uploads.
Attachment:
step2.png
step2.png [ 27.17 KiB | Viewed 24665 times ]

After the file has uploaded, you should see that it is attached to the post. You can upload additional files if you're adding more than one. Then you should click the "Preview" button.
Attachment:
step3.png
step3.png [ 26.29 KiB | Viewed 24665 times ]

You'll see a section in the preview area that shows your file is attached.
Attachment:
step4.png
step4.png [ 36.56 KiB | Viewed 24665 times ]

Right click on the download link, then choose "Copy Link Location". The exact wording will depend on your browser. This is the URL for the SGF file that you've attached to the post.
Attachment:
step5.png
step5.png [ 41.04 KiB | Viewed 24665 times ]

Finally, you can paste the URL between the sgf tags like so:
Attachment:
step6.png
step6.png [ 10.54 KiB | Viewed 24665 times ]

If you click "Preview" you should now see the eidogo player.


Attachments:
zipper-problem.sgf [2.21 KiB]
Downloaded 3690 times
YilunYang-bigbadwolf.sgf [55.33 KiB]
Downloaded 2588 times

_________________
KGS 4 kyu - Game Archive
Keyboard Otaku - Webmaster Fort Myers Go Club

This post by fwiffo was liked by 3 people: Bonobo, Stable, Stefany93
Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #2 Posted: Sun Jun 13, 2010 6:54 pm 
Lives in sente
User avatar

Posts: 702
Liked others: 165
Was liked: 104
Rank: German 2 dan
This one is also a "permanent unread".

_________________
A good system naturally covers all corner cases without further effort.

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #3 Posted: Sun Jun 13, 2010 7:10 pm 
Gosei
User avatar

Posts: 1413
Location: Florida
Liked others: 46
Was liked: 142
Rank: DGS 3 kyu
GD Posts: 1104
KGS: fwiffo
They don't appear permanently unread for me... If I mark everything as read, or I read them, they become marked as read...

_________________
KGS 4 kyu - Game Archive
Keyboard Otaku - Webmaster Fort Myers Go Club

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #4 Posted: Mon Jun 14, 2010 12:49 am 
Lives in gote
User avatar

Posts: 456
Location: Montana
Liked others: 63
Was liked: 40
fwiffo wrote:
They don't appear permanently unread for me... If I mark everything as read, or I read them, they become marked as read...

It was doing this for me until I went into another subforum (I went to off topic) and read this thread there. Then it stopped doing that for me.

_________________
KGS: schultz [?]. Around 8-9k?

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #5 Posted: Sat Oct 30, 2010 11:38 am 
Dies in gote

Posts: 38
Liked others: 3
Was liked: 2
Rank: KGS 2 kyu
KGS: dtslife
Do you guys know how to post .sgf files in other forums such as tigersmouth.org? I really enjoy that feature in lifein19x19.

_________________
Google Site
Bay Area High School Go

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #6 Posted: Sat Oct 30, 2010 11:48 am 
Lives in gote
User avatar

Posts: 641
Location: Munich, Germany
Liked others: 115
Was liked: 99
Rank: KGS 3k
KGS: LiKao / Loki
The forum requires a viewer plugin(for example for eidogo).

A workaround for forums without such a plugin is uploading the sgf to eidogo.com and link it.

_________________
Sanity is for the weak.

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #7 Posted: Fri Mar 16, 2012 10:32 am 
Gosei

Posts: 1463
Liked others: 606
Was liked: 303
Are there instructions for navigating the sgf viewer?

For example, I can use left/right arrows on the keyboard to progress back and forth through the game, but when I encounter a variation, how do I navigate to it? Up/down arrows go to start/end of game (unexpected?).

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #8 Posted: Fri Mar 16, 2012 10:51 am 
Lives in gote
User avatar

Posts: 456
Location: Montana
Liked others: 63
Was liked: 40
[Insert obligatory "Google it!" message here]

From: http://code.google.com/p/eidogo/wiki/KeyboardShortcuts

Keyboard shortcuts for quick navigation and variation selection:

    Right arrow -- go forward
    Right arrow + shift -- go forward 10 moves
    Left arrow -- go back
    Left arrow + shift -- go back 10 moves
    Down arrow -- jump to the end
    Up arrow -- jump to the beginning
    Backtick (`) -- pass
    Variations can be selected using 1-9 or, if the variation move has a label, using the label's first alphanumeric character (A, B, C, etc).

And look at that - I actually learned a couple new ones (the navigation with + shift). Thanks! ;)

_________________
KGS: schultz [?]. Around 8-9k?

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #9 Posted: Fri Mar 16, 2012 11:36 am 
Gosei

Posts: 1463
Liked others: 606
Was liked: 303
schultz wrote:
[Insert obligatory "Google it!" message here]

yeah, thanks... no idea what to google for, since did not know its eidgo related.

schultz wrote:
Variations can be selected using 1-9 or, if the variation move has a label, using the label's first alphanumeric character (A, B, C, etc).[/list]

so if there are no labels, then variations are unnavigable (except with a mouse)? it feels like a more common default expected behavior would be to use up/down arrows.

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #10 Posted: Fri Mar 16, 2012 12:06 pm 
Oza

Posts: 2971
Location: North Carolina
Liked others: 208
Was liked: 434
Rank: AGA -4.99385
GD Posts: 65
KGS: MssrBlanc 2k
DGS: Hyperpape 5k
OGS: Hyperpape 7k
If there aren't labels, I believe the variations are just 1,2,3... and you can use the number keys. At least I don't recall encountering a case where that didn't work.

_________________
When you think your opponent has made a mistake, that's when you should be the most cautious.

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #11 Posted: Fri Mar 16, 2012 12:11 pm 
Lives with ko
User avatar

Posts: 280
Liked others: 5
Was liked: 10
Rank: German 1k
KGS: 1.Kyudan
Wbaduk: 3k
OGS: 5k
Universal go server handle: Celebrir
xed_over wrote:
so if there are no labels, then variations are unnavigable (except with a mouse)? it feels like a more common default expected behavior would be to use up/down arrows.

Take a closer look ;) "Variations can be selected using 1-9 or, if the variation move has a label, using the label's first alphanumeric character (A, B, C, etc)"
1-9 is default and if there is a label you can use the labels first alphanumeric character ;)

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #12 Posted: Fri Mar 16, 2012 12:25 pm 
Lives in gote
User avatar

Posts: 456
Location: Montana
Liked others: 63
Was liked: 40
Celebrir, he asked about when there are no labels. ;)

Now that I look at it, guess I made an assumption about what people are saying. Now that I've read all the comments again, I've gotten myself all confuzzled!

hyperpape wrote:
If there aren't labels, I believe the variations are just 1,2,3... and you can use the number keys. At least I don't recall encountering a case where that didn't work.

Should have mentioned this (hyperpape's note above). It's a little annoying without the tree (am I missing some variations?!), and it's led me to spam the 2 and 3 buttons in some problems/game commentaries. If I really want to dig into a game with lots of complicated variations, though, I just use one with a visible game tree.

So the end note - you can hit the actual number keys, you don't have to click on them with the mouse! Let's make sure this is clear. Same with the actual letter labels (just hit that letter).

_________________
KGS: schultz [?]. Around 8-9k?

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #13 Posted: Fri Mar 16, 2012 1:31 pm 
Gosei

Posts: 1463
Liked others: 606
Was liked: 303
thanks

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #14 Posted: Wed May 02, 2012 12:57 am 
Dies with sente

Posts: 79
Liked others: 1
Was liked: 27
Greetings,
this is really helpful.
But, you have to have an url from the KGS archives in the first place. Where do I get that (apart form the KGS archives...)
I need to be able to post a link to a game from there but I can`t find how to do it.
Can anyone help?
Thanks in advance,
Buri

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #15 Posted: Wed May 02, 2012 2:04 am 
Gosei
User avatar

Posts: 1435
Liked others: 595
Was liked: 577
Rank: KGS 5k
KGS: goatsunday
Kaya handle: daal
When you find your game here : http://www.gokgs.com/archives.jsp , you can right click the "yes" under "viewable" and copy the link location (or link address, depending on your browser). Then you can post like this:

Code:
[sgf]paste your copied link here[/sgf]


As an alternative to that, you can download the file, and then upload it here following the procedures fwiffo outlined in his first post under: "Detailed steps for adding SGF files as attachments."

_________________
"When you are learning, it is not so important whether you are right or wrong." - Bill Spight

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #16 Posted: Wed May 02, 2012 5:51 pm 
Dies with sente

Posts: 79
Liked others: 1
Was liked: 27
many thanks

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #17 Posted: Sat May 26, 2012 12:56 am 
Dies with sente

Posts: 122
Liked others: 0
Was liked: 0
Rank: KGS 12kyu
KGS: hojoin
OGS: sojiro
bakekoq
Online playing schedule: wah,almost everyday in OGS right now.I still can't play in KGS because the limitness of my network.
owh.
I found it already the keywords for that sgf viewer.

Thanks a lot.

*http://eidogo.com/upload

I'm searching since a long time a go.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group