Entropia on Linux

PkmX

Stalker
Joined
Mar 3, 2006
Posts
1,543
Location
Hsinchu/Taipei, Taiwan
Society
Art of Mining
Avatar Name
PkmX PkmX PkmX
I recently picked up EU on Linux again, and I thought I'd resurrect this thread to give an update.

My setup is still the same as before: ASUS K53SV with integreted Intel HD Graphics 3000 and NVIDIA GT540M (Optimus), using wine-staging 1.7.54.

Now I'm running EU with the integrated chipset, on a 64-bit wineprefix with 32-bit client; you also need
Code:
$ winetricks vcrun2005 corefonts d3dx9
as well as the aforementioned WINED3D_BUFFER_DOUBLEBUFFER patch for CE2 games to work (You don't need the patch if you enable CSMT in wine-staging). I tried to hunt, mine and travel through space via MS and it all worked without problems.

Running EU on 32-bit wineprefix doesn't work for me, neither does it work with the NVIDIA graphics card over bumblebee and NVIDIA's propriety driver. However, I did manage to make it work with the open source nouveau driver and PRIME, but the performance is only on par with the Intel.

Enabling CSMT on wine-staging works nicely and should provide a performance boost.

Still, whether EU works still heavily depends on your exact hardware setup. I'm wondering if someone using ATI/AMD cards can provide some feedback, as their open source driver is improving very nicely these days.
 
Last edited by a moderator:

davidt

Hatchling
Joined
Nov 11, 2007
Posts
8
Location
Poland
Society
Black Star Society
Avatar Name
David Hoek Liode
I recently picked up EU on Linux again, and I thought I'd resurrect this thread to give an update.

My setup is still the same as before: ASUS K53SV with integreted Intel HD Graphics 3000 and NVIDIA GT540M (Optimus), using wine-staging 1.7.54.

Now I'm running EU with the integrated chipset, on a 64-bit wineprefix with 32-bit client; you also need
Code:
$ winetricks vcrun2005 corefonts d3dx9
as well as the aforementioned WINED3D_BUFFER_DOUBLEBUFFER patch for CE2 games to work (You don't need the patch if you enable CSMT in wine-staging). I tried to hunt, mine and travel through space via MS and it all worked without problems.

Running EU on 32-bit wineprefix doesn't work for me, neither does it work with the NVIDIA graphics card over bumblebee and NVIDIA's propriety driver. However, I did manage to make it work with the open source nouveau driver and PRIME, but the performance is only on par with the Intel.

Enabling CSMT on wine-staging works nicely and should provide a performance boost.

Still, whether EU works still heavily depends on your exact hardware setup. I'm wondering if someone using ATI/AMD cards can provide some feedback, as their open source driver is improving very nicely these days.
Hi,

Could you please create some small manual how to setup Wine and Entropia Universe on Linux?
Did you use only Wine or PlayOnLinux app?

I tried everything and it still doesn't work for me :(
Best would be step by step instruction.

Thanks in advance
 

skeezer

Old Alpha
Joined
Sep 6, 2008
Posts
910
Location
Bilton Tower 2, 3 B
Society
Irken Invaders
Avatar Name
Szilard Skeezer Aszkenaze
Yes, more info please.

;)
 

PkmX

Stalker
Joined
Mar 3, 2006
Posts
1,543
Location
Hsinchu/Taipei, Taiwan
Society
Art of Mining
Avatar Name
PkmX PkmX PkmX
Here is the adapted version of this step-by-step guide:

1. You need to install wine-staging, either from your distribution's repository, third-party ppa, playonlinux, etc, or build it yourself. This is necessary because it provides CSMT which happens to workaround a bug in CE2 while also providing a performance boost.

2. Start with a clean wine prefix for EU:
Code:
$ export WINEPREFIX=$HOME/.wine-eu
$ rm -r $WINEPREFIX # Delete everything, just in case
$ winecfg # To bootstrap the wine installation
3. In winecfg, enable CSMT in the staging tab and check "Automatically capture the mouse in full-screen windows" in the graphics tab.

4. Apply
Code:
$ winetricks corefonts vcrun2005 d3dx9
to install windows fonts and override d3dx9 dlls with windows native ones.

5. Install EU with the setup program from the official website, it should go smoothly.

6. You need to change to EU's installation directory before starting the client. Here I use a script to launch the client loader:
Code:
#!/bin/sh

export WINEPREFIX=$HOME/.wine-eu
cd $WINEPREFIX/drive_c/Program\ Files\ \(x86\)/Entropia\ Universe && wine bin32/ClientLoader.exe &> $HOME/.entropiauniverse.log
7. Start the client loader and let it update the client and download planet contents. Copy
Code:
C:/users/Public/Application Data/entropia universe/public_users_data
from an existing installation if you don't want to download again.

8. Uncheck 64-bit client in the settings, and you may also want to try safe mode and disable audio for the first time to minimize the possibilities of hitting bugs.

9. Launch! If all goes well, you should be able to see the login screen and play. Otherwise, check ~/.entropiauniverse.log and see if you can figure out what goes wrong.
 
Last edited:

davidt

Hatchling
Joined
Nov 11, 2007
Posts
8
Location
Poland
Society
Black Star Society
Avatar Name
David Hoek Liode
Works perfect!

For those who are using PlayOnLinux I created installation script
http://hoek.pl/pliki/EntropiaUniverse.txt
I also submited it on official PlayOnLinux site
https://www.playonlinux.com/pl/app-2258.html

Thank you very much PkmX! You're the best!

PS. Ahh one more thing, after installation you need to configure wine and on Application Tab choose Windows version to: Windows 7, on Graphic Tab, choose "Automatically capture the mouse in full-screen windows" and uncheck both options about Windows decorations and windows manage. Last thing is on Staging Tab -> Choose Enable CSMT :D
 
Last edited:

PkmX

Stalker
Joined
Mar 3, 2006
Posts
1,543
Location
Hsinchu/Taipei, Taiwan
Society
Art of Mining
Avatar Name
PkmX PkmX PkmX
I'm looking into possibilities of using the Direct3D state tracker (Yes, you heard it right, Linux's open source graphics drivers can now support Direct3D natively). However, it needs patched mesa, Intel DRI driver and wine, as well as switching to nouveau, so it is probably going to take a while for me to poke around this combination. I will post here if I find out a way to get this to work on my machine.
 

