We have detected that cookies are not enabled on your browser. Please enable cookies to ensure the proper experience.
Results 1 to 2 of 2
  1. #1

    Post LOTRO on Linux: A Modern Guide (2019)

    LOTRO on Linux: A Modern Guide (2019)

    LOTRO on Linux has gotten much easier. Yes you're still going to do some command line typing, but the folks who make the WINE system for running Windows programs on Linux, WINEHQ, have come up with some predefined commands, so all you're doing is cut and paste. LOTRO runs fine in WINE 4.0, so you no longer need the old workarounds like PyLOTRO, hence the need for a new guide.

    I'm assuming you've already installed Ubuntu or Linux Mint on your computer, or had someone else do it for you. Other distributions are less helpful when it comes to running LOTRO, or games in general. I could go on for another page on the installation process, but there are other guides to installing Ubuntu and Linux Mint, some of which explain how you can install them on unused space on your hard drive and dual boot.

    These instructions assume you are starting with a vanilla installation of Ubuntu or Linux Mint.

    First, you need to have the newest version of WINE, v4.0. Ubuntu and Linux Mint are good distributions with up to date drivers, but for some weird reason they still ship with a very outdated version of WINE, v1.6, that will not run LOTRO at all. Fortunately, WINEHQ has all your commands ready to cut and paste, to install WINE 4.0 in your Linux computer.

    You will need to know the root (administrator) password for your Linux computer. If you installed Linux yourself, you probably know it already; if you didn't install Linux, talk to the person who installed Linux on your computer if they didn't tell you already.

    Also, for those who are unfamiliar with the command line, there is a command called 'sudo' which runs a single command as root and then quits. We'll be using sudo a lot, but although it does ask for your password initially, Linux temporarily holds onto your root authentication, so you can type several sudo commands in a row before Linux will ask for your password again.

    First, if you haven't done it already, install the 32bit architecture. We'll be installing a 64bit WINE 4.0 here, but 64bit WINE needs some files from 32bit WINE to run 32bit applications, and until SSG gives us that great new 64bit client, you'll be running their 32bit client. These files work with all versions of WINE, so we can do it first.

    This is your command to install 32bit architecture:

    Code:
    sudo dpkg --add-architecture i386
    Now we add the WINEHQ Repository Key, the way in which you get secure transfers between your computer and the WINEHQ software repositories. Two commands:

    Code:
    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    Code:
    sudo apt-key add winehq.key
    NOTE: wget downloads files directly into the directory in which you are currently sitting. No need to change directories to the Downloads folder first with wget.

    For the next section, use the command associated with your version of Ubuntu or Linux Mint (Linux Mint is based on Ubuntu). Remember to include the little ' marks, they're important for the Linux command line commands. Only use one command, not all four.

    Ubuntu 18.10

    Code:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
    Ubuntu 18.04
    Linux Mint 19.x


    Code:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
    Ubuntu 16.04
    Linux Mint 18.x


    Code:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
    Ubuntu 14.04
    Linux Mint 17.x


    Code:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
    Now we tell Linux to update its list of available software sources.

    Code:
    sudo apt update
    And now a word on Linux development of software. Linux developers generally maintain three stages of software for each software application: stable, development, and staging. As you may have guessed from the word stable, the other two are increasingly less tested. Fortunately, WINE 4.0 is the current (2019-03-13) stable version of WINE, so you don't have to venture into the wild west of software development just to run LOTRO in Linux.

    So this is the only command you need to run:

    Code:
    sudo apt install --install-recommends winehq-stable
    If everything installs without complaints, skip the next step

    The apt program may complain about missing dependencies, or software packages needed to run WINE. Each package name will be listed onscreen, so you can just type (replacing <package-name> with the package name>) to install the software package(s) WINE needs:

    Code:
    sudo apt install <package-name>
    Once the dependencies are installed, or if you didn't need to install any dependencies, you've got one more step before you can begin installing (or copying over from another machine) the LOTRO files. Get into the command line and type:

    Code:
    winecfg
    The winecfg application will create a special directory called .wine in your Home directory. This is the directory into which WINE will install any Windows applications, and where you will need to create directories to install LOTRO if you are copying files from an existing installation. In addition, winecfg will most likely find that you have not yet installed a Gecko and a Mono package, so say yes and install these packages.

    While the winecfg window is open, click on the Applications tab and note, at the bottom of the window, that Windows XP is the default version of Windows used by WINE. That pulldown menu includes a bunch of other versions of Windows which you will probably not use, but you may end up coming back here later to change this to Windows 7. Windows XP works fine for now, so no need to change the setting.

    Now we'll install the extra files WINE needs to run LOTRO, using a application from WINEHQ called winetricks. First, from the command line, install winetricks:

    Code:
    wget http://winetricks.org/winetricks
    If you're using some sort of built in Intel graphics, the next command installs everything you need.

    Code:
    bash ./winetricks vcrun200{3,5,8} d3dx9 corefonts
    If you're using a NVidia video card, run this instead:

    Code:
    bash ./winetricks vcrun200{3,5,8} d3dx9 corefonts physx
    Just answer Yes or OK if asked, these are all needed to run LOTRO in Linux.

    If you're comfortable with the command line, you can probably skip this next part. If you aren't, and you use the file manager/browser in Linux, directories in Linux which start with a period, like .wine, are hidden in the normal file manager view. You'll need to click on View in the top file manager window, then select "Show Hidden Files". Or just press Ctrl+H as the menu shows. This will reveal all your other directories that begin with a period, in addition to .wine, but you only need to concern yourself with .wine for now.

    Now you can see the file folder in which all Windows software will be installed. The subdirectory "drive_c" is where everything goes, and if you are copying files from an existing Windows install, you may have to create a directory called "Program Files (x86)" because we still don't have that amazing 64bit client. It will be easier to create this new directory in the file manager, the Linux command line needs some simple but arcane commands to put spaces and parentheses into filenames.

    If you run the LOTRO installer in WINE, the Program Files (x86) folder will be created for you.

    Running the LOTRO Installer in WINE:

    If you downloaded the LOTRO installer using lotro.com, most likely the file was downloaded into your Downloads folder. Chances are it will have downloaded somewhere else only if you change this setting in your browser.

    Go into the folder with the installer:

    Code:
    cd Downloads
    Then type:

    Code:
    wine lotrolive.exe
    Select Express installation. This will speed things up and WINE needs to find the files in the place it likes to find them.

    Now here is the point where problems may occur. If the installer stops functioning or crashes, just run the installer again. It shouldn't take more than two tries to get to the point where the massive download begins, and any problems installing should be over by then.

    Once LOTRO finishes installing, you have two more changes to do. LOTRO will have created two icons on your desktop, one with the Ring on it. Right click on this Ring icon, and select, at the bottom of the dropdown menu, Properties. In the center of this new window, you should see a long command line command. Click on this command line once, then use the arrow keys to scroll all the way to the end. SSG only uses LotroLauncher.exe now, not TurbineInvoker, and all TurbineInvoker does is run LotroLauncher.exe. Change TurbineInvoker.exe to LotroLauncher.exe, and you're all set. We're making this change to speed up running LOTRO, and to allow you to more easily use command line options later, as TurbineInvoker ignores all command line options.

    Remember that Linux is case sensitive, so to Linux, LotroLauncher and lotrolauncher are two different filenames.

    UPDATE 2019-03-15: The second change you will need to make to be able to use the LOTRO Store (if you don't use the store, skip this step, you're done) is that you will have to run the LOTRO Awesomium client. Even with WINE 4.0 the regular client will not load the LOTRO store. You don't have to change the shortcut, just the LotroLauncher config file, and you don't have to go back into the command line again (if you like the command line, use your favorite Linux text editor for the following).

    From the Ubuntu/Linux Mint file browser/manager, go to View and "Show Hidden Files", then go into .wine, then drive_c, then Program Files (x86), then StandingStoneGames, then The Lord of the Rings Online. Right click on lotro.launcherconfig, and select Copy, then right click anywhere in the file window and select Paste (makes a backup copy before editing), then Rename the (copy) and add .old to the end (or don't, see below). Now go back to the original lotro.launcherconfig, right click on it again, and select one of the Open With options, either Text Editor or Notepad (doesn't matter which one you choose). The configuration file will contain an appSettings section. As the last line in this section, cut and paste the following line:

    Code:
    <add authoritative="true" key="GameClient.WIN32.Filename" value="lotroclient_awesomium.exe" />
    Now save the config file.

    Since LotroLauncher controls everything from that configuration file, it is possible to have LotroLauncher load the backup copy of the original configuration file (the importance of backups!) and run the regular client as well from the same shortcut link. This means that you could have the full benefits of the main client most of the time, and then briefly switch clients to run the Store. To do this, rename the edited lotro.launcherconfig to lotro-awesomium.launcherconfig, and then rename the backup to lotro.launcherconfig. When you next run LOTRO, WINE will ask you for a config file, and select the configuration file for the client you want to run for that session.

    There you have it, LOTRO on Linux.

    UPDATE: Inside the LOTRO Client, be sure to change your Options in Graphics -> Display to Screen Mode = Full Screen (Windowed).
    Last edited by Webgiant; Mar 15 2019 at 12:15 PM.

  2. #2
    Join Date
    Mar 2007
    Posts
    122
    Great walk-through! I got through the installation on my own using wine before I saw this, but I couldn't get the Store to work.

    One question, is there a reason to use the original config file? You mention the "full benefits of the main client". Does the edited config cause problems with normal play?

    Thanks for posting the guide.
    Neolythic : Iron Hills Dwarf Guardian (armorer) Arkenstone (Elendilmir)
    Niph : Female Hobbit Hunter (Yeoman) Arkenstone (Elendilmir)
    Sarabeth : Female Hobbit Burglar of Breeland (explorer) Arkenstone (Elendilmir)
    Trixie : Female Minstrel (Explorer) Crickhollow

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload