It is currently Sun May 04, 2025 1:30 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 17 posts ] 
Author Message
Offline
 Post subject: how to open .sh files in Windows 7?
Post #1 Posted: Thu Oct 17, 2013 4:56 pm 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
I downloaded some Go Seigen games, full name of the archive is goseigen.sh.z
I can extract .z with Winrar, but what do I do with the .sh file? is it a Linux file?.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #2 Posted: Thu Oct 17, 2013 5:05 pm 
Lives in gote

Posts: 589
Liked others: 0
Was liked: 114
Rank: 2 dan
.sh usually refers to a shell script, quite probably bash. If so, you can open it in notepad to see what's in it.

I don't know why or how a set of games would be in a shell script file though. Where are they from?

Edit: I found what's presumably the same file and downloaded it to have a look. The first few lines of the file explain what it is:

Quote:
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of shell archive."
# Contents: README game1 game2 game3 game4 game5 game6 game7 game8
# story.fujisawa story.hashimoto story.kitani story.sakata
# story.sakata.a story.sakata.b story.sakata.c story.sakata.d
# story.strongest story.takagawa story.takagawa.a story.wu.biog
# story.wu.idol
# Wrapped by jyu@asgard on Mon Sep 27 18:15:31 1993


To uncompress yourself it you'd need bash, and probably some other stuff, which you can probably install on windows via cygwin. It seems like a lot of effort to expand one random file though.


Last edited by amnal on Thu Oct 17, 2013 5:11 pm, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #3 Posted: Thu Oct 17, 2013 5:10 pm 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
It's from here.
ftp://ftp.joyjoy.net/go/games/

I have no idea what to do now. Can I convert it to something?.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #4 Posted: Thu Oct 17, 2013 5:14 pm 
Lives in gote

Posts: 589
Liked others: 0
Was liked: 114
Rank: 2 dan
handa711 wrote:
It's from here.
ftp://ftp.joyjoy.net/go/games/

I have no idea what to do now. Can I convert it to something?.


I added an edit with some more information. It's literally a program containing all the text of the games etc., and all the program does is write that text to some files. However, because of this unusual 'archive' format, it isn't something you can easily convert to a different type, or extract with a normal windows tool.

Actually, I think the script is so simple that you could just open it with notepad (or a non-rubbish editor if you have one) and copy the sgfs wherever you like. Alternatively you could in principle install bash as I mentioned above, but that really is an in principle rather than something you probably want to bother doing.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #5 Posted: Thu Oct 17, 2013 5:22 pm 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
amnal wrote:
handa711 wrote:
It's from here.
ftp://ftp.joyjoy.net/go/games/

I have no idea what to do now. Can I convert it to something?.


I added an edit with some more information. It's literally a program containing all the text of the games etc., and all the program does is write that text to some files. However, because of this unusual 'archive' format, it isn't something you can easily convert to a different type, or extract with a normal windows tool.

Actually, I think the script is so simple that you could just open it with notepad (or a non-rubbish editor if you have one) and copy the sgfs wherever you like. Alternatively you could in principle install bash as I mentioned above, but that really is an in principle rather than something you probably want to bother doing.

It's just a maze of texts with no paragraph breaks. How do I know what to copy? (there are about 8 games in this file I think).

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #6 Posted: Thu Oct 17, 2013 10:34 pm 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
I read the readme on that server and it looks like these files are the "Go on go" book, in split-file format. You can download it as a book (legally, this is not an illegal copy of something as far as I know) from here: http://www.5z.com/tucsongo/book/

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #7 Posted: Thu Oct 17, 2013 10:44 pm 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
RBerenguel wrote:
I read the readme on that server and it looks like these files are the "Go on go" book, in split-file format. You can download it as a book (legally, this is not an illegal copy of something as far as I know) from here: http://www.5z.com/tucsongo/book/

That book is so hard to read due to the author using E4, A19 etc. instead of A,B,C like other books. Do you have any place for Go Seigen kifus? Just kifu, no commentaries is fine.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #8 Posted: Thu Oct 17, 2013 10:51 pm 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
See here: http://gobase.org/games/cn/masters/goseigen/

And indeed, the book is not great, but it's auto-created from these kifus you wanted to download, so they will probably be quite alike :/

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #9 Posted: Thu Oct 17, 2013 11:40 pm 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
I have no money :cry: any free download? I just wanna see a few games of Go Seigen.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #10 Posted: Fri Oct 18, 2013 3:07 am 
Lives in gote
User avatar

Posts: 314
Location: Germany
Liked others: 10
Was liked: 128
Rank: KGS 4k
http://gokifu.com/playerother/Go+Seigen


This post by leichtloeslich was liked by: handa711
Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #11 Posted: Fri Oct 18, 2013 6:16 am 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
leichtloeslich wrote:
http://gokifu.com/playerother/Go+Seigen

wow thanks. When I searched for him on gokifu there were only 3 or 4 games. Weird.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #12 Posted: Fri Oct 18, 2013 6:23 am 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
What does the result "W+J" means?

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #13 Posted: Fri Oct 18, 2013 2:09 pm 
Oza
User avatar

Posts: 2221
Location: Germany
Liked others: 8268
Was liked: 924
Rank: OGS 9k
OGS: trohde
Universal go server handle: trohde
RBerenguel wrote:
I read the readme on that server and it looks like these files are the "Go on go" book, in split-file format. You can download it as a book (legally, this is not an illegal copy of something as far as I know) from here: http://www.5z.com/tucsongo/book/
Don’t know whether I have missed something, but if it’s Go Seigen’s book “Go on Go: The Analyzed Games of Go Seigen” that anybody of you would want to have you can find it here for free: http://www.usgo.org/files/pdf/go-seigen-book.pdf