PkmX

Stalker
Joined
Mar 3, 2006
Posts
1,543
Location
Hsinchu/Taipei, Taiwan
Society
Art of Mining
Avatar Name
PkmX PkmX PkmX
It turns out there was a bug in primus when used with wine-staging. This is already patched in the repository, so after recompilation I'm able to get EU to run on my NVIDIA GT540M via bumblebee/primus. Things look much better and smooth now. I will submit a bug report to Arch Linux to get them to re-package {,lib32-}primus.

Here are some screenshots:


Running on high settings works nicely too, but there are some occasional graphical glitches if you look at it funny. The new hadesheim area looks really great. ;)


The next objective would be allowing EU to run on 64-bit wine, which should fix the problem where it sometimes run out of memory if I visit too many places in one session.
 
Last edited:

davidt

Hatchling
Joined
Nov 11, 2007
Posts
8
Location
Poland
Society
Black Star Society
Avatar Name
David Hoek Liode
Update for PlayOnLinux

Code:
#!/bin/bash
# Date : 2015-11-09
# Last revision : 2016-03-12
# Wine version used : 1.9.5-staging
# Distribution used to test : Ubuntu, Mint, Xubuntu
# Author : Hoek
# Licence : GPLv3
# PlayOnLinux:  playonlinux-4.2.10

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

