Tygem on Linux using Wine!
-
Jash
- Dies in gote
- Posts: 28
- Joined: Sat Aug 14, 2010 5:42 am
- GD Posts: 0
- KGS: Ojisama
- Been thanked: 1 time
Tygem on Linux using Wine!
I was wondering whether Tygem was working properly on linux using wine? And if yes, is there some functions that are not working?
- cdybeijing
- Lives in gote
- Posts: 581
- Joined: Fri Apr 30, 2010 2:27 am
- Rank: IGS 2 dan
- GD Posts: 0
- Location: Shanghai, China
- Has thanked: 96 times
- Been thanked: 100 times
- Contact:
Re: Tygem on Linux using Wine!
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?
-
norman
- Dies in gote
- Posts: 21
- Joined: Thu Dec 30, 2010 4:04 pm
- Rank: 2k
- GD Posts: 0
- KGS: burrito
- Been thanked: 1 time
Re: Tygem on Linux using Wine!
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.
That doesn't directly say what the situation on linux is, but perhaps that gives some idea of the worst case situation on linux.
- Tofu
- Dies with sente
- Posts: 105
- Joined: Tue Jun 29, 2010 9:03 am
- Rank: KGS 4 kyu
- GD Posts: 0
- KGS: Tofu
- Location: Los Angeles
- Has thanked: 28 times
- Been thanked: 22 times
Re: Tygem on Linux using Wine!
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.
-
linux sound test
- Beginner
- Posts: 7
- Joined: Tue Sep 17, 2013 1:52 am
- GD Posts: 0
Re: Tygem on Linux using Wine!
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
You have to install missing DLL in wine
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).
Download the client
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.
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).
Now the fun part, do everything in the wine32 env
(**) If no wine is installed then it seems simpler to have 32 bits in .wine and 64 bits in .wine64
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: Select all
$ sudo apt-get install wine winetricksYou have to install missing DLL in wine
Code: Select all
$ 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: Select all
$ sudo apt-get install libjpeg62
$ sudo apt-get install libasound2-plugins
Download the client
Code: Select all
$ wget http://download2.tygembaduk.com/down_tygem/setup/TygemGlobalSetup.exeI 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: Select all
$ 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: Select all
$ 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: Select all
$ 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: Select all
$ 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
- apetresc
- Lives with ko
- Posts: 256
- Joined: Wed Apr 21, 2010 3:42 pm
- Rank: AGA 1k
- GD Posts: 1190
- KGS: apetresc
- IGS: apetresc
- OGS: apetresc
- Universal go server handle: apetresc
- Location: Waterloo, Ontario (Canada)
- Has thanked: 110 times
- Been thanked: 146 times
- Contact:
Re: Tygem on Linux using Wine!
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 
Re: Tygem on Linux using Wine!
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.
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.
- apetresc
- Lives with ko
- Posts: 256
- Joined: Wed Apr 21, 2010 3:42 pm
- Rank: AGA 1k
- GD Posts: 1190
- KGS: apetresc
- IGS: apetresc
- OGS: apetresc
- Universal go server handle: apetresc
- Location: Waterloo, Ontario (Canada)
- Has thanked: 110 times
- Been thanked: 146 times
- Contact:
Re: Tygem on Linux using Wine!
Thanks, zwim
Starting from your hints, I was able to make it work. Here's what it looks like:
(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):
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
(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):
- Install the cjkfonts package with WINEPREFIX=~/.wine winetricks cjkfonts
- 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:are present and un-commented. Then, run sudo locale-gen.
Code: Select all
ko_KR.EUC-KR EUC-KR
ko_KR.UTF-8 UTF-8 - 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
-
nasdaq
- Dies in gote
- Posts: 53
- Joined: Thu Jan 05, 2017 4:34 pm
- Rank: 1k
- GD Posts: 0
- Has thanked: 3 times
- Been thanked: 9 times
Re: Tygem on Linux using Wine!
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:
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!
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:
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!
-
Tapani
- Dies with sente
- Posts: 96
- Joined: Tue Mar 22, 2016 9:53 pm
- Rank: SDK
- GD Posts: 0
- IGS: 8k
- Has thanked: 38 times
- Been thanked: 16 times
Re: Tygem on Linux using Wine!
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
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



