Converting Tygem games to sgf on Mac

Come here for discussions about the Tygem go server
Post Reply
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Converting Tygem games to sgf on Mac

Post by wineandgolover »

I am using the awesome Wine solution provided in an earlier thread. Now I can play on Tygem, yay!

I can save games to my computer, but they aren't in an sgf format.

Is there a reasonably easy way to convert game records to sgf?

Thanks.
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
leichtloeslich
Lives in gote
Posts: 314
Joined: Wed Feb 29, 2012 1:16 pm
Rank: KGS 4k
GD Posts: 0
Location: Germany
Has thanked: 10 times
Been thanked: 128 times

Re: Converting Tygem games to sgf on Mac

Post by leichtloeslich »

Is there a reasonably easy way to convert game records to sgf?

see http://senseis.xmp.net/?GIB

Also, I found a windows guest in virtualbox to be a much better solution compared to the wonkyness of wine, but whatever floats your boat.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

If you are able to run Windows programs via Wine,
see if you can install and run MultiGo.
It can read Tygem's GIB format and save it as SGF.
That's what I use on Windows.

(Sorry, I typed the above before I visited the Sensei page --
I see they already referenced MultiGo. )
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re: Converting Tygem games to sgf on Mac

Post by wineandgolover »

leichtloeslich wrote:
Is there a reasonably easy way to convert game records to sgf?

see http://senseis.xmp.net/?GIB

Also, I found a windows guest in virtualbox to be a much better solution compared to the wonkyness of wine, but whatever floats your boat.


Thanks leichtloeslich.

So there are two Windows programs that can do this and one Android program, and no Mac? I guess I'm out of luck. How do other Mac users save their Tygem games for review off-line?

I have no idea about the comparison between wine and virtualbox. The advantage of the wine thread I mentioned earlier, is there were step-by-step instructions outlining EXACTLY how to make it work, without needing to understand why it worked. So I just followed instructions and got onto Tygem. Yay!

I don't know the ins and outs of wine or virtualbox. I haven't coded in many years, and it all looks quite tricky.

Thanks, again.
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re:

Post by wineandgolover »

EdLee wrote:If you are able to run Windows programs via Wine,
see if you can install and run MultiGo.
It can read Tygem's .gib format and save it as SGF.
That's what I use on Windows.

Ed, per my previous post, I have no idea how to even get started trying that.

I have lost my command line skills. :) or maybe :(

Thanks.
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Ah, sorry I have no idea what's the environments with Wine or virtualbox...

Which previous thread ?
User avatar
leichtloeslich
Lives in gote
Posts: 314
Joined: Wed Feb 29, 2012 1:16 pm
Rank: KGS 4k
GD Posts: 0
Location: Germany
Has thanked: 10 times
Been thanked: 128 times

Re: Converting Tygem games to sgf on Mac

Post by leichtloeslich »

So there are two Windows programs that can do this and one Android program, and no Mac?

there is a gokifu.com perl script linked. I haven't tried it, but I would guess it works.
And I'm pretty sure perl comes pre-installed on Mac, I would be shocked if it weren't the case. You need to know how to start stuff from the command line, but it's fairly simple.

Also virtualbox is pretty painless on linux hosts at least, not sure about Mac. On linux you just install it, then you install windows in a virtual machine and you never have to worry about cryptic wine error messages ever again. You will need a windows CD/DVD for this, of course.
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re:

Post by wineandgolover »

EdLee wrote:Ah, sorry I have no idea what's the environments with Wine or virtualbox...

Which previous thread ?


This post had the super-easy installation guide for Tygem on Wine
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re: Converting Tygem games to sgf on Mac

Post by wineandgolover »

leichtloeslich wrote:
So there are two Windows programs that can do this and one Android program, and no Mac?

there is a gokifu.com perl script linked. I haven't tried it, but I would guess it works.
And I'm pretty sure perl comes pre-installed on Mac, I would be shocked if it weren't the case. You need to know how to start stuff from the command line, but it's fairly simple.

Also virtualbox is pretty painless on linux hosts at least, not sure about Mac. On linux you just install it, then you install windows in a virtual machine and you never have to worry about cryptic wine error messages ever again. You will need a windows CD/DVD for this, of course.

Again, thanks leichtloeslich.

Sadly one person's "pretty painless" is another person's "wtf!?!"

Sure I could probably download and install perl, and open a command line, but I have no idea how to link a "script and example" to a downloaded .gib file. Yes, I think I could spend a few hours and hopefully figure it out. But it won't be trivial for me. Well, until I figure it out. Then I'd once again be convinced that I'm an idiot.

Most people I know wouldn't go near a command line. That's the realm of the hacker. :)
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
emeraldemon
Gosei
Posts: 1744
Joined: Sun May 02, 2010 1:33 pm
GD Posts: 0
KGS: greendemon
Tygem: greendemon
DGS: smaragdaemon
OGS: emeraldemon
Has thanked: 697 times
Been thanked: 287 times

Re: Converting Tygem games to sgf on Mac

Post by emeraldemon »

just paste it here:

http://sowhat.ifdef.jp/SGF/gib2SGF.html

converts gib to sgf.
User avatar
fireproof
Lives with ko
Posts: 172
Joined: Sat Apr 20, 2013 8:22 am
GD Posts: 0
Universal go server handle: fireproof
Location: Santa Barbara, CA
Has thanked: 235 times
Been thanked: 77 times

Re: Re:

Post by fireproof »

wineandgolover wrote:
EdLee wrote:If you are able to run Windows programs via Wine,
see if you can install and run MultiGo.
It can read Tygem's .gib format and save it as SGF.
That's what I use on Windows.

Ed, per my previous post, I have no idea how to even get started trying that.

I have lost my command line skills. :) or maybe :(

Thanks.


I've had good luck using Wineskin http://wineskin.urgesoftware.com/tiki-index.php to wrap up Windows apps -- MultiGo works well for me that way. It doesn't require any particular CLI skills either :)

If you run into trouble I could share the one I've built -- it's about 450 MB, though.
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Converting Tygem games to sgf on Mac

Post by Kirby »

emeraldemon wrote:just paste it here:

http://sowhat.ifdef.jp/SGF/gib2SGF.html

converts gib to sgf.


I can vouch for emeraldemon's link - I've used it before. I would have mentioned it myself if I had read this thread earlier.
be immersed
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re: Converting Tygem games to sgf on Mac

Post by wineandgolover »

emeraldemon wrote:just paste it here:

http://sowhat.ifdef.jp/SGF/gib2SGF.html

converts gib to sgf.


Yeah, that worked! Easy!

It gave an error:
Unreadable result "" on line 2

but it seemed to work okay. Does this work with variations, comments, too?

Thanks, very much, to all who contributed to this thread!
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
eyecatcher
Dies with sente
Posts: 74
Joined: Sat Feb 26, 2011 1:14 am
Rank: kgs 5 kyu
GD Posts: 0
Universal go server handle: eyecatcher
Location: Germany
Has thanked: 141 times
Been thanked: 19 times

Re: Converting Tygem games to sgf on Mac

Post by eyecatcher »

emeraldemon wrote:just paste it here:

http://sowhat.ifdef.jp/SGF/gib2SGF.html

converts gib to sgf.


i had the same problem, thanks for sharing that link! :bow:
“Play where you want and don’t be afraid. If you’re chasing the dream you must take the risk.” Yasumasa Hane 9p
Post Reply