TITLE="Entropia Universe"
AUTHOR="Hoek"
PUBLISHER="Mindark PE AB"
PREFIX="EntropiaUniverse"
GAME_URL="http://www.entropiauniverse.com/"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2258
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
POL_System_TmpCreate "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://install2.entropiauniverse.com/entropia_universe_setup.exe" "8892427c5c7c01e6461d5e867fe4471f"
    INSTALLER="$POL_System_TmpDir/entropia_universe_setup.exe"
fi

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call "POL_Install_corefonts"
POL_Call "POL_Install_vcrun2005"
POL_Call "POL_Install_vcrun2012"
POL_Call "POL_Install_d3dx9"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

POL_System_TmpDelete

Set_OS "win7"
POL_Wine_X11Drv "GrabFullScreen" "Y"
POL_Wine_X11Drv "Managed" "N"
POL_Wine_X11Drv "Decorated" "N"
POL_Wine_UpdateRegistryWinePair 'DllRedirects' 'wined3d' 'wined3d-csmt.dll'
POL_Shortcut "ClientLoader.exe" "$TITLE"

POL_SetupWindow_Close
exit
Should be approved soon on official site: https://www.playonlinux.com/pl/app-2258-Entropia_Universe.html
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
Works for me with wine 1.9.7 both with and without staging patchset.
After each update. ClientLoader fail to restart, and permissions need to be fixed:

Code:
chmod -R a+r,u+rw drive_c/Program\ Files/Entropia\ Universe/
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
EU 15.9.0, Wine 1.9.11, opensource drivers -- all working well as in versions before, except Secret Island.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps)

I have 100% crash on entrance to Secret Island even in safe mode, waiting for support case to return me to main RT.

I will continue post working combinations, and known problems.
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
EU 15.9.3, Wine 1.9.16, opensource drivers (radeon) -- all working well as in versions before, except Secret Island.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps)
Copy item/location link copying stuff only as text, not as link.


I will continue post working combinations, and known problems.
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
EU 15.9.3, Wine 1.9.18, opensource drivers (radeon) -- all working well as in versions before.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps)

Copy item/location link copying stuff only as text, not as link.
This one was fixed

I will continue post working combinations, and known problems.
 

Amber Knightley

Prowler
Joined
Aug 4, 2010
Posts
1,443
Society
Sons of Anarchy
Avatar Name
Amber Blastie Knightley
EU 15.9.3, Wine 1.9.18, opensource drivers (radeon) -- all working well as in versions before.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps)


This one was fixed

I will continue post working combinations, and known problems.
Nice to see that things still improves with updates :)
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
Nice to see that things still improves with updates :)
Actually was a regression, added few wine releases ago.
Was pretty annoying.

PS game client under wine still unable to paste arbitrary text/urls from outside.
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
EU 15.10.3, Wine 1.9.23 (+staging), opensource drivers (radeon) -- all working well as in versions before.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps).

Clipboard support was fixed around 1.9.22, so now possible paste URLs to game.
 

lilithqueen

Young
Joined
Dec 15, 2009
Posts
21
Avatar Name
Lilith Queen Queen
Code:
Linux localhost 4.4.26-gentoo #1 SMP PREEMPT Mon Nov 28 02:05:27 MSK 2016 x86_64 Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz GenuineIntel GNU/Linux
Nvidia drivers
wine-1.9.20 (Staging)



it is working :)
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
EU 15.11.2, Wine 2.0-rc2 (+staging), opensource drivers (radeon) -- all working well as in versions before.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps).
ComPet PC edition also works (require copy of dnsapi.dll from real windows)
 

RobBuona

Stalker
Joined
Dec 29, 2010
Posts
2,418
Location
North Carolina
Society
Stockholm Syndrome
Avatar Name
Patrizia Pandemic Giano
Just for fun, I'm trying to run EU on Wine on Linux Mint 18.1 Cinnamon. Installed okay, but the client loader doesn't want to open. Anyone else running it on Mint?
 
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
EU 15.13.1, Wine 2.7 (+staging), opensource drivers (radeon) -- all working well as in versions before.

