Good News – The Force is with us again 😉 … or let’s better say with “Star Wars The Old Republic” (aka SWTOR) and Mac OS X 10.9.x Mavericks. It’s been a while since i wrote about “how to get SWTOR running on a Mac” with Wine, MacPorts etc. here. Now in 2014 the Game is “Free to Play” and most people prefer to use “Homebrew” instead “MacPorts” to install Software like Wine – So it’s time for an Update how to get SWTOR playable on your Mac …

SWTOR on Mac OS X 10.9

Update / New How-To 12th January 2017

There is a new How-To for SWTOR on Mac OS X 10.12.2 aka macOS Sierra in Combination with Homebrew available here.



This Tutuorial was tested on an 2013 Macbook Air 11″ i7 8GB RAM with OS X 10.9.3.


Homebrew Installation

Homebrew is a Package Manager, which will allow us to install special Software like Linux Applications on our Mac. If you’ve got brew already installed – you can skip this and continue with the “Wine Installation”.

The Homebrew Installation is very easy by entering the following command in your Terminal (you’ll find the Terminal in your Programs>Utilities Folder).

ruby -e "$(curl -fsSL"

Hit Return and enter your User-Password and the Installation should start.

If you’ve got Xcode not Installed or the Command Line Developer Tools are missing, Homebrew will ask to install them (Select “Install” – You don’t need the heavy weight Xcode if you don’t want to develop software):

Xcode Command Line Developer Tools Installation

Accept the License and Install the tools. After it’s done go back to the Terminal Window – The Homebrew Installation could be continued now by pressing any key:

xcode-select: note: install requested for command line developer tools
Press any key when the installation has completed.

Homebrew will be installed now – It should throw a message like “Installation successful!” when it’s done and suggests to run the Command “brew doctor” – So let’s do this:

brew doctor

When everything went ok, you’ll receive “Your system is ready to brew”. Now we can continue to install wine.


Wine Installation

If you skipped the Homebrew Installation before – Please check if your “brew” is up to date by entering

brew update

in your Terminal first.

Additional Software

The later used Scripts and Software seems to use “wget” for downloading additional Software – so let’s install this first:

brew install wget


We’ll now install wine:

brew install wine

Maybe the Installation will tell us XQuartz is missing:

wine: Unsatisfied dependency: XQuartz
Homebrew does not package XQuartz. Installers may be found at:
Error: An unsatisfied requirement failed this build.


So let’s install XQuartz – In my Case i downloaded the Version is 2.7.6 from the official Homepage (here). Doubleclick the DMG and “pkg” File inside when it’s downloaded and install it as usual – Important: You need to logout and login afterwards from your OS X Session.

XQuartz Hint about Re-Login
Now we can install wine and necessary Components – Fire up the terminal and type again:

brew install wine

This will take some time. Afterwards we’ll install “winetricks” by command:

brew install winetricks

Now we are able to install necessary Components to our wine environment:

winetricks d3dx9 

vcrun2008 msls31 winhttp

This command will bring up some Install-Dialogs – Just do the Install-Process and click next … next etc. with the default Settings to get everything installed.


SWTOR Installation

Get the Installer for SWTOR from the official Homepage – The file you will download should be “SWTOR_setup.exe”. Place it in your Download-Folder.

Go to the Download folder in your Terminal – Usually:

cd Downloads

and start the Installer by command:

env WINEARCH=win32 wine SWTOR_setup.exe

The Setup will appear. Select your Language and do the Installation with “Express Install”. When it’s done, the Terminal window seems to got stuck – Just hit Return and your are able to enter the next commands.

Install Dialog

SWTOR Launcher

Now we need to get the Game Launcher working – It will do the Download of the Game Client and Patches and keeps the Game up to date. I found this Information / Solution on WineHQ – So thanks to this Community and the people who wrote it:

cd .wine/drive_c/Program\ Files/Electronic\ Arts/BioWare/Star\ Wars\ -\ The\ Old\ Republic/

Go to and copy-paste the Script into the Script File which we’ll now create with nano (Command Line Editor):

 nano -w

Paste the Script into the Editor Window – Press Control+x and type ‘y’ and hit Return to save the changes from the Editor.

Now we make the script executable and start it:

 chmod 755

There will be a some components downloaded and installed / patched again – Just install everything with the defaults till the Launcher appears:

SWTOR Launcher

