Page 1 of 1

How to play TOP on Linux

PostPosted: Sat Nov 02, 2013 5:51 pm
by Grand_Rookie
[Description]
I want to play TOP on my Linux box using WineHQ, and after a couple of days of trying still no luck... These are what I've tried:
(1) use different versions of TOP (EN/JP/CH)
(2) use different versions of WineHQ
(3) use different versions of Mono (an open-source and cross-platform implementation of the .NET Framework)

[Environment]
OS: Debian Sid (updated to the latest)
WineHQ version: 1.4 & 1.5.30-1
Mono version: 2.0 & 4.5

[How to reproduce the problem]
Try to execute the TOP launcher under the environment provided.

[Other things that I think might related (just guess)]
1. The native .NET might have used something that do not supported by Mono, even the latest Mono.
2. WineHQ might need some other libs to run TOP.
3. The TOP launcher.

I've tried searching Google and the forum posts, but there is not much about it.
Has anyone successfully played TOP on Linux?
May I have your suggestions (any will be highly appreciated)? Thanks in advance!

Re: How to play TOP on Linux

PostPosted: Tue Nov 05, 2013 2:04 am
by Wojtek
hello,

first thing you can try it to bypass launcher.
just run:
wine tetris.exe enc ip=tetrisonline.pl id=username pw=password

however i was not able to run game correctly, i get some error about memory allocation (i don't remember exact message). but last time i tried was years ago, so there may be some progress. let me know your results.

Re: How to play TOP on Linux

PostPosted: Tue Nov 05, 2013 12:40 pm
by Grand_Rookie
Unfortunately I have encountered the same problem as you did (bad allocation).

$ cd /media/d/game/top_ja/
$ env LC_ALL=ja_JP.utf8 wine tetris.exe enc ip=tetrisonline.pl id=my_id pw=my_pw
result: http://i.imgur.com/ZeNtlqS.png

$ cd /media/d/game/top_en/
$ env LC_ALL=en_US.utf8 wine tetris.exe enc ip=tetrisonline.pl id=my_id pw=my_pw
result: http://i.imgur.com/AGjEbVb.png

By the way, I can change the WINEDEBUG environment variable to show all debugging messages from wine:
$ env WINEDEBUG=all wine tetris.exe enc ip=tetrisonline.pl id=my_id pw=my_pw
However, the amount of messages it shows is so huge.
If you need these messages or coredump, just tell me and I will post it somewhere to let you see.

Thank you

Re: How to play TOP on Linux

PostPosted: Wed Nov 06, 2013 6:15 pm
by Wojtek
hello, i don't think I need any additional logs, there is not much I can do about this issue. I am working on alternative client that will be crossplatform, but progress on it is slow, so i can't say when it will be available.

Re: How to play TOP on Linux

PostPosted: Thu Nov 07, 2013 5:06 am
by Grand_Rookie
I see. Looking forward to that cross-platform client!

Re: How to play TOP on Linux

PostPosted: Wed Nov 04, 2015 7:47 am
by morningpee
FWIW, Wine has improved in the past few years. I can run TOP on Linux just fine.

Re: How to play TOP on Linux

PostPosted: Mon Nov 09, 2015 5:15 pm
by gskw
I was able to start the client under Wine 1.7, but got an "Unable to connect to server" error after the splash screen. 1.6 gave a "bad allocation" error. Any help, perhaps?

EDIT: I successfully started the client by using
Code: Select all
wine TOPLauncher.exe
instead of
Code: Select all
wine tetris.exe

Hope this helps anybody else who reads this thread.

Re: How to play TOP on Linux

PostPosted: Sun May 06, 2018 11:31 pm
by Wojtek
Seems "bad allocation" error is fixed in current version of Wine. Also Wine support .NET executables now.

Re: How to play TOP on Linux

PostPosted: Mon Jul 26, 2021 10:23 am
by guberner
If you need these messages or coredump, just tell me and I will post it somewhere to let you see.