Thursday, 17 November 2016

Installing LOTRO in Linux Mint

I've been having a break from LOTRO for the last few months because I've been addicted to World of Warcraft: Legion and Path of Exile: Atlas of Worlds. I know Update 19 came out with a new zone, North Ithilien, and Myndariel is looking forward to visiting there but she still needs to get to level 105.

However, I finally got fed up with Windows 10 on my laptop. So I copied all my important data to an external hard drive and completely replaced Windows 10 with Linux Mint 17.3.

After getting it set up so I could continue my work, I decided to have another try at getting my favourite games to work as well. I have previously tried to get LOTRO to work in Ubuntu on another computer by following several guides and forum posts, but with no success. Path of Exile (PoE) and World of Warcraft (WoW) installed easily in Linux Mint with PlayOnLinux, and finally I got LOTRO working too - just in time for server maintenance!

Finally got LOTRO working on a laptop in time for server maintenance

Installing LOTRO with PlayOnLinux


There are lots of guides out there on installing LOTRO in Linux - some say use PyLOTRO, or Windows Steam via Wine, or straight Wine, or Crossover or PlayOnLinux. There are also confusing lists of libraries that are recommended as necessary to make it work. Some of these guides may be out of date, but also different methods may work for different people or different computer set-ups.

Note: Wine is a program that lets you run Windows programs in Linux. There are lots of different versions, with some designed to work with specific programs, while others are called "staging" versions which include bug fixes or experimental features not available in the stable versions.

Here's what worked for me:

1. Download the game installer lotrolive.exe from the LOTRO website (select the PC Download).

Download installer from LOTRO website

2. [Install PlayOnLinux from the Software Manager if not already available.] Open PlayOnLinux.

3. To check what Wine versions you have available, select the Tools menu and click on Manage Wine versions. The left side of the pop-up window will show the available versions and the right side shows installed versions. I found version 1.9.18-staging worked for several games including LOTRO, so to install it, select it from the list on the left side and then click the little > button in the middle of the window.

*Update: Wine version 1.9.24 also works with LOTRO Update 19*

4. Select "Install a Program". From the PlayOnLinux install menu, select "Install a non-listed program". This will start a Manual Installation wizard.

PlayOnLinux Install Menu

5. PlayOnLinux informs you that they cannot guarantee the application you are installing will work. Click Next. Select "Install a program in a new virtual drive" and click Next.

6. Give your virtual drive a name - e.g. lotro.

7. It then asks what would you like to do before installation. This is where we get to configure Wine and install any extra libraries needed. Every time I tried installing LOTRO with extra libraries it didn't work, so I decided not to install any libraries at this stage. You can change Wine settings or add extra libraries later if necessary (select the game from the PlayOnLinux window and click Configure). Select the options relating to Wine then click Next.

Some pre-installation configuration options
8. It will ask you which version of Wine to use. Select the version that we installed earlier. Then it says it is creating the virtual drive and opens a Wine configuration panel.

Wine configuration panel
9. In the Applications tab, set the Windows Version to Windows XP or Windows 7. *Update: I initially set up LOTRO using Windows XP, but have changed Wine to use Windows 7 and it works fine too.*

I left the Libraries alone so there were no existing overrides listed.

In the Graphics tab, make sure "Allow the window manager to control the window" is ticked. This lets LOTRO change the window according to your in-game settings. I've seen some people recommend choosing the "emulate a virtual desktop" and matching it to your screen resolution, but this didn't work for me - I ended up with the LOTRO client running in a window even though I had set it to run as fullscreen and the bottom of the client was getting cut off so I couldn't click on some buttons (like the Continue or Exit buttons during the character creation process). Associated with this, ticking "Automatically capture the mouse in full-screen windows" caused my mouse to get stuck within the boundaries of the client screen so I couldn't click to close the program. I used another computer and found out that Alt+F2 opens a terminal and typing "xkill" then clicking the window to be closed will terminate the (misbehaving) program. So I don't recommend capturing the mouse. As for "Allow the window manager to decorate the windows" - this seemed to put a plain blue background behind the client when it was in windowed mode. Optional.

Wine configuration - graphics settings
None of the other tabs should need modifications, but maybe check the Audio tab and confirm the sound is working. If it's not working, maybe try installing or adjusting Pavucontrol (PulseAudio Volume Control) and/or Gnome-alsamixer (ALSA sound mixer for Gnome).

When you're finished with the Wine configuration, click Apply then OK.

10.  Next it asks you for the installer. Click the Browse button and locate the lotrolive.exe file downloaded earlier then click Next. This will start the installer. Note that the installer installs necessary libraries such as DirectX 9 as part of this process. Let it install files according to the default installation so they go into your Wine virtual drive. Agree to the terms and conditions.

At the end of the setup it offers you the chance to "Launch The Lord of the Rings Online". Deselect this, then press Finish.

Don't launch LOTRO from here
11. Return to the PlayOnLinux manual installation wizard and it asks you to create a shortcut. Select TurbineLauncher.exe then click Next. It then asks you for a name for the shortcut - I chose "LOTRO" rather than the default "TurbineLauncher" that appeared. Click Next. It asks if you want to make another shortcut - select "I don't want to make another shortcut" then click Next.