You’ll need an SWTOR Account for the next steps – If you don’t have one it’s time to create the Account or you are not able to continue from here. Afterwars Login and Accept the License and Rules – It could happen that you’ll be asked for a “One-Time-Password” – Check your E-Mails it will be there within some Minutes.

After you logged on the Launcher should try to Download the Game Files – At this point my launcher crashed:

SWTOR Launcher Error

If you get stuck here also – You need to kill the Process – Klick on Apple from the Menu Bar and use “Force Quit” and quit all the wine.bin Processes:

Force Quit Launcher

I believe there will be still Processes left, since my Fan didn’t stop to make noises 🙂 – So i rebooted my Mac at this point (You can also use the Activity Monitor from the Utilities to kill the remaining Processes if you don’t like to reboot – But i found this was a quicker way to get into a initial situation).

If you rebooted – just Login, reopen a Terminal and go to the the Launcher Folder again:

cd .wine/drive_c/Program\ Files/Electronic\ Arts/BioWare/Star\ Wars\ -\ The\ Old\ Republic/

We need to change the Launchers Patching Mode to get along the previous Error and also to be able to Download the Game Files. (If you didn’t get the first error – i’m pretty sure your Download will not work anyway and end up with an error Message if you don’t change this).

nano -w launcher.settings

and change the line

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


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

Press control+x and ‘y’ as and hit return to save and exit the editor.

Now start the Launcher again with the command:


and login with your SWTOR Account Information. The Download should start now if everything is OK. Depending on your Internet Connection the Download will take a long time – my Game Folder takes around 27 GB extracted on Disk. After the Download completed – You should be able to press the “Play” Button and start SWTOR.

Start Game


It could take some time till the Game Appears so don’t wonder – Create or select a character and enjoy the Game. You can launch it by the “” Script in future.

SWTOR Ingame


Sources / More Information



