Home Home > 2011 > 03 > 15 > openSUSE 11.4 :: Wine… A practical case…
Sign up | Login

openSUSE 11.4 :: Wine… A practical case…

March 15th, 2011 by

For some time I follow the openSUSE Forums which provide me a very interesting view about what our users do with openSUSE. I’ve noticed there are some relevant questions about Wine once in a while in the Games forums.

A few time ago one of my friends nagged me a lot to do a couple of levels in Lord of the Rings Online which has a ‘Free Play’ plan in Europe. People can create an account and play for free the game with some restrictions (contents, equipment, items, etc). Players also have the option of using the online game store to unlock several aspects of the game. I’ve used a free play account for this, as I don’t really dedicate much time to it.

I’ve downloaded and installed the game in a Windows 7 computer (abour 10.5GB’s),  updated it and it works as expected. My laptop has somehow better hardware and I’ve decided to see how it would run under openSUSE through wine! On WineHQ there’s some extensive know-how shared by the community about this game… for my little experiment I’ve used the following:

* Lord of the Rings Online installation files pulled from the installer (since I had previously downloaded the game on a Windows machine, I’ve used those files to avoid downloading 10.5GB’s again).
* Wine 32 bits (1.3.12, shipped with openSUSE, LotRO requires also wine-gecko);
* openSUSE 11.4 x86_64;
* ATI FireGL drivers, release 11.2;
* PyLotRO Launcher (written in Python, used to launch LOTRO since the normal Turbine .NET launcher has some serious issues);

Looking at everything written on WineHQ about LotRO it seems quite a hard task to get this running, luckily it’s actually the opposite… pretty much a quick step, though time consuming due to the size of the game. Here’s the procedures:

  • Installing wine on openSUSE 11.4

Installing wine on openSUSE is pretty easy (like any other software package). Make sure you are networked and open your favourite terminal emulator and type in the following command: zypper install wine wine-gecko. Zypp client will pull all the required dependencies and install the software. Please be aware that your system needs to have 3D capable drivers, often proprietary drivers.

  • Installing Lord of the Rings Online

As I’ve stated previously, I’ve had available the installation cache files from a previous Windows installation which made my life easier (around 10.5GB). If this is not your case, you can look into WineHQ and check how it goes with the installer. An interesting thread can be found here.

When one installs LOTRO on a Windows Machine it will create a folder on the Desktop called LOTRO_* which will contain a local cache of the files necessary to install the game. Inside of this folder there’s a ‘lotrosetup.exe’ runs the installer. To start the installation is quite easy… open a terminal (with normal user), navigate to the directory where we have the cache files from the installer and run: wine lotrosetup.exe. The installer window pops up preceded by a small splash screen. Follow the instructions on the screen and wait until it deploys the game (took around 30/40 minutes).

  • PyLotRO Launcher for Linux

There’s ways to run the game and the Turbine launcher (.NET) isn’t really friendly of wine. I’ve decided to go for PyLotRO which is a small launcher written in Python. I’ve made a small test package which is available on my test repository in OBS (openSUSE Build Service) and called it python-lotro. You can find it here. For openSUSE 11.4 it can download this RPM, python-lotro-0.1.14-4.1.noarch.rpm and install it with: sudo zypper install python-lotro-0.1.14-4.1.noarch.rpm. This will also create a link on your Games menu entry (works in GNOME, never tested on KDE).

You have the Linux launcher installer and are a tiny step away from being able to play LoTRO…

  • Updating the Game…

PyLotRO provides a small interface with the very basic functionality available from the Turbine Launcher. Allows to configure wine debugging output and patch the game amongst other features. Here’s a small screenshot how it’s looks:

To update the game, it’s only required to hit the ‘Tools‘ menu and select ‘Patch‘. This will access the game contents, download, decrypt and update the game to the latest version. Due to the size of the game it really takes a bit of time, so be patient.

WARNING: Before launching the game make sure that you have 3D effects disabled on the Desktop (ex: disable compiz or composite in Kwin). If this step isn’t done, the game might suffer of great performance issues and weird behavior. If something looks fishy, then that’s because you forgot this step. This also made me think in one thing… What impact will Unity and gnome-shell have in cases like this… when the accelerated 3D Desktop will generate performance issues in applications like in this case… something to look for in the nearby future…