Minor issues: ClientLoader hang on beginning update (kill/restart helps). Main game sometimes not quit cleanly (hang on quitting game, no damage, just kill process helps).
 

Lefty

Stalker
Joined
Mar 4, 2009
Posts
1,702
Location
Billy's Spaceship Afterworld
Society
Calypso Rescue Team
Avatar Name
Medb Lefty Lucy
H-uh. Well, I installed wine-development (debian's wine-staging package) and ran winecfg-development, but there was no "Staging" tab. Maybe I just need to get with the program and move up from debian8, but this is my work comp and I don't have an easy way to back it up for migration out here in the boondocks. Is there another simple way to enable CSMT?

(running that launch script in xterm froze the terminal with a nonresponsive text style cursor and no log file generated)

[EDIT]: Looks like I have wine-development 2.0-3~bpo8+1 and just installed playonlinux 4.2.5-1 so I can play with something tonight.... note: real life wine has an adverse effect on the real life skill of spelling... kind of want to try regressing to wine-development 1.7.29-4 to see what happens, but thinking more that I need a different way to grab wine-staging in the first place... my kind of fun :)

[EDIT2]: Easiest. Solution. Ever.
Wrong package. Correct installation instructions at https://wine-staging.com/installation.html
Debian's instructions were misleading and possibly wrong. Life goes on.

[EDIT3]: Removed '\ \(x86\)' from the path used in OP's client loader launch script as it is omitted in the path winehq-staging 2.19.0~Jessie built... unless that directory was left over from my having previously installed wine 1.6.2-20 and then wine 1.8.7-2~bpo8+1... can't be bothered to figure that out.

[EDIT4]: Dear God Calypso is a huge download. Will have to resume this project next week. Wish I had logged out on Monria.
 
Last edited:

Lefty

Stalker
Joined
Mar 4, 2009
Posts
1,702
Location
Billy's Spaceship Afterworld
Society
Calypso Rescue Team
Avatar Name
Medb Lefty Lucy
Not trying to be a smarty pants, just noticing the answer to your question is in OP:

I noted, that you use wined3d-csmt, does CSMT works better, than ordinar wined3d?
I recently picked up EU on Linux again, and I thought I'd resurrect this thread to give an update.

My setup is still the same as before: ASUS K53SV with integreted Intel HD Graphics 3000 and NVIDIA GT540M (Optimus), using wine-staging 1.7.54.

Now I'm running EU with the integrated chipset, on a 64-bit wineprefix with 32-bit client; you also need
Code:
$ winetricks vcrun2005 corefonts d3dx9
as well as the aforementioned WINED3D_BUFFER_DOUBLEBUFFER patch for CE2 games to work (You don't need the patch if you enable CSMT in wine-staging).
I tried to hunt, mine and travel through space via MS and it all worked without problems.

Running EU on 32-bit wineprefix doesn't work for me, neither does it work with the NVIDIA graphics card over bumblebee and NVIDIA's propriety driver. However, I did manage to make it work with the open source nouveau driver and PRIME, but the performance is only on par with the Intel.

Enabling CSMT on wine-staging works nicely and should provide a performance boost.

Still, whether EU works still heavily depends on your exact hardware setup. I'm wondering if someone using ATI/AMD cards can provide some feedback, as their open source driver is improving very nicely these days.
 

Doer

Marauder
Joined
Nov 29, 2005
Posts
7,004
Location
Muddlin' Through
Society
Rangers
Avatar Name
David "Doer" Falkayn
The OP is quite out of date. I'm the maintainer for EU in the App DB on WineHQ because no one else wanted the job, and have some comments there on it. This is the most recent version as of now.

There are really just three steps to get EU running 99.9% on linux. The first two are to setup multiarch and install wine.

It's a mess to get EU (or many other games eg WoW, many FPS) working on the distro packages of wine. You want to go to the wine-staging section of the WineHQ page (apparently it also has its own page now) and install from the wine-staging repository if you have a debian-based distro (and really, why wouldn't you? (queue holy war ;) )). I believe there are instructions for installing multiarch support on that page. If not i will track them down again. Once wine-staging is installed, you can enable its special options from winecfg. Do that.

