It is currently Thu Mar 28, 2024 3:05 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
Offline
 Post subject: How to open SGF files (found on GTL) with the KGS interface?
Post #1 Posted: Sat Feb 14, 2015 3:12 pm 
Dies in gote

Posts: 42
Liked others: 0
Was liked: 0
Hello.

I'm trying to open SGF files with the KGS interface ("CGoban3").

For example I would like to open these commented games found on the Go Teaching Ladder (GTL): http://gtl.xmp.net/reviews/of_smallboards

So I click on the number of the file in order to open the game, then this small window opens:

Image

I've tried to select "Java(TM) Web Start Launcher" which I found here: C:\Program Files (x86)\Java\jre1.8.0_31\bin\javaws.exe (I think this the KGS interface, but I could be wrong)

But then I get this error message:

Image

And when I click on "Details" I get this:

Image

So...how do I open these games with the KGS interface?

Thanks in advance for your answers.

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #2 Posted: Sat Feb 14, 2015 4:00 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 552
There should be a way to associate sgf files to open automatically like that, but I don't recall the magic incantation.

Otherwise, just start KGS normally (without logging on to the server), then choose Edit SGF File from the main window, and browse until you find the file you just downloaded (by choosing Save File, instead of Open With, earlier).


Edit: Oh, its an FF[1] file. I wonder if that's too old a format for KGS to open?

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #3 Posted: Sun Feb 15, 2015 1:09 am 
Dies in gote

Posts: 53
Location: Seattle, WA
Liked others: 3
Was liked: 5
GD Posts: 800
The error message leads me to believe that CGoban believes it is NOT an SGF file. You may be able to tweak the file by deleting the stuff it is complaining about, but leaving the game log in there, but it might not be worth it. I'd just try another program and see if that one can open it. I like Drago quite a lot, for things like that. Its a free download...

http://godrago.net/

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #4 Posted: Sun Feb 15, 2015 4:16 am 
Dies with sente

Posts: 75
Liked others: 7
Was liked: 18
Rank: EGF 5k
KGS: jug
DGS: jug, 4k
Alcadeias wrote:
I've tried to select "Java(TM) Web Start Launcher" which I found here: C:\Program Files (x86)\Java\jre1.8.0_31\bin\javaws.exe (I think this the KGS interface, but I could be wrong)

Yes, you are wrong. The "javaws" is not the KGS-client, but Java-web-start (part of the java-framework). You have to give the location of the KGS-client to java-ws as argument:

Code:
C:\Program Files (x86)\Java\jre1.8.0_31\bin\javaws.exe http://files.gokgs.com/javaBin/cgoban.jnlp

However, I'm not a Windows users, so I'm not sure you can directly use that, but with a helper-application-config in the browser it should be possible to also provide arguments to a launcher application.

And what "xed_over" was looking for is to add a MIME-type association (and/or helper-application) in the browser for sgf, so the browser knows automatically which program it has to choose when clicking on a SGF on a web-page.
See for example: http://gobase.org/software/sgfformat/SGFandWWW.html

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #5 Posted: Sun Feb 15, 2015 5:26 am 
Gosei

Posts: 1494
Liked others: 111
Was liked: 315
Try this to check for validity - http://www.red-bean.com/sgf/sgfc/munch.html
Then try the Edit SGF button on the CGoban main window
OR
have fun with Windows file associations

_________________
North Lecale

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #6 Posted: Sun Feb 15, 2015 9:27 am 
Dies in gote

Posts: 53
Location: Seattle, WA
Liked others: 3
Was liked: 5
GD Posts: 800
If you are intent on using CGoban here, then choosing "Edit SGF" from the CGoban main window is certainly the way to go. If the file won't open that way, then CGoban is having trouble parsing it.

If CGoban truly won't open it, and you want to try modifying it, then post the file here, and we'll make it work, and tell you how we did it.

Or you can use the validity checker that Javaness2 posted above, and maybe that will point out things that are considered errors in the file.

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #7 Posted: Sun Feb 15, 2015 1:19 pm 
Dies with sente

Posts: 75
Liked others: 7
Was liked: 18
Rank: EGF 5k
KGS: jug
DGS: jug, 4k
The SGF the original poster mentioned in his post (http://gtl.xmp.net/sgf/2/215-garm-ManyFaces-ziv.sgf) may be an old format, but the KGS-client (cgoban 3.5.20) has no problem opening it (tried it).

Top
 Profile  
 
Offline
 Post subject: Re: How to open SGF files (found on GTL) with the KGS interf
Post #8 Posted: Sun Feb 15, 2015 1:26 pm 
Oza

Posts: 2493
Location: DC
Liked others: 157
Was liked: 442
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
I have had success by downloading the file and then opening it from the saved folder, rather than trying to open it directly in the browser. Opening it in the browser caused the same issue you are seeing, but from the saved file, in windows explorer, it opens normally.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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