How to install “Star Wars – The old Republic” (SWTOR) on macOS Sierra (10.12.x)

January 12, 2017 by joh

Wine made a great progress with the release candidate 2.0-rc4. Now Star Wars – The Old Republic (including Knights of the Eternal Throne expansion) is better playable than ever before. Also the Minimap Bug is fixed out of the box. Here’s the updated Tutorial how to get it running on current macOS Sierra (former OS X).

Star Wars - The Old Republic

 

The following steps where tested on macOS Sierra 10.12.2 and wine 2.0-rc4 with Nvidia GPU.

Brew Installation

Brew is a Package-Manager which will be used to install Software. Fire Up a Terminal and enter the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Optional: Brew Update

If you have already brew installed – make sure it’s up to date:

brew update
brew upgrade

Xcode Installation

Install Xcode from the Mac App Store. Afterwards start it and accept the license (This could be done by the following command also):

sudo xcodebuild -license

Enter “:q” to leave the license text and type “yes” to accept the license if you are using the Terminal.

XQuartz Installation

Install the X Server for macOS with the following command

brew cask install xquartz

Wine Installation

Now it’s time to install the newest (developer) version of wine. This will take a long time depending on your internet connection and computer performance:

brew install --devel wine

Winetricks Installation

Winetricks will help you to install necessary components like directx etc.

brew install winetricks 

Now Install necessary components with winetricks with the following command:

winetricks msvcp90=native d3dx9 vcrun2008 msls31 winhttp 

You’ll be prompted for the Installation of Wine Mono, Wine Gecko and Visual C++ etc. – Just install it by clicking through the dialogues like you would do on windows.

Advertisement

SWTOR Installation

Download SWTOR Installer to you Download-Folder from the official site (here)

Make sure your wine environment is set to Windows 7. Enter:

winecfg

Windows Version on tab “Applications” should be “Windows 7”

Do the Launcher-Installation from your Download-Folder:

cd
cd Downloads
env WINEDEBUG=-all wine SWTOR_setup.exe

The Setup  will just install the Launcher and exit. Start the Launcher after the Installation:

env WINEDEBUG=-all wine "C:\\Program Files (x86)\\Electronic Arts\\BioWare\\Star Wars - The Old Republic\\launcher.exe"

At the first start of the Installer, the Installer will update itself. Wait until the Installer is updated and asking for your SWTOR-Login. Afterwards you’ll be able to start the download. The Download will get stuck directly. You need now to exit the launcher – You’ll need to change the Patching Mode to “SSN” by editing the file “launcher.settings”:

cd
nano -w .wine/drive_c/Program\ Files\ \(x86\)/Electronic\ Arts/BioWare/Star\ Wars\ -\ The\ Old\ Republic/launcher.settings

Change

"PatchingMode": "{ \"swtor\": \"BR\" }"

to

"PatchingMode": "{ \"swtor\": \"SSN\" }"

Leave Nano with “Control+X” and type “y” followed by “Enter” to save your changes.

Now you’ll be able to start the Launcher again and to Download all Game-Files. This will take again a long time depending on your Internet-Connection:

env WINEDEBUG=-all wine "C:\\Program Files (x86)\\Electronic Arts\\BioWare\\Star Wars - The Old Republic\\launcher.exe"


Launch-Fix for SWTOR

You’ll need the following fix running in the background while playing the game. Download “swtor_fix.exe” from here. Copy the fix to your wine drive c:\ with the command:

cd
cp Download/swtor_fix.exe .wine/drive_c/

Launching SWTOR

You’ll need 2 Terminals. Enter the command in the first Terminal to have the fix running in the background:

env WINEDEBUG=-all wine c:\swtor_fix.exe

Start SWTOR from the second Terminal by:

env WINEDEBUG=-all wine "C:\\Program Files (x86)\\Electronic Arts\\BioWare\\Star Wars - The Old Republic\\launcher.exe"