After the update it’s possible to login into the game, configure the options and give it a go… You will need a game account first than can be created for free (Europe only as far as I am aware, the game seems to be under subscription in the US), make sure you download the European client as well.

  • Gameplay

The game tries to detect the best configuration for your system (Low in my case)… I’ve forced it to Very High, selected my native resolution and gave it a go. The game is fluid enough, though lags a bit in big cities (ex: Bree), this is somehow something to expect, the same happens in Windows. While I haven’t seen much problems with performance, I’ve disabled dynamic lighting and it’s somehow a bit better. The runs nice and everything seems to work.

I know many tutorials talk about winetricks and d3dx9… I’ve not did such things and the game runs very nice with the native wine dll’s without having the need of installing Microsoft’s DirectX files.

This was a very pleasant experience, and it really surprised me on the positive. OpenSUSE has a very nice version of wine capable of running at least LotRO and World of Warcraft without any issues! It’s something that is worth trying with openSUSE!

Both comments and pings are currently closed.

2 Responses to “openSUSE 11.4 :: Wine… A practical case…”

  1. Hi Nelson, thanks for the interesting Article. I’ll put it into our Tips & Tricks Section from the Weekly News :-)
    cu Sascha

  2. Andrea Florio

    python-lotro is not really working.. i started it, but it wasn’t able to detect my installation..

    i went to settings ad i provided manually the path. that the tool was able to detect it.

    i went to patch the game but this is the error i receive:

    rundll32.exe patchclient.dll,Patch 94.75.194.24:5015 –language /HOME/ANUBIS/.WINE/DRIVE_C/PROGRAMMI (X86)/CODEMASTERS/THE LORD OF THE RINGS ONLINE/CLIENT_LOCAL_EN_GB –productcode LOTROEU –filesonly –highres
    Unrecognized argument ‘HOME/ANUBIS/.WINE/DRIVE_C/PROGRAMMI’

    : : The address:port of the
    patch server.
    –app : The application directory. (default is ‘.’)
    –backup : The backup directory. (default is ‘.\backup’)
    –dataonly : only download and patch data.
    –filesonly : only download and patch files.
    –forward : The forward directory. (default is ‘.\forward’)
    –highres : Patch high res data.
    –language : The language to patch.
    –noapply : download patches but don’t apply them.
    –productcode : Unused. Provided here for backward compatibility.
    –temp : The temp directory. (default is ‘.\temp’)

    Unrecognized argument ‘HOME/ANUBIS/.WINE/DRIVE_C/PROGRAMMI’

    : : The address:port of the
    patch server.
    –app : The application directory. (default is ‘.’)
    –backup : The backup directory. (default is ‘.\backup’)
    –dataonly : only download and patch data.
    –filesonly : only download and patch files.
    –forward : The forward directory. (default is ‘.\forward’)
    –highres : Patch high res data.
    –language : The language to patch.
    –noapply : download patches but don’t apply them.
    –productcode : Unused. Provided here for backward compatibility.
    –temp : The temp directory. (default is ‘.\temp’)

    Unrecognized argument ‘HOME/ANUBIS/.WINE/DRIVE_C/PROGRAMMI’

    : : The address:port of the
    patch server.
    –app : The application directory. (default is ‘.’)
    –backup : The backup directory. (default is ‘.\backup’)
    –dataonly : only download and patch data.
    –filesonly : only download and patch files.
    –forward : The forward directory. (default is ‘.\forward’)
    –highres : Patch high res data.
    –language : The language to patch.
    –noapply : download patches but don’t apply them.
    –productcode : Unused. Provided here for backward compatibility.
    –temp : The temp directory. (default is ‘.\temp’)

    *** Finished ***

    i thought the problem was spaces in the path, so i changed it, but still it won’t work.. starting the game without patching also failed with:

    Initialising, please wait…
    Available languages checked.
    Fetched details from GLS data centre.
    Realm list obtained.
    World queue configuration read
    Checking account details…
    [E08] Server not found – may be down (403)

    not sure what to do.. wine and wine-gecko are installed