It is currently Sat Nov 09, 2024 10:27 am

All times are UTC - 8 hours [ DST ]




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

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
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]https://lifein19x19.com/forum/download/file.php?id=167[/sgf-full]




Here's an example using the problem mode:
Code:
[sgf-problem]https://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 3175251 times ]

An "upload in progress" window will pop up briefly while your file uploads.
Attachment:
step2.png
step2.png [ 27.17 KiB | Viewed 3175251 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 3175251 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 3175251 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 3175251 times ]

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

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


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

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

This post by fwiffo was liked by 6 people: Bonobo, Jardeus, jgr314, LuckyJim, 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: 918
Liked others: 396
Was liked: 163
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: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
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

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: 505
Location: Montana
Liked others: 80
Was liked: 62
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 [?].

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: 643
Location: Munich, Germany
Liked others: 115
Was liked: 102
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 
Oza

Posts: 2264
Liked others: 1180
Was liked: 553
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: 505
Location: Montana
Liked others: 80
Was liked: 62
[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 [?].

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

Posts: 2264
Liked others: 1180
Was liked: 553
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 
Tengen

Posts: 4382
Location: Caldas da Rainha, Portugal
Liked others: 499
Was liked: 733
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
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.

_________________
Occupy Babel!

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

Posts: 353
Liked others: 36
Was liked: 14
Rank: German 1k
KGS: 1.Dan
OGS: 4k
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: 505
Location: Montana
Liked others: 80
Was liked: 62
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 [?].

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

Posts: 2264
Liked others: 1180
Was liked: 553
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: 85
Liked others: 1
Was liked: 30
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 
Oza
User avatar

Posts: 2508
Liked others: 1304
Was liked: 1128
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."

_________________
Patience, grasshopper.

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: 85
Liked others: 1
Was liked: 30
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  
 
Offline
 Post subject: Re: How to post SGF files
Post #18 Posted: Thu Jan 09, 2014 11:44 am 
Tengen

Posts: 4382
Location: Caldas da Rainha, Portugal
Liked others: 499
Was liked: 733
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
The instructions posted here work, but if you don't read them through and just try to go from memory/intuiting the way the UI works, it's a bit clunky. Here's the process I followed last time: I attach a file. There's an option to place inline. But that's the BBCode for an attachment. No URL.

Code:
[attachment=0]ggg-intermediate-110.sgf[/attachment]


Ok, I'll use "copy link" by right-clicking on the filename under "posted attachments"



Code:
[sgf]http://lifein19x19.com/forum/download/file.php?mode=view&id=4032&sid=ccd2c7742515d25e52ff9cbac1f13b3e[/sgf]


Wait, that's invalid game data.

So now, I can preview, get the link, and attach it via an sgf tag.



Victory!!!

Oh yeah, there's an attachment with my post now. I don't like it cluttering up my post. It's not part of the BBCode markup of my post. If I try to delete it, I lose the file my sgf references :(


Attachments:
ggg-intermediate-110.sgf [831 Bytes]
Downloaded 24110 times

_________________
Occupy Babel!
Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #19 Posted: Thu Jan 09, 2014 9:57 pm 
Oza

Posts: 2356
Location: Ireland
Liked others: 662
Was liked: 442
Universal go server handle: Boidhre


You can just host at gokifu.com or wherever you want and link to the sgf file in the sgf tags. It's more work so normally I don't bother to do it but it's an option if you don't want the attachments box.

Top
 Profile  
 
Offline
 Post subject: Re: How to post SGF files
Post #20 Posted: Fri Jan 10, 2014 8:12 am 
Oza

Posts: 2495
Location: DC
Liked others: 157
Was liked: 443
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Boidhre wrote:
You can just host at gokifu.com or wherever you want and link to the sgf file in the sgf tags. It's more work so normally I don't bother to do it but it's an option if you don't want the attachments box.


For purposes of posterity, it seems better to host it on this site directly, so that the games aren't lost to the posts if the other site goes down.


This post by skydyr was liked by: cyclops
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next

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