Life In 19x19
https://lifein19x19.com/

Tygem on Linux using Wine!
https://lifein19x19.com/viewtopic.php?f=43&t=6049
Page 1 of 1

Author:  Jash [ Wed May 23, 2012 6:16 am ]
Post subject:  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?

Author:  cdybeijing [ Wed May 23, 2012 5:44 pm ]
Post subject:  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?

Author:  norman [ Thu May 24, 2012 5:59 pm ]
Post subject:  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.

Author:  Tofu [ Tue May 29, 2012 11:21 am ]
Post subject:  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.

Author:  linux sound test [ Thu Aug 20, 2015 2:22 pm ]
Post subject:  Re: Tygem on Linux using Wine!

Try to instal QGO

Author:  zwim [ Thu Feb 23, 2017 9:07 pm ]
Post subject:  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

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

Author:  apetresc [ Fri Feb 24, 2017 8:09 am ]
Post subject:  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 :D

Author:  zwim [ Fri Feb 24, 2017 5:27 pm ]
Post subject:  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.

Author:  apetresc [ Mon Feb 27, 2017 7:01 pm ]
Post subject:  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:
Attachment:
File comment: Screenshot of Tygem with Korean characters
tygem.png
tygem.png [ 1.4 MiB | Viewed 1359 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

Author:  nasdaq [ Tue Feb 28, 2017 3:21 am ]
Post subject:  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:

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!

Author:  zwim [ Sat Mar 04, 2017 5:58 am ]
Post subject:  Re: Tygem on Linux using Wine!

I'm glad it was useful to you two.

Author:  Tapani [ Mon Oct 09, 2017 11:34 pm ]
Post subject:  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 :-)

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/