That’s all – Have fun 😉

Advertisement
  • Pingback: How to get “Star Wars – The Old Republic” working on OS X Lion with wine – techboxed.com()

  • Pingback: How to get “Star Wars – The Old Republic” (SWTOR) working on OS X 10.9 Mavericks with wine – techboxed.com()

  • Cybris

    Even though I change the launcher.settings file. Every time I launch it overwrites it back to the bit raider settings and the launcher will not download is there a way to keep it from being overwritten? I even tried changing the permissions and locking it to no avail.

    • Cybris

      Got it copied another launcher.settings file from another location and it worked.

      • joh

        Perfect – Thanks for your Feedback 🙂

        I checked mine Settings-File and it’s still ok – also the Updater is running this morning… seems I didn’t play for some time 😉

        -I corrected the Tutorial – There was “(x86)” missing in the Paths “C:Program Files” at the “Launching SWTOR” section… I also added the Key-Combination to leave and save the changes in the Editor “nano” for those who are not familar with the editor…

        greetings joh 😉

  • stelsootoc

    I got all the way to installing swtor; clicked through the menu and then when it started at the terminal i received this
    winedevice.exe(4831,0xb0004000) malloc:
    *** error for object 0xeb000169: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug

    • joh

      Hi,

      can you provide the output of “wine –version” and the complete last command you typed in before the error appeared?

      • stelsootoc

        Thanks for replying,

        The wine version is 2.1 and the last entered command was
        cd
        cd Downloads
        env WINEDEBUG=-all wine SWTOR_setup.exe

        • joh

          Sorry for the late reply … This is hard to find out… Some things you can try:

          enter “winecfg” which should start the Wine-Config Util. Please check if it’s set to OS Windows 7. You can also download the Steam Installer to see if wine is running windows applications at all…

          Which kind of Apple Device / Version do you have?… MacBook / iMac etc? …

          • stelsootoc

            I’m still getting the same error. It was running xp and when I changed it to windows 7 the same error cropped up. It could just be from the fact that I’m using 2.1 instead of 2.0?

          • joh

            Yes could be the different version. I’ll try to reproduce it.. currently installing wine 2.1. My steps so far:

            I removed the old .wine folder to start with a clean 2.1 environment:
            cd
            rm -vR .wine

            Uninstalling wine:

            brew uninstall winetricks
            brew uninstall wine

            brew update
            brew upgrade

            brew install –devel wine

            … it’s currently building

          • joh

            It’s still working with 2.1.

            My steps completed:

            Remove old wine environment:
            cd
            rm -vR .wine

            Uninstalling wine:

            brew uninstall winetricks
            brew uninstall wine

            Update all brew packages:

            brew update
            brew upgrade

            Install wine again:
            brew install –devel wine

            Install winetricks and necessary windows stuff:
            brew install winetools
            winetricks msvcp90=native d3dx9 vcrun2008 msls31 winhttp

            Set Windows Version to Windows 7:
            winecfg

            Follow the steps from the Tutorial from Point “SWTOR Installation”

            good luck 😉

          • stelsootoc

            I’m no longer receiving the error. I’m now getting a syntax error when I enter env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”. The terminal spits out
            -bash: syntax error near unexpected token `(‘ . I’ve moved the parentheses around, changed them, removed them, but still can’t get the launcher to launch

          • joh

            Yes… seems the quotes are wrong formatted … I think this should work:

            env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”

          • stelsootoc

            The game runs great! Thanks for the assistance

  • Epic Gamer_1

    I did everything, but when I hit play, the game crashes and the terminal window says: [0604/063650:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8

    • Epic Gamer_1

      Please help

      • joh

        Hi,

        could you post your used commands and full output of the console?

        greetings joh

        • Edeldahe

          I got the same error. Did everything you explain.
          After launching swtor_fix.exe in a terminal and the (env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”) in an other terminal, the launcher starts well but when I click play, it just closes.

          • joh

            Sometimes it could take a long Time until the game launches. Can you provide some error messages from the console? – If it crashed you should receive some errors. You could also have a look at the processes (Activity Monitor) if the exe is still running …

          • Edeldahe

            Thank you for your answer !
            I check with the Activity Monitor, All wine related tasks stoped When I clicked play. No error in the Terminal saved the one I wrote before. After I click play, it just come back to the command line.
            In the “fix” Terminal I only got this :
            Waiting for swtor…
            And Then, when I click play :
            Found, PID: 167
            Waiting for threads to end..

          • joh

            Mhm sounds strange to me- just to make clear – you’ll need both terminals (the one with the fix and the second one where you start the launcher) keep running the whole time- also while playing. What kind of Mac and Version are you trying? Also make sure you are using the most recent wine version (wine –version). Another point to look at would be kernel and system messages at Apps>Util>Console

  • Renaud Ducom

    Hi I got to this part “The Setup will just install the Launcher and exit. Start the Launcher after the Installation:” and I entered the follow up command ( env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe” ) and my terminals tells me this “wine: cannot find ‘C:Program Files (x86)Electronic ArtsBioWareStar Wars – The Old Republiclauncher.exe'”
    Help please ! Thank you

    • joh

      Hi, seems there is a Problem with your path. Try to open the launcher.exe from the path:

      First go to your home folder by “cd” – enter .wine folder “cd .wine” and list the directory with “ls” you should see something like “drive_c” – Go to this folder and do an “ls” – Look for Program Files … go up until you are in the Folder BioWare > Star Wars …

      try to launch “launcher.exe” with WINEDEBUG=-all wine launcher.exe

      good luck 😉

      • Renaud Ducom

        so I found the launcher but when I try to ” Open with” it only gives me the unarchiver as a choice…

        • joh

          ok seems like you are trying to start the Launcher.exe by clicking it from the Finder? But you’ll need to start it with “wine” within the Terminal which is located at your Mac OS Application>Utilities>Terminal …

          For example running “steam.exe” you’ll need to enter “wine steam.exe” …

          Yeah I started creating a video but didn’t have the time to finish it yet… . I’ll try my best to publish it soon …

          • Renaud Ducom

            okay even for that steam.exe command it doesn’t work so can I open the swtor launcher.exe with wine without using the terminal ?
            Thank you about the video

          • joh

            This “steam.exe” was just an example. Wine is installed into your system when you follow the guide by the package manager “brew”. There is no graphical interface – you’ll need to use the terminal.

            If you are not familiar with terminal and deeper system usage i recommend to have a look at https://www.codeweavers.com/products which provides a graphical interface for wine to get an entry point into the wine environment …

            If you like to follow this guide you’ll need to learn some terminal basics before …

          • Renaud Ducom

            I mean I’ve used the terminal without problem before but I just don’t understand cause I’ve done every step but it doesn’t work at “env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”

          • Renaud Ducom

            I know this might be a lot to ask but could we eventually skype or something so I can share my screen and you’d guide me through the process ?

          • joh

            Sorry for the late reply – I think you could have a problem of the line breaks – try to type the command in one line:

            env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”

            Unfortunately I’m currently not able to do remote support beside my job (sorry) and upcoming holiday – but I tried my first steps with Video Tutorials today and I’m now ready to release them soon. I’ll update the post when the video is done and online…

  • Thrallpt1

    HOLY SHIT IT WORKS!!! I have tried 5 other wine directions, but i think they were made for older OS. I updated to Serria a few months ago. This actually worked, and it seems like you reply quickly if people need help. Honestly, you are like my most favorite person in the world right now. You have no idea how well you wrote this out. It is easy to follow, direct and straight forward, and works like a charm. Thank you so much! I will make usre to follow your command lines from now on!

    • joh

      Thank you 😉