The third step is to make sure you have your 32 bit graphics libraries installed (i think this is mostly an issue with nvidia cards). Instructions are in the winehq app db.

And that was it for me. From there you can install EU from the downloaded installer. EU works in 32 or 64 bit client versions, but i didn't get sound with the 64 bit client (that option is in your settings menu in the client loader). I imagine that's a library issue that could be fixed.

The main problem i have with EU is any general graphics setting over "Medium" (or Shader setting in the advanced menu over "Medium"). Everything else can be cranked but shader above medium will crash. This is probably a missing DirectX or driver issue and i welcome anyone to contribute a workaround (installing different D3D packages and enabling them may work. I didn't want to screw around with that).

With the wine-staging repository, many games that had issues with vanilla wine are accessible now without "rolling your own". Give it a try!
 
Last edited:

Lefty

Stalker
Joined
Mar 4, 2009
Posts
1,702
Location
Billy's Spaceship Afterworld
Society
Calypso Rescue Team
Avatar Name
Medb Lefty Lucy
Update: I'm most likely up and running now. The issue I'm currently tackling is, the router here (whose admin is out of state atm) decided EU is porn about the time Calypso finished downloading. I've seen the same issue many times back at the shop in town, where the boss promptly corrected the router's opinion (3 times so far over the past 5 years, he has had to call Comcast and use strong language to get them to let EU through). I'll update again when I have new information.
 

Lefty

Stalker
Joined
Mar 4, 2009
Posts
1,702
Location
Billy's Spaceship Afterworld
Society
Calypso Rescue Team
Avatar Name
Medb Lefty Lucy
Well the router issue seems to be solved, but now the client loader does its normal thing up through "Downloading required planet data" and then undraws its progress bar and hangs. Not real sure what to try except repetition.

entropiauniverse.log says:
fixme:dnsapi:dns_map_options option DNS_QUERY_DONT_RESET_TTL_VALUES not implemented
... After a wee bit of twiddling with winecfg, now the log shows looping through variants on:
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
fixme:mshtml:nsChannel_IsNoCacheResponse (0xad4c458)->(0x32dd27)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0xad4c458)->(0x32deb8)
fixme:mshtml:nsChannel_GetContentLength (0xad4c458)->(0x32dcb0)
... And found one error message amid the fixme's:
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
Seems I didn't have winbind installed.
 
Last edited:
Joined
Jul 17, 2014
Posts
83
Location
GMT+2
Society
NBK Army
Avatar Name
Hans Penguin Black
I personally use wine-staging 2.20 with AMD HD6770 video (I use opensource drivers, not fglrx), use mix medium/low settings ingame (except draw distance, which is maximum, and water effects -- safe/off, this save me from crashed couple years ago, but I never try to re-enable it)

I hope EU+wine combination will survive deprecation of XP
 

thewebbie

Dominant
Joined
Mar 27, 2006
Posts
492
Location
Florida
Society
Shaolin
Avatar Name
Soumal Thewebbie Darksky
Anyone have luck getting Entropia running in 64bit mode? I get the out of ram error after 5 minutes every time with 32bit.
 

Edward-James

Old Alpha
Joined
Nov 12, 2009
Posts
871
Location
Austria
Society
SHOOT ´N LOOT
Avatar Name
Edward MrEddie James
Anyone have luck getting Entropia running in 64bit mode? I get the out of ram error after 5 minutes every time with 32bit.
forget playing eu with 32 bit....only with 64 bit you can play longer than a few minutes (64 bit can adress more ram therefore also for the eu-client.
 
Top