It is currently Thu Oct 31, 2024 5:35 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
Offline
 Post subject: Tygem on Linux using Wine!
Post #1 Posted: Wed May 23, 2012 6:16 am 
Dies in gote

Posts: 28
Liked others: 0
Was liked: 1
KGS: Ojisama
I was wondering whether Tygem was working properly on linux using wine? And if yes, is there some functions that are not working?

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #2 Posted: Wed May 23, 2012 5:44 pm 
Lives in gote
User avatar

Posts: 581
Location: Shanghai, China
Liked others: 96
Was liked: 100
Rank: IGS 2 dan
I think tygem and wbaduk share the same user base, and certainly there are many who have run wbaduk on linux using wine. Perhaps try asking in that forum?

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #3 Posted: Thu May 24, 2012 5:59 pm 
Dies in gote

Posts: 21
Liked others: 0
Was liked: 1
Rank: 2k
KGS: burrito
I've tried installing tygem on OS X with wine. I was able to install the app and run it, but I was unable to actually use the app in any meaningful way without great difficulty. (the primary problem was mouse clicks not registering correctly)

That doesn't directly say what the situation on linux is, but perhaps that gives some idea of the worst case situation on linux.

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #4 Posted: Tue May 29, 2012 11:21 am 
Dies with sente
User avatar

Posts: 105
Location: Los Angeles
Liked others: 28
Was liked: 22
Rank: KGS 4 kyu
KGS: Tofu
I've been running Tygem on linux since it's English client release. I think I had to download a dll file from somewhere to get it to run properly and had to disable flash and animations, etc. There's a thread somewhere that details the process if you search for it. It crashes once in awhile, but I have never had a game forfeited because of it, I just re-login and resume the game. It's not the best experience, but better than nothing I guess. I still prefer IGS and KGS on linux.

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #5 Posted: Thu Aug 20, 2015 2:22 pm 
Beginner

Posts: 7
Liked others: 0
Was liked: 0
Try to instal QGO

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #6 Posted: Thu Feb 23, 2017 9:07 pm 
Beginner

Posts: 8
Liked others: 0
Was liked: 2
Rank: 5k
Installing Tygem on linux is easier on a 32-bits machine than on a 64-bits one.
Here I assume a debian based system (Debian, Ubuntu, Mint, LMDE,...). I tested that on LMDE2 64 bits.

Let start with the easy case.

32 bits machine

If wine is not installed then start by installing it

Code:
$ sudo apt-get install wine winetricks


You have to install missing DLL in wine

Code:
$ winetricks --gui
    - Select the default wineprefix -> validate
    - Install a windows DLL or component -> validate
    - Check mfc42 box -> validate
    - Then cancel until out of application


Then Tygem will need two packages likely not installed by default. I cannot guarantee these will suffice, but at least it worked for me (I advise to run winedbg later, so as to see which packages are missing, if any).

Code:
$ sudo apt-get install libjpeg62
$ sudo apt-get install libasound2-plugins


Download the client

Code:
$ wget http://download2.tygembaduk.com/down_tygem/setup/TygemGlobalSetup.exe


I recommend installing in command line debugger (winedbg instead of wine) in order to see if you are missing packages.

$ winedbg file.exe
> c
...
> quit

Unfortunately Tygem installer is known to fail to download all packages at once, sometimes you have to run installer many times until it succeed.
If the application finally launches but is a blank windows, then you are missing some packages.

Code:
$ wine TygemGlobalSetup.exe
$ cd .wine/drive_c/Program\ Files/TygemGlobal/
$ wine TygemGlobal.exe
$ if failure -> winedbg InstallTygem.exe


And normally you should see an icon appearing on the desktop and the Tygem application will launch.


64 bits machine

This is a little annoying, not because of Tygem this time but because of wine which is not very multi-arch compliant.
I suppose here that wine 64 bits is already installed but not wine 32 bits. (**)

Note: It is possible to use PlayOnLinux instead, this is not the method I describe here.

Anyway, you'll have to define an alternate platform and install 32 bits stuff like in above section (so read it first for details).

Code:
$ sudo dpkg --add-architecture i386
$ sudo apt-get install wine32 winetricks
$ sudo apt-get install libjpeg62:i386
$ sudo apt-get install libasound2-plugins:i386


Now the fun part, do everything in the wine32 env

Code:
$ WINEARCH="win32" WINEPREFIX="~/.wine32" wineboot
$ WINEARCH="win32" WINEPREFIX="~/.wine32" winetricks --gui
    - Select the default wineprefix -> validate
    - Install a windows DLL or component -> validate
    - Check mfc42 box -> validate
    - Then cancel until out of application
$ WINEARCH="win32" WINEPREFIX="~/.wine32" wine TygemGlobalSetup.exe
$ cd .wine/drive_c/Program\ Files/TygemGlobal/
$ WINEARCH="win32" WINEPREFIX="~/.wine32" wine TygemGlobal.exe
$ if failure : WINEARCH="win32" WINEPREFIX="~/.wine32" winedbg InstallTygem.exe






(**) If no wine is installed then it seems simpler to have 32 bits in .wine and 64 bits in .wine64

Code:
$ cd ~
$ WINEARCH="win32" WINEPREFIX="~/.wine32" wineboot
$ WINEARCH="win64" WINEPREFIX="~/.wine64" wineboot
$ ln -s .wine32 .wine

If you prefer the opposite then do

$ ln -s .wine64 .wine

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #7 Posted: Fri Feb 24, 2017 8:09 am 
Lives with ko
User avatar