43 responses to “How to get “Star Wars – The Old Republic” (SWTOR) working on OS X 10.9 Mavericks with wine”

  1. […] is a new Article for Mac OS X 10.9 aka Mavericks in Combination with Homebrew available here about SWTOR on OS […]

  2. Saelengil says:

    Thanks so much! Currently on the patching stage… I’ll let you know if I run into any issues but things have so far run very smoothly!

    • Saelengil says:

      About how long *did* it take your game to load? I’ve been letting the thing run for hours.

      I do get a couple warnings each time I run the script, although the game still launches into the loading screen:

      ./ line 22: wget: command not found
      wine: cannot find L”C:\windows\system32\swtor_fix.exe”
      Using native override for following DLLs: msvcp90
      WARNING: Slow RemoteRenderer connection (1.444 seconds)

      Did you get these?

      • joh says:


        line22: wget: command not found

        means “wget” seems to be not installed. you can install it by:

        brew install wget

        Try again afterwards – I will add the brew wget installation to the Tutorial – Thanks and good luck 😉

  3. bendbanks says:

    I get the following command when I try and run the game install

    192-168-1-107:Downloads Benjamin$ env WINEARCH=win32 wine SWTOR_setup.exe

    192-168-1-107:Downloads Benjamin$ fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub

    fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub

    This program tried to use a DOMDocument object, but

    libxml2 support was not present at compile time.

    fixme:ole:CoCreateInstance no instance created for interface {2933bf81-7b36-11d2-b20e-00c04f983e60} of class {2933bf90-7b36-11d2-b20e-00c04f983e60}, hres is 0x80004001

    wine: Unhandled exception 0xe06d7363 in thread 28 at address 0x7b828781 (thread 0028), starting debugger..


    • joh says:

      This is new to me also – didn’t have libxml2 installed by brew on my test-system… You can try to install it and repeat the last step:

      brew install libxml2

      If wine still makes problem – you can also try to reinstall it:

      brew remove wine
      brew install wine

      good luck 😉

      • George says:

        Hey, i’m getting the same error. I had to install samba with macports and keep running into this error. I removed and reinstalled wine but the same problem appears. I also did the install libxml2 and when doing it again get
        Warning: libxml2-2.9.1 already installed

        Any ideas? 🙂

        • joh says:

          hi 🙂 … could be a conflict between the installation from macports and brew – i think it would be helpfull to get more details … can you post the console output from the script (please clean up the console first with command “clear” and do the ./ afterwards) ? – also a reboot would be good before you try to have an initial situation…

          • George Grover says:

            Hey, thanks for replying. 😀

            ./ does nothing, I haven’t reached that part of the guide yet. I restarted my computer and deleted the SWTOR file and redownloaded it again. When typing env WINEARCH=win32 wine SWTOR_setup.exe I get an error “The xml configuration seems to be corrupt.” then get a program error “The program installer.exe has encountered a serious problem and needs to close”.

            Below is what is output in the terminal, thanks for your time! 🙂

            GMBP:Downloads gagrover$ env WINEARCH=win32 wine SWTOR_setup.exe
            GMBP:Downloads gagrover$ fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub
            fixme:secur32:schan_imp_get_max_message_size Returning 1 <0 0x7b828781 in kernel32 (+0x18781) (0x0033e2b8)
            1 0x00d725e4 in nsisbwlangselect (+0x325e3) (0x0033e2f0)
            2 0x00d4f479 in nsisbwlangselect (+0xf478) (0x0033e43c)
            3 0x00d88563 in nsisbwlangselect (+0x48562) (0x0033e5f4)
            4 0x00d88b00 in nsisbwlangselect (+0x48aff) (0x0033e9c4)
            5 0x00d89516 in nsisbwlangselect (+0x49515) (0x0033fb2c)
            6 0x00401fe0 in installer (+0x1fdf) (0x0033fcf8)
            7 0x004013a8 in installer (+0x13a7) (0x00429400)
            0x7b828781: movl %ebp,%esp
            Module Address Debug info Name (33 modules)
            PE 400000- 477000 Export installer
            PE d40000- db0000 Export nsisbwlangselect
            PE 10000000-10006000 Deferred system
            PE 401f0000-4022b000 Deferred user32
            PE 40330000-40337000 Deferred gdi32
            PE 404c0000-404c4000 Deferred advapi32
            PE 40530000-40534000 Deferred version
            PE 40550000-406ad000 Deferred shell32
            PE 40780000-40788000 Deferred shlwapi
            PE 40800000-4082f000 Deferred comctl32
            PE 40900000-40908000 Deferred ole32
            PE 40a30000-40a34000 Deferred rpcrt4
            PE 40b30000-40b33000 Deferred winemac
            PE 42330000-42334000 Deferred uxtheme
            PE 42510000-42514000 Deferred shfolder
            PE 42520000-42524000 Deferred msvcrt
            PE 425c0000-425d8000 Deferred wininet
            PE 42640000-4264a000 Deferred mpr
            PE 42670000-42673000 Deferred secur32
            PE 426a0000-426a3000 Deferred netapi32
            PE 426d0000-426d4000 Deferred iphlpapi
            PE 426f0000-426f4000 Deferred ws2_32
            PE 42730000-42734000 Deferred schannel
            PE 43cd0000-43d10000 Deferred crypt32
            PE 43d90000-43d94000 Deferred rsaenh
            PE 43dd0000-43de0000 Deferred oleacc
            PE 43df0000-43df9000 Deferred winspool
            PE 43e30000-43e38000 Deferred oleaut32
            PE 43f50000-43f5d000 Deferred msxml
            PE 43f70000-43f94000 Deferred msxml3
            PE 43fd0000-43fe1000 Deferred urlmon
            PE 7b810000-7b9ad000 Export kernel32
            PE 7bc10000-7bc14000 Deferred ntdll
            process tid prio (all id:s are in hex)
            0000000e services.exe
            0000001f 0
            0000001e 0
            00000019 0
            00000018 0
            00000016 0
            00000014 0
            00000010 0
            0000000f 0
            00000012 winedevice.exe
            0000001d 0
            0000001a 0
            00000017 0
            00000013 0
            0000001b plugplay.exe
            00000021 0
            00000020 0
            0000001c 0
            00000022 explorer.exe
            00000024 0
            00000023 0
            00000028 (D) C:usersgagroverTempInstallSWTORInstaller.exe
            0000002b 0
            00000029 0 <==

            (Sorry for really long comment, can clear it up after you've read)

          • joh says:

            hi … ahm… oh oh 🙂 So some ideas… no solution but some questions to find out a little bit more about the environment / problem:

            Let’s first start with libxml:

            What does:
            xmllint –version

            ls -l /usr/lib/libxml*

            tell you?

            Does “brew install libxml2” throw any messages?

            Please post your installed Software with Macports:

            port installed

            Do you still need macports? … Samba is available in brew also and in the OS X Server App 😉

            BTW i googled around – have you missed the “winetricks” part?

            winetricks d3dx9 vcrun2008 msls31 winhttp

          • George Grover says:

            Hey, thanks again for replying, 🙂 sorry about being confused, lol.
            I’ll post each one separately

            1. xmllint –version

            GMBP:~ gagrover$ xmllint –version
            xmllint: using libxml version 20900
            compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib

            2. ls -l /usr/lib/libxml*

            GMBP:~ gagrover$ ls -l /usr/lib/libxml*
            -rwxr-xr-x 1 root wheel 2321104 23 Oct 2013 /usr/lib/libxml2.2.dylib
            lrwxr-xr-x 1 root wheel 15 23 Oct 2013 /usr/lib/libxml2.dylib -> libxml2.2.dylib

            3. brew install libxml2

            GMBP:~ gagrover$ brew install libxml2
            Warning: libxml2-2.9.1 already installed

            4. port installed

            GMBP:~ gagrover$ port installed
            The following ports are currently installed:
            expat @2.1.0_0 (active)
            gettext @0.19.1_0 (active)
            libiconv @1.14_0 (active)
            ncurses @5.9_2 (active)
            popt @1.16_0 (active)
            readline @6.3.003_0 (active)
            samba3 @3.6.23_1 (active)
            zlib @1.2.8_0 (active)

            5. winetricks d3dx9 vcrun2008 msls31 winhttp

            GMBP:~ gagrover$ winetricks d3dx9 vcrun2008 msls31 winhttp
            Executing w_do_call d3dx9
            d3dx9 already installed, skipping
            Executing w_do_call vcrun2008
            vcrun2008 already installed, skipping
            Executing w_do_call msls31
            msls31 already installed, skipping
            Executing w_do_call winhttp
            winhttp already installed, skipping

            Thanks for your time reading and helping me 🙂

          • joh says:

            Hi George,

            just as information – i’m currently creating a video guide and started from scratch step by step (Mac Mini Mid 2011, OS X 10.9.3 latest and fresh installed). I can verify the Guide will work on my Test-System… But I believe starting with a clean install is no solution for you 😉 …

            ok back to your problem 🙂 –

            I have noticed while reading again your long error post the following:

            “The xml configuration seems to be corrupt.” then get a program error “The program installer.exe has encountered a serious problem and needs to close”.

            This seems to be more a Windows-specific message … Do you have also played around with wine or did the installer work / crash once… ?

            I found this on the – maybe it solves your problem:


            – –

            What you else can test / try (please test the fix on winehq before):

            -Delete the wine Folder (IMPORTANT – Only do this if you are don’t running other stuff with wine) with the following commands:


            sudo rm .wine -vR

            Reinstall wine:

            brew remove wine
            brew install wine

            (Please have a look at the console output if wine get’s built again -> console output should be ./configure … make install -> If not please let me know… )

            Reinstall winetricks software:

            winetricks d3dx9 vcrun2008 msls31 winhttp

            Try again with the setup:

            cd Downloads

            env WINEARCH=win32 wine SWTOR_setup.exe

  4. bendbanks says:

    Hello thanks for this post, currently updating and really looking forward to playing this game.

  5. Adam Herma says:

    “Now start the Launcher again with the command:


    Terminal says Permission denied? Can you help please?

    • Adam Herma says:

      Oh, nevermind.

      New problem after opening installer – wine client error:5a8: pipe: Too many open files in system

      • joh says:

        Yes… as far as i remember got that also in the past with another installations … – just reboot, open the Terminal an run the again … should hopefully solve it.

        • Adam Herma says:

          That’s the first thing I tried, alas it’s still not working. TOR client talks about unspecified error and Terminal repeats that too many open files in system.

  6. Simon says:

    Thanks a lot for the instructions! It worked and SWTOR is running. But there is a bug accuring that also a lot of other wine users have playing this game. Thats what a google search showed me… The game crashes with a freeze when the curser is moved over the map or an item etc. and it has to be forced quited.. Do you have a fix for this bug?

    • joh says:

      Oh Oh – that’s right … I’m playing in “windowed mode”… it seemed to be ok for a while … but after clicking around some more items it crashed / froze … . The latest Post at Codeweavers Crossover Forum and WineHQ seem that this is still not fixed – Sorry – i’ve got no solution for this also …

      • Simon says:

        🙁 Well, ok… Then we have to avoid the Minimap icons 😀
        but still thank you very much

  7. Maddox Easley says:

    Im not sure what I did wrong but after getting past the fatal error the launcher would not get the patches. And science then It won’t open because of these

    [0709/] WSALookupServiceBegin failed with:

    [0709/] WinHttpGetIEProxyConfigForCurrentUser failed: 2

    [0709/] WSASocket failed: 10024

    [0709/] WSASocket failed: 10024

    and I did brew doctor after that I received this

    Warning: Homebrew’s sbin was not found in your PATH but you have installed

    formulae that put executables in /usr/local/sbin.

    Consider setting the PATH for example like so

    echo export PATH=’/usr/local/sbin:$PATH’ >> ~/.bash_profile

    • joh says:

      I believe the Error about not receiving the Patches will happen if you haven’t edited the Settings:

      Have a look at this Part in my Tutorial:

      — snip —

      nano -w launcher.settings

      and change the line

      , “PatchingMode”: “{ “swtor”: “BR” }”


      , “PatchingMode”: “{ “swtor”: “SSN” }”

      — snip —

      Maybe you have missed this?

      The Path Error seems to be brew specific – have a look at this thread on stackoverflow:

      Good Luck 😉

  8. Rayman1046 says:

    Well i got all the way through with errors but when i try to get to the part where i download the game itself it tries to initialize but fails and says

    This application encountered an unspecified error. Please try this patch again

    Is there anything i can do to fix this since im so close

    • Rayman1046 says:

      well after messing with it i found that it didn’t save my changes to the launcher settings so i redid that part plus disabling the bit updater thing cause i saw some posts saying it was necessary and it started downloading 😀

      i hope this fixes the problems i am having 😀

  9. Bigboss says:

    I got the game working for 2 weeks then all of a sudden it doesnt work anymore 🙁 I did this before and it worked “PatchingMode”: “{ “swtor”: “SSN” }”

    Its showing this now:

    [0801/] WSALookupServiceBegin failed with: 8
    [0801/] WinHttpGetIEProxyConfigForCurrentUser failed: 2

    The game just hangs at the loading screen.

  10. Quote2106 says:

    In the launcher, whilst still patching I get stuck on “Installing Main Assets 170 (0%) (4,99MB/s).

    For hours now, any ideas as to a solution?

    Thanks in advance!

    MacbookPro medio 2010 OS X 10.9.4
    Processor 2,4 GHz Intel Core 2 Duo
    Memory 4 GB 1067 MHz DDR3

  11. Yamumii says:

    I’m not really much of a computer person, and I got stuck around the SWTOR Launcher. I don’t know how to “copy-paste the Script into the Script File”

  12. Nick says:

    Great guide! Homebrew has a new location, you should update it to

    ruby -e “$(curl -fsSL”

    Instead of force quitting wine, you can just take care of it at the terminal since you are already there

    pkill wine

  13. Chris says:

    wine: cannot find L”C:\windows\system32\launcher.exe”

    I have the file, but I can’t find this.

  14. beugertoo says:

    1022/] WSALookupServiceBegin failed with: 8

    [1022/] WinHttpGetIEProxyConfigForCurrentUser failed: 2

    any help with loading screen freeze up would help?

  15. Cameron says:

    When I start up everything is fine until I get to the game and everything goes white or black. Could you help?

  16. Rayman1046 says:

    Something I’ve run into while playing the game is that on my client i cannot go to most of the planets the game runs fine for the starter planets but around taris or balmorra it just refuses to load the game i dont know if its a problem with the client or my game itself i was considering redownloading the game with no interruptions to see if thats was the problem but i dont want to have to do that if theres an easier way to fix it.

    if you need some more info as to what you would need to figure out whats wrong id be happy to provide it 🙂

  17. Laura Hill says:

    When I try to launch the start I can log in just fine but when it goes to Initializing it freezes up and says that a application has encountered an unexpected error. Please try again later. What can I do to fix it?

  18. Rainald Lim says:

    to save everybody’s trouble, i already had this video tutorial on youtube running for a year plus already.

  19. peterpan says:

    how can I deinstall swtor If I don’t need this anymore ?

  20. bob says:

    whenever i move my mouse over a certain icon on the mini map the game freezes. anyone else encounter this or know how to fix it?

    • Rayman1046 says:

      Thats caused by the area icons on the minimap if you avoid those itll work fine but as bob said a fix would be amazing 😀

  21. Robert says:




    *heavy sobbing*…

  22. Quora says:

    Can you play Star Wars: The Old Republic on a Mac? Does it work alright?

    Yes, with Bootcamp. It works fine as long as your computer has got a good enough graphic card. I haven’t tried Wine or an emulator but there is a post on how to run it with Wine here:;

  23. […] techboxed Start-Script: pastebin SWToR-Fix: […]

Recent Articles...