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

 

Attention! Updated Tutorial

New Tutorial is also fixing Authentication error Message “Certificate authentication failed, please contact customer support” and Retina Display Issues – Updated Tutorial located here (Link)!

Old Tutorial

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 Downloads/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 😉

Tags: , , , , ,
Werbung
Werbung
  • 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

    • Edeldahe

      I got the same error. Did everything you tell.
      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.

  • 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…

          • 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 ?

  • 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 😉

  • Benedict Black

    Might be a bit of a noobish comment, but whenever I launch the game the game shows the loading screen briefly but then blacks out. It does eventually load up the character screen after a while but I can never see my characters… and the same goes for the character creation screen, I can’t see what I’m creating xd And also the cutscenes have audio but I can’t see them. Is it because I’m trying this in El Capitan?

    • joh

      This usually happened by older wine versions in the past. Which version of wine are you using? And what kind of Mac do you have?

      • Benedict Black

        I am running wine version 2.0.1, with Mac OS 10.11 on a late 2012 mac Mini (Specs are 16GB DDR3 AM, a 2.3GHz intel i7 and an Intel HD Graphics 4000 if that helps)

  • Mai Rubin

    For about a month, it worked. Yesterday, however, when I went to log in, the login screen was loading. Then, without warning, it crashed and shut down. I tried to restart the game, but it said “only a single instance of this application can be run.” I shut down and restarted my computer, and then when I tried starting it again, nothing happened at all. I tried inputting the start command a second time, and then a window popped up saying “only a single instance of this application can be run” again, despite it never running in the first place. This keeps happening in spite of repeated restarts, which sucks because I was getting really into my new Jedi Knight character. Any help would be appreciated.

    • Mai Rubin

      Update: It said “Launcher is updating” when the initial crash happened. After that it’s been downhill. I even tried a soft uninstall inside the bottle with the add/remove function, that didn’t work. I tried a hard uninstall by completely removing the bottle, and that didn’t work either. In both cases when I attempted to reinstall, when I started up the launcher it would also say “launcher is updating” before crashing again.

      • joh

        Hi Mai, – Have you installed some kind of firewall software like “Little Snitch” on your Mac which might be blocking the updater? How did you remove the bottle? Could you provide the Terminal Output of the crash? Thanks in advance.

        • Mai Rubin

          I can’t get ahold of a terminal output, and I had no firewall on at the time. I removed the bottle in two different ways. The first was through “wine uninstaller”, which I used to remove the program from the wine program manager. That was the soft uninstall. The hard one that took out the entire bottle was “rm -rf ~/.wine”

          • joh

            I see there’s a Problem with wine 2.13 and SWTOR at the moment also – could you tell me your version? (Command: wine –version). I’m currently looking for a fix…

          • joh

            ok – seems the Launcher will not work in it’s new version. A current workaround is to use the old launcher. I didn’t download all game files yet – so I’m not able to test if this works but I got to the login and it’s currently downloading the game files.

            Here are the steps – Warning – like I wrote before – I currently don’t know if this will work:
            Open Finder and go to your home folder. Use Menu “Go>Go to Folder”. Enter “.wine” to enter the wine folder within Finder. Navigate within the folder to “drive_c>Program Files (x86)>Electronic Arts>BioWare” .
            Delete all Files in Folder “Star Wars – The Old Republic” except “launcher.settings”. Copy the Files from the “old” Launcher located here “https://swtorfiles.jedipedia.net/downloads/patcher2014_7.zip” into the new created folder.
            Add “, “skip_self_patch”: true” to your “launcher.settings before the “}”. Also the Parameter “PatchingMode”: “{ “swtor”: “SSN” }” from my Tutorial should be in your launcher.settings.
            Now you should be able to start the launcher and Download the Game Files.

            Source: https://www.reddit.com/r/swtor/comments/6qyz4v/certificate_authentication_failure/

            I’ll update the comments (and the tutorial) when my Download is complete and I get into the game. Good Luck 😉

          • joh

            Hi Stefan, Hi Mai,

            I can now confirm, it’s working with the old Launcher. I’ll update the Tutorial soon.

          • Mai Rubin

            The issue is still there for me. Even when I add skip_self_patch, the launcher still attempts to update itself and crashes.

          • joh

            Hi Mai,

            You can view an example of my launcher.settings here: https://pastebin.com/6y3kpXG0
            You can download my launcher.settings also here: https://goo.gl/5vTSgV
            I zipped an all in one launcher including the launcher.settings here: https://goo.gl/JJ4hi2

            I recommend to extract the all in one launcher in your .wine/drive_c/Program Files (x86)
            and continue with:

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

            from the Tutorial. Hope this helps. I’m currently downloading the game with these steps and will change the tutorial or write a new one with the changes if everything works…

          • Stefan

            hi joh,

            thanks for the fix! but now I have a different problem :-/ when I want to start the launcher.exe with this command: env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe” nothing happens! I only get this message: [0819/175103:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8

            is it possible to re-install all of the files (wine and swtor)?

          • Stefan

            Thanks a lot for the fix!!! 🙂

        • Stefan

          same problem! The only thing I know, that there was a big game update (5.3) a few days ago…maybe because of this circumstances the game doesn’t work properly

  • Niles Dorn

    Got all the way up to:
    env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”
    When I enter this into terminal, an error pops up stating “Certificate authentication failed, please contact customer support”
    Terminal spits out: Unhandled page fault on read access to 0x43e03dc0 at address 0x40712dcc (thread 002b), starting debugger…

    I think it might have something to do with: winetricks msvcp90=native d3dx9 vcrun2008 msls31 winhttp
    When I was prompted to install Wine Mono (I think), the downloading bar got stuck at 100%, so I closed it and re-entered the command (probably not my best decision). I was prompted to instal C++ which worked fine. Any suggestions? Thanks! 🙂

    • joh

      Hi – this error occurs with the latest wine version with the latest launcher. You’ll need the old launcher:

      Open Finder and go to your home folder. Use Menu “Go>Go to Folder”. Enter “.wine” to enter the wine folder within Finder. Navigate within the folder to “drive_c>Program Files (x86)>Electronic Arts>BioWare” .

      Delete all Files in Folder “Star Wars – The Old Republic” except “launcher.settings”. Copy the Files from the “old” Launcher located here https://swtorfiles.jedipedia.net/downloads/patcher2014_7.zip into the new created folder.

      Add “, “skip_self_patch”: true” to your “launcher.settings before the “}”. Also the Parameter “PatchingMode”: “{ “swtor”: “SSN” }” from my Tutorial should be in your launcher.settings.

      Now you should be able to start the launcher and Download the Game Files.

      • Niles Dorn

        I’m editing my launcher.settings with textedit, and the PatchingMode parameter doesn’t seem to be present at all, regardless of SNN or BR. Should I add it to the end before the }?

        • Niles Dorn

          Also, I added “skip_self_patch”: true” to my launcher.settings, and the launcher opened, gave me the launcher updating notification, and then quit. Not sure if that helps.

          • joh

            Hi Niles,
            You can view an example of my launcher.settings here: https://pastebin.com/6y3kpXG0
            You can download my launcher.settings also here: https://goo.gl/5vTSgV
            I zipped an all in one launcher including the launcher.settings here: https://goo.gl/JJ4hi2

            I recommend to extract the all in one launcher in your .wine/drive_c/Program Files (x86)
            and continue with:

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

            from the Tutorial. Hope this helps

          • Niles Dorn

            Worked like a charm. Thanks a million!

  • Aryla

    So I get the launcher up, hit play, then it disappears. Any ideas?

    • joh

      Do you keep “swtor_fix.exe” running in the background?

      Please post your latent Terminal outputs.

      • Aryla

        env WINEDEBUG=-all wine c:swtor_fix.exe
        Waiting for swtor…
        Found, PID: 134
        Waiting for threads to end..

        and
        env WINEDEBUG=-all wine “C:\Program Files (x86)\Electronic Arts\BioWare\Star Wars – The Old Republic\launcher.exe”
        [0818/151243:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
        [0818/151243:ERROR:proxy_config_service_win.cc(159)] WinHttpGetIEProxyConfigForCurrentUser failed: 2

        • joh

          This is ok in General. Have you rebooted your Mac since you installed SWTOR? What kind of Mac and Build Year and OS X Version do you have?

          • Yannic Lampe

            hey joh, Ive copied your launcher fies into my wine drive but when the launcher appears it says “unable to retrieve patch data. please check network connection . (206)” what can i do about it?
            I also got this error message:[0827/181251:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8

          • joh

            Hi Yannic,

            I’m sorry – this tutorial doesn’t work any longer (there’s a hint at the beginning of the Tut). Have a look at my new Turtoial: http://www.techboxed.com/news/install-star-wars-old-republic-swtor-5-4-macos-sierra-10-12-x-wine-2-15-staging/ – Good Luck 😉

  • southparkmgt

    so i managed to successfully install swtor with this guide and it launches just fine. but for some reason when my character spawns, the lag meter shows i have no connection yet saying ping is fine, character is stuck in logging and i basically can’t play the game. can anything be done?

    oh and when i try to log out it’s stuck in loading screen

    • joh

      unfortunately no – maybe because of more traffic on the SWTOR Servers and depending on your internet connection you’ll have more success beyond the weekend or in the afternoon…

      • southparkmgt

        well it fixed itself anyway, for some reason it only happened when i logged on one specific character, tried another and everything worked, then i relogged to the said character and everything got fixed. btw, swtor works really great, maybe it has a bit of fps loss compared to windows but nothing serious

  • RogerPowers

    Hey, thanks for the guide. at the step where i have to change BR to SSN, Im struggling with finding the right passage, there is nothing with “PatchingMode”..