Greetings, Tom

_________________
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #14 Posted: Sat Oct 19, 2013 12:05 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Bonobo wrote:
RBerenguel wrote:
I read the readme on that server and it looks like these files are the "Go on go" book, in split-file format. You can download it as a book (legally, this is not an illegal copy of something as far as I know) from here: http://www.5z.com/tucsongo/book/
Don’t know whether I have missed something, but if it’s Go Seigen’s book “Go on Go: The Analyzed Games of Go Seigen” that anybody of you would want to have you can find it here for free: http://www.usgo.org/files/pdf/go-seigen-book.pdf

Greetings, Tom


Same book, equally legal. My link IIRC is the original place it's been hosted, the USGo mirrors it.

Oh, and when I answered with a gobase link I intendes to send a gokifu one, did it too fast without thinking too much :D

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net


This post by RBerenguel was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #15 Posted: Sat Oct 19, 2013 3:43 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 553
handa711 wrote:

Ooh, thanks for this link. That's a very clever, and very old, archive method.

Bonobo wrote:
RBerenguel wrote:
I read the readme on that server and it looks like these files are the "Go on go" book, in split-file format. You can download it as a book (legally, this is not an illegal copy of something as far as I know) from here: http://www.5z.com/tucsongo/book/
Don’t know whether I have missed something, but if it’s Go Seigen’s book “Go on Go: The Analyzed Games of Go Seigen” that anybody of you would want to have you can find it here for free: http://www.usgo.org/files/pdf/go-seigen-book.pdf


Patrick Bridges' site has a more modern zip and tar archives of the same original source files.

But the games are very old MTG format. They are very close to SGF format, but not exact.

There are several programs that will convert them. I used GOWrite on the Mac to open and re-save as SGF files. Its quite helpful to have the commented files with proper variation trees to go along with reading the book. (Several years ago, I tried unsuccessfully to convert them by hand, but kept getting hung up on the proper order of the AE property)

Its too bad his first version of the book isn't easily available as a PDF, because the other one is -- how can I say this nicely -- crap. Some of its diagrams are missing moves and stones, etc. But it may be because the tools he used expected SGF files, when what he had were MTG files (again, close, but no cigar).

His first version, which he only provides postscript and no PDF, is much, much better (but not completely error free either). Unfortunately, he's right, that the resulting PDF is over 10 times larger.

Both cases, very brilliant, and much appreciated work. Kudos to Patrick for his efforts here.

Of course, these days, an 18meg file is nothing.

I tried to make the other PDF file available on the USGO site, but with the reorg, and losing my access, that effort appears to have been lost.

The Analyzed Games of Go Seigen
commented games (SGF)
PDF book (first version)


This post by xed_over was liked by 2 people: Bonobo, handa711
Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #16 Posted: Sat Oct 19, 2013 4:06 pm 
Dies with sente
User avatar

Posts: 109
Liked others: 13
Was liked: 9
Rank: KGS 2 kyu
KGS: HandA
Tygem: NhaTrang11
IGS: Nagi
Wbaduk: handa711
OGS: hoanganh2357
xed_over wrote:
handa711 wrote:

Ooh, thanks for this link. That's a very clever, and very old, archive method.

Bonobo wrote:
RBerenguel wrote:
I read the readme on that server and it looks like these files are the "Go on go" book, in split-file format. You can download it as a book (legally, this is not an illegal copy of something as far as I know) from here: http://www.5z.com/tucsongo/book/
Don’t know whether I have missed something, but if it’s Go Seigen’s book “Go on Go: The Analyzed Games of Go Seigen” that anybody of you would want to have you can find it here for free: http://www.usgo.org/files/pdf/go-seigen-book.pdf


Patrick Bridges' site has a more modern zip and tar archives of the same original source files.

But the games are very old MTG format. They are very close to SGF format, but not exact.

There are several programs that will convert them. I used GOWrite on the Mac to open and re-save as SGF files. Its quite helpful to have the commented files with proper variation trees to go along with reading the book. (Several years ago, I tried unsuccessfully to convert them by hand, but kept getting hung up on the proper order of the AE property)

Its too bad his first version of the book isn't easily available as a PDF, because the other one is -- how can I say this nicely -- crap. Some of its diagrams are missing moves and stones, etc. But it may be because the tools he used expected SGF files, when what he had were MTG files (again, close, but no cigar).

His first version, which he only provides postscript and no PDF, is much, much better (but not completely error free either). Unfortunately, he's right, that the resulting PDF is over 10 times larger.

Both cases, very brilliant, and much appreciated work. Kudos to Patrick for his efforts here.

Of course, these days, an 18meg file is nothing.

I tried to make the other PDF file available on the USGO site, but with the reorg, and losing my access, that effort appears to have been lost.

The Analyzed Games of Go Seigen
commented games (SGF)
PDF book (first version)

I can't thank you enough. This is awesome.

Top
 Profile  
 
Offline
 Post subject: Re: how to open .sh files in Windows 7?
Post #17 Posted: Sat Oct 19, 2013 11:36 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 553
handa711 wrote:
What does the result "W+J" means?

The count on the board is Jigo (tie), but looks like they gave the win to white. Don't know why. That's a job for historians.

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