Posts: 251
Location: Waterloo, Ontario (Canada)
Liked others: 110
Was liked: 155
Rank: AGA 1k
GD Posts: 1190
KGS: apetresc
IGS: apetresc
OGS: apetresc
Universal go server handle: apetresc
Hey zwim, I've never had problems running Tygem in wine, but you seem pretty knowledgeable on this topic so I thought I'd ask you about something that's been bugging me for a while – how do I also install the Korean language packs that allow the random hangul characters (like in pro game names) that appear in the client to show up? I've installed corefonts, but I guess I also need the Korean language pack or something like that, but I haven't been able to figure it out. Do you have any idea? Thanks :D

_________________
The road to wisdom? Well, it's plain, and simple to express: Err, and err, and err again; but less, and less, and less!
Image Image Image Image

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #8 Posted: Fri Feb 24, 2017 5:27 pm 
Beginner

Posts: 8
Liked others: 0
Was liked: 2
Rank: 5k
You can use winetrick too to install fonts, like in this example

http://www.omgubuntu.co.uk/2013/01/phot ... ne-in-wine

But you will possibly have the same problem that occurs in windows, if the client is not in unicode but uses a korean codepage then you'll have to tell the client to use that particular codepage (but then other characters may be broken). In windows this is taken care of by AppLocale utility, unfortunately I have no idea how they do handle this issue in wineHQ.

From this answer it seems you can set some env variables and launch in command line

http://askubuntu.com/questions/466655/h ... untu-14-04
https://docs.moodle.org/dev/Table_of_locales

LANG=ko_KR.UTF-8 wine ~/.wine/.../TygemGlobal.exe ?

REM: not tested, I'm under windows at the moment.

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #9 Posted: Mon Feb 27, 2017 7:01 pm 
Lives with ko
User avatar

Posts: 251
Location: Waterloo, Ontario (Canada)
Liked others: 110
Was liked: 155
Rank: AGA 1k
GD Posts: 1190
KGS: apetresc
IGS: apetresc
OGS: apetresc
Universal go server handle: apetresc
Thanks, zwim :) Starting from your hints, I was able to make it work. Here's what it looks like:
Attachment:
File comment: Screenshot of Tygem with Korean characters
tygem.png
tygem.png [ 1.4 MiB | Viewed 23702 times ]


(Notice the Korean and Chinese characters in the game titles). For anyone else trying to make this work, here's the steps (you can kind of see them in the terminal in the screenshot):

  1. Install the cjkfonts package with WINEPREFIX=~/.wine winetricks cjkfonts
  2. Make sure you have generated the Korean locales. In Arch Linux or Ubuntu, you can do this by editing /etc/locale.gen and making sure the following lines:
    Code:
    ko_KR.EUC-KR EUC-KR 
    ko_KR.UTF-8 UTF-8
    are present and un-commented. Then, run sudo locale-gen.
  3. When running Tygem, make sure LC_ALL="ko_KR" is set (though you probably want to do this in the .desktop file or script you use to launch Tygem with, rather than setting LC_ALL globally, since that would set your locale to Korean for all your programs).

No need to have a Wine prefix specifically for the Korean locale, it's fine if you run other programs with your default locale in the same prefix. Hope that helps anyone else who wants the most high-fidelity Tygem experience possible :D

_________________
The road to wisdom? Well, it's plain, and simple to express: Err, and err, and err again; but less, and less, and less!
Image Image Image Image

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #10 Posted: Tue Feb 28, 2017 3:21 am 
Dies in gote

Posts: 53
Liked others: 3
Was liked: 9
Rank: 1k
Hey,

I finally got the Korean Tygem version working under wine with Korean fonts with the help of these posts:
I'm using debian jessie,

I followed the zwim 32bit machine guide.
Then did the following from apetresc:

Quote:
Make sure you have generated the Korean locales. In Arch Linux or Ubuntu, you can do this by editing /etc/locale.gen and making sure the following lines:
Code:
ko_KR.EUC-KR EUC-KR
ko_KR.UTF-8 UTF-8
are present and un-commented. Then, run sudo locale-gen.


Then did this:
LANG="ko_KR.UTF8" wine TygemBadukSetup.exe

It doesn't run quite so smoothly as under virtualbox, the timer countdown seems to stick a little bit more, but it is perfectly usable. I think this has more to do do with my almost 10 years old core 2 duo laptop though.

I managed to get a Korean Tygem account 'with a South Korean flag' by pestering the admins a few years before they released an English client. I'm kind of attached to it in a sentimental way, so to get it working under wine I'm pretty happy. Thanks!


This post by nasdaq was liked by: apetresc
Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #11 Posted: Sat Mar 04, 2017 5:58 am 
Beginner

Posts: 8
Liked others: 0
Was liked: 2
Rank: 5k
I'm glad it was useful to you two.

Top
 Profile  
 
Offline
 Post subject: Re: Tygem on Linux using Wine!
Post #12 Posted: Mon Oct 09, 2017 11:34 pm 
Dies with sente

Posts: 96
Liked others: 38
Was liked: 16
Rank: SDK
IGS: 8k
Borrowing this thread to share a trick:

Sometimes (read: annoyingly often) the Tygem client refuses to start under Ubuntu 16.04 and Wine with the error message LERROR_SEMAPHORE.
All successive tries will end with the same error until after a reboot (and sometimes even after a reboot).

The trick to get past that is to NOT click away the error dialog box. Instead open a terminal, and issue a kill signal to the TygemGlobal processes.

After that, Tygem will start as expected on the next attempt :-)

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