12. The PlayOnLinux manual installation wizard should have closed and you should now have a shortcut to LOTRO on the desktop.

Now you can either (I tested both these methods and now have LOTRO working on a laptop and a desktop PC both running Linux Mint 17.3):

- click the shortcut on the desktop to launch the client (or Run from the PlayOnLinux window), install the Akamai service then download the ~ 16GB game,

- or if you have a working version of the game, you can merge the full The Lord of the Rings Online folder (shown below as having 85 items) with The Lord of the Rings Online folder created by the lotrolive.exe installer (shown below as having 30 items) in the virtual drive to save some time and internet bandwidth. If it brings up a pop-up window regarding individual files with the same name, mark the box "Apply this action to all files" and click Skip to keep the existing files from the installer. Once the folder merge is complete, click the shortcut on the desktop or the Run button in the PlayOnLinux window. There may be some additional files to download to get the game up-to-date.

Here's the path to the folder if you called your virtual drive "lotro": [home]/PlayOnLinux's virtual drives/lotro/drive_c/Program Files/Turbine/The Lord of the Rings Online.

Merging the full game folder with the original game folder from the installer

A few last-minute files to download

Myndariel in Minas Tirith (via Linux Mint on the PC)

Performance-wise, the frame rate is lower than in Windows but from what I understand, that is to be expected with games running through Wine. I noticed a similar decrease in FPS with WoW and PoE. I could probably decrease the graphics quality a bit and perhaps tweak some other settings to try and optimise performance a bit better, but at least it is playable.

By the way, screenshots, user preferences (e.g. keymapping) and plugins are stored in [home]/Documents/The Lord of The Rings Online.

I hope this helps some people who want to play LOTRO in Linux. I'm very much a noob - I've tried Linux many times but had problems and couldn't find a solution so gave up and went back to Windows. Linux Mint does seem to be more user-friendly though so here's hoping I can stick with it this time.

And maybe I'll even play Myndariel some more. She really should catch up with the Epic Quests and fully explore Gondor before Mordor is fully released.

10 comments:

  1. Many thx for you post. I have followed instructions and keep getting the same result. Using Linux.18.1 two installations 64bit one 32bit but result still the same stuck on forward iterations at around 32%. Any ideas

    ReplyDelete
  2. PS: re previous post should I use 64 or 32bit wine?

    ReplyDelete
  3. LOTRO is a 32bit program, so use 32bit WINE. The LOTRO staff have recommended using a 64bit operating system to prevent memory limitations and get better performance if using HD graphics.

    If you're using PlayOnLinux, try selecting LOTRO then click "Debug" which will open an extra window that records everything it does while it is running the client and may highlight exactly where or why the game is crashing. Other than that, if it hangs during forward iterations, hit the Pause download, close the client and restart it. It may take a few tries. If you're still having problems, let us know and we'll see what else we can do to help. Good luck!

    ReplyDelete
  4. Thanks for your guide. Installation worked perfectly and game is running well in Mint 18.1. Only hiccup I have is the launcher occasionally getting stuck on Akamai content or crashing from time to time but restarting seems to fix it.

    ReplyDelete
  5. Many thx I have things running fine. I have placed a link in LOTRO FORUMS explaining how thx to you I am now playing LOTRO.
    Again many, many thx

    ReplyDelete
  6. Good guide! I'm playing LOTRO on POL with the latest Wine Staging, very happy with performance. I still get occasional launcher crashes but no issues in game.

    ReplyDelete
  7. Very good guide! Thank you. Some information for a recent install:
    Mint 18.1 - MATE running Compiz, 3D cube, etc. NVidia card.
    I used Wine 2.10-staging. (Newer versions wouldn't get past black screen for me)
    Configured Wine for Windows 7 and I did use emulate desktop. Otherwise it threw my screen resolution crazy.
    One thing to note here: Simply set your in-game settings to screen resolution, choose fullscreen, and if it is offset, then right-click on your task-item and choose 'move' - you can then move your entire wine 'fullscreen' window to center, then I just auto-hide the panel.
    Works fantastic for me. Thanks again!

    ReplyDelete
  8. I followed the above instructions on Linux 17.3 and ran well and fine. I have now updated computer to Linux 18.1 and followed instuctions using files I have played with.
    I get to point of logging in and then login screen just disappears. Have reintalled this way about four times but the same. my download is bad and it would take me four days to download whole game. any idea?
    thx in advance

    ReplyDelete
    Replies
    1. At the end of May they made some changes to the in-game store and people with Windows XP/Vista and Linux were affected. There is more information on the forums at https://www.lotro.com/forums/showthread.php?654273-Windows-XP-and-Vista-Launcher-Issues-Solution. Their solution was to change the client and configuration files for affected users. So you may want to try downloading those files (the direct links are in the forum post) and see if they help.
      Perhaps try the latest version of Wine or Wine-staging?
      The other thing I would check is directx - I've tried playing some games with Wine and got a blank screen if I didn't have the right version of directx available. Good luck!

      Delete
  9. Yet again problem solved. Many many thx. The problem was my old lotrolive.exe. downloaded new one from site and worked fine. Again many thx

    ReplyDelete