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
    Join Date
    Jul 2020
    Posts
    893

    How to install WINE for better LOTRO performance on your Mojave Mac. Revised, simpler procedure.

    Back in June of 2021 I posted this thread...
    https://www.lotro.com/forums/showthr...ifficulty-HIGH
    ...which detailed how to install the latest stable version of open-source WINE so that SSG's "Mac Download" version of LOTRO can use the 64-bit client instead of being stuck on the 32-bit client (and also prevent the opening of web browser windows or tabs with nags about installing Windows components that a typical Mac user of SSG's "Mac Download" version of LOTRO doesn't have the ability to install). A number of people have followed that procedure successfully.

    This past week I had the opportunity to try to trim down that procedure a bit. Using remote access, I helped a friend set up an old Mac running MacOS Mojave 10.14 so that it could run LOTRO better. Her Mac is old enough that it can't have MacOS Monterey 12 installed, she has some old 32-bit Mac-native applications she still likes to use, and so she wants to stick with Mojave for now. Crossover was an option but my friend opted to not try it. So this was a good opportunity to develop a simpler procedure based on the procedure I developed last year.

    Before beginning this procedure, please keep the following things in mind:
    1- This will work only for Macs running MacOS Mojave 10.14 or earlier. And I can't guarantee that it will work on anything earlier, I have tested it with MacOS Mojave 10.14 only. The reason this will not work for Macs using any version of MacOS more recent than Mojave such as Catalina, Big Sur, or Monterey is because there is no 32-bit application support in post-Mojave versions of MacOS and both LOTRO and WINE itself have 32-bit components. (Remember that SSG's "Mac Download" version of LOTRO is the Windows version of LOTRO packaged with a very old version of WINE, it is not a native Macintosh application.) Codeweavers Crossover gets around this with a proprietary version of WINE which includes a 32-bit to 64-bit conversion layer which means LOTRO will run in versions of MacOS more recent than Mojave with Crossover but not with open-source WINE.
    2- The "Mac Download" version of LOTRO (the Windows version of LOTRO packaged with an old version of open-source WINE) will work on Macs running MacOS Mojave, but will be limited to the 32-bit client. The 64-bit client requires Windows components which are not included in the old version of WINE which SSG installs as part of the "Mac Download" version of the game. The game is playable with the 32-bit client but you will experience issues in the more recently developed areas of the game (which make heavier use of advanced graphics than the older areas of the game) and in areas where there are many players running around at the same time. This is mainly because the 32-bit client is extremely limited in its ability to address RAM. If you stick with the old version of WINE included with SSG's "Mac Download" you will also get browser window/tab nags about installing updated versions of Microsoft C++. The best way to do that is to install the most recent stable-release version of WINE which is what the procedure below is all about, once you complete the procedure below you will be able to use LOTRO's 64-bit client and will not see those nags anymore.
    3- I am aware that there are versions of open-source WINE which also include the 32/64-bit conversion layer and other components which can get LOTRO running in post-Mojave versions of MacOS. Doing so requires using versions of WINE which are very buggy, that is why they are not included in the current "stable" release version. I will not provide procedures which involve beta versions of WINE. If you choose to do so on your own, you will run into technical issues which I will not help you with; sorry. If you want to run LOTRO on a Mac in a post-Mojave version of MacOS, please use Codeweavers Crossover. Crossover is much easier to use than open-source WINE and it works great, I use it nearly every day.
    4- The procedure below is simpler than the one I developed last year but still makes use of the Terminal. You must be very careful when entering commands into the Terminal, the smallest typo or other error will prevent the command from running or will cause the command to do something other than what is intended. Copy-paste or very carefully type the commands into the Terminal. In addition, note that after you enter some commands and press the RETURN key the command will be executing but you will see no progress bar or other visual confirmation, you just have to be patient and wait for the command-line prompt to appear to let you know that the execution of the command is complete and it's time for the next step. Be patient! Don't start smacking the RETURN key repeatedly or otherwise try to get some response when it looks like nothing is happening. Something is happening! You just can't see it and sometimes it takes a few minutes to complete.

    So let's get started!

    A- Installing SSG's "Mac Download" version of the game. If you have this installed on your Mac already, you do not need to reinstall it.
    –I will not include a detailed procedure for doing this. Create an account if you haven't yet, use this page:
    https://signup.lotro.com/lotro.php
    Then Download the "Mac Download" from here...
    https://www.lotro.com/en/game/download
    ...then install it then run the game. Enter your account credentials, choose a server, create a character, enter the game world, be sure everything works. Only then continue to Part B.
    –If you have trouble getting the game to run, and your Mac is running MacOS Mojave, the fix is probably pretty easy but beyond the scope of this thread. Please request assistance by creating a new thread of your own and I will assist you there.

    B- Preparing your Mac for the installation of the latest stable version of open-source WINE.
    1- Be sure you are booted into MacOS 10.14 Mojave. No earlier or later version of MacOS will do. (You might be able to get away with earlier versions of MacOS even as old as 10.10 Yosemite but I have tested this with Mojave only.)
    2- If your Mac is capable of running 10.14 Mojave but you are running some older version of MacOS, I strongly recommend that you upgrade to Mojave before proceeding. I can't think of any reason not to use Mojave if your Mac is currently running something earlier but is capable of running Mojave.
    3- Use System Preferences->Software Update (or in very old versions of MacOS, use the Mac App Store) to update whatever version of MacOS you use to the latest point update. For example, 10.14 Mojave is currently 10.14.6 and there are a number of security and Safari and other updates which will be installed even beyond the point release version number – so run an update even if you think you have the latest version just to be sure.
    4- Be sure you are logged in to your Mac with a Mac user account which has administrator privileges. You MUST have a password for your user account, if you run your Mac user account without a password not only will this procedure not work but you are running risks during general use of your computer that you should not be running. Go to System Preferences->Users & Groups to check, make whatever changes are needed.
    5- Be sure that LOTRO is not running. Be sure that no other applications which use WINE are running. If you have Crossover installed on your Mac, be sure it isn't running, either.

    C- Installing Homebrew, which will allow you to then install the latest stable version of WINE. This is the meat of the procedure. Read it carefully in its entirety and only then follow it step-by-step. Ask questions before you begin, don't get started and hope you can figure something out as you go along.
    1- Launch the Terminal application. You will find it here:
    /Applications/Utilities/Terminal
    The Terminal is a command-line tool which gives you access to powerful functions you can't perform with System Preferences or the Finder. It is not a rainbows-and-puppies Mac application with a nice click-and-drag GUI, it's just a text-based command line. Please be careful when pasting anything into or typing anything into the Terminal. Be aware that you must hit the RETURN key on your keyboard after entering a command into the Terminal.
    2- Resize the Terminal window so it's nice and big. This will allow you to see a lot of text at once.
    3- After you enter some commands into the Terminal it might ask you to enter your password. If asked, you must provide your password. You will not see your password as you type it, you will not even get asterisks (********), so carefully enter your password when it is requested and remember to hit the RETURN key afterward. I will not repeat this below, just be aware of it as you proceed through these instructions.
    4- We are now going to install a helper tool called Homebrew. Homebrew will allow us to install WINE. To install Homebrew, copy-paste the following line from between the CODE tags or VERY CAREFULLY type the following into the Terminal:
    Code:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    Stuff will happen, some of it will happen with the text equivalent of progress bars but some will happen with no way of knowing that something is happening – so if there is a long pause or you think things have frozen, HAVE PATIENCE.
    5- During the Homebrew installation process, you will be asked if you want to install the Xcode command-line tools. Say YES and allow that installation to proceed.
    6- Eventually you will see the command-line prompt which means that Terminal is waiting for you to enter another command. When you see the prompt, copy-paste the following line from between the CODE tags or VERY CAREFULLY type the following into the Terminal:
    Code:
    brew doctor
    This will check your installation of Homebrew.
    7- Eventually, you'll see a bunch of text output. You will be told that there is a more recent version of the Xcode command-line tools available and that you should install it. You do not need to install it! The version installed in Step C5 will work just fine for the purposes of getting the latest stable version of WINE onto your Mac.
    8- If the "brew doctor" command told you about a problem, you need to fix it. This should not happen, if it does, try to fix the problem or come to this thread and provide as much detail as you can then I will do my best to help you. This should not happen, but if you did something wrong leading up to this step or something went wrong in Step C5, it's not impossible. Proceed to the following steps only if the "brew doctor" command doesn't warn you about a problem (other than the need for updated Xcode command-line tools which you do not actually need).

    D- Using Homebrew to install WINE.
    1- Copy-paste the following line from between the CODE tags or VERY CAREFULLY type the following into the Terminal:
    Code:
    brew install wine-stable
    Once again, HAVE PATIENCE as this will take a little time and some things proceed without any visible progress. Wait until you see the command-line prompt.
    2- Once you see the command-line prompt, copy-paste the following line from between the CODE tags or VERY CAREFULLY type the following into the Terminal:
    Code:
    brew doctor
    This will check both Homebrew and the new installation of WINE. The report should again tell you about needing to update the Xcode command-line tools (you do not need to do this) but otherwise should say that everything is good or provide no additional information other than the unnecessary note about the command-line tools.
    3- Once you see the command-line prompt, copy-paste the following line from between the CODE tags or VERY CAREFULLY type the following into the Terminal:
    Code:
    brew update
    This will update Homebrew and WINE. There should be nothing to update since we just installed the most updated versions. But it's good to check just in case.
    4- Repeat Step D2 (the "brew doctor" command) just to be sure everything is still good to go.
    5- The installation of the latest wine-stable is complete. You should now quit out of the Terminal application.

    E- Setting up LOTRO so that it will use the new, more modern version of WINE we just installed instead of the old version of WINE SSG included with the "Mac Download".
    1- Using the Finder, navigate your way to this folder:
    ~/Library/Application Support/com.standingstonegames.lotro/common/wineprefix/drive_c/Program Files (x86)/StandingStoneGames/The Lord of the Rings Online
    2- In that folder, look for this file:
    LotroLauncher.exe
    3- Drag the LotroLauncher.exe file down to your Dock. Please note that this is a file, it is not a Mac-native application. It therefore must be dragged to the right side of your Dock which is where files are placed; only applications can be placed on the left side of your Dock.
    4- Be sure that the file LotroLauncher.exe is still in the folder where you found it. Don't move it to another location accidentally! In Step E3 we dragged it to the Dock only to create an icon for it in the Dock, we did not want to move the actual file to a new location!
    5- You will now be able to click once on the LotroLauncher.exe icon in your Dock in order to launch LOTRO using the modern version of WINE which we installed in Part D.
    6- You will still be able to use the "lotroclient" application to use LOTRO with the old version of WINE which SSG included with the "Mac Download" if you want to. There is no good reason to do that anymore, however, since the latest stable version of WINE will run the game much better than the old version of WINE which will be used if you run the game using the "lotroclient" application. In addition, after performing Step F1 below, to use the "lotroclient" application and the old version of WINE you will need to change the UserPreferences.ini file so that GameClientType=1 before attempting to run the game using the "lotroclient" application because otherwise doing so will fail; remember that the old version of WINE which "lotroclient" will use cannot run the 64-bit client and so it will fail after you click on PLAY in the LOTRO launcher application if you don't set it to use the 32-bit client first.

    F- Setting up and testing the 64-bit LOTRO client.
    1- Open the ~/Documents/The Lord of the Rings Online/User Preferences.ini file and change the following line...
    Code:
    GameClientType=1
    ...to this:
    Code:
    GameClientType=3
    Then SAVE the file and QUIT out of TextEdit.
    2- If you do not have a working UserPreferences64.ini file that you were using before SSG's 2021-03-17 patch, you need to create one:
    -->Make a copy of UserPreferences.ini. Rename the copy to UserPreferences64.ini.<--
    That's all there is to it. Do this only if you do not have a known-good UserPreferences64.ini file from before the evil patch of 17 March 2021.
    3- Attempt to launch the game by using the LotroLauncher.exe icon in your Dock. Once you get to the character creation/selection screen, you can go into the in-game OPTIONS panel and turn your graphics settings up if you want to. The 64-bit executable can address far more RAM than the 32-bit executable which will allow you to play with fewer glitches and probably no crashes at all, even in player-dense or graphically-busy areas, even with your graphics turned up as high as your Mac can manage.

    G- OPTIONAL: Making a nicer icon for the LotroLauncher.exe icon in your Dock.
    Installing WINE put a new application in your /Applications folder: Wine-Stable. Its icon looks like a flute glass filled with red wine tilted a bit to the side. Any Windows executable – that is, any file on your Mac which would be an application if it were installed on an actual Windows box – will also show that icon. Maybe you like that icon. If so, great! Leave it be. Otherwise follow the procedure here in Part G:
    1- Using the Finder, navigate your way to your Applications folder:
    /Applications
    2- Inside /Applications, you will find your lotroclient application. (Maybe you have it somewhere else, it depends on what you did with it when you installed SSG's "Mac Download" version of LOTRO.) Click once on the lotroclient application to select it, choose FILE->GET INFO in the Finder, and then click once on the small icon image in the upper-left of the Get Info window. Then choose EDIT->COPY. This will copy that icon image to your Clipboard. Note that you can use any icon you want, find a cool one on the web somewhere if you'd like to use something else. Just copy it into your clipboard then proceed with the rest of Part G.
    3- Using the Finder, navigate your way to this folder:
    ~/Library/Application Support/com.standingstonegames.lotro/common/wineprefix/drive_c/Program Files (x86)/StandingStoneGames/The Lord of the Rings Online
    4- In that folder, you will find your LotroLauncher.exe file. Click once on the Finder icon for LotroLauncher.exe, choose FILE->GET INFO in the Finder, and then click once on the small icon image in the upper-left of the Get Info window. Then choose EDIT->PASTE. This will paste the icon image from your Clipboard into that file which will force that file to use the image you pasted into the Get Info window instead of the icon of its default application.
    5- The icon for LotroLauncher.exe in your Dock will change to match the one you pasted into the LotroLauncher.exe file's Get Info window.

    That's it! I know it looks like a lot but it's actually pretty quick and much easier to do than to read about. Read everything first! If you have questions, ask them before beginning! If you run into trouble, make your report with as much detail as possible. I'll be happy to help!
    Last edited by Tralfazz; Jan 03 2022 at 11:29 AM. Reason: fixed some typos

  2. #2
    Join Date
    Jul 2020
    Posts
    893
    I forgot to mention that running WINE 6 instead of WINE 4 will also prevent the “misssing dll” issue that many people have reported recently in this thread…
    https://www.lotro.com/forums/showthr...r-patch-30-0-3
    …and others.

 

 

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