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.

 

Set-Up

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 https://raw.github.com/Homebrew/homebrew/go/install)"

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

Wine

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:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.

Advertisement

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
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
cd .wine/drive_c/Program\ Files/Electronic\ Arts/BioWare/Star\ Wars\ -\ The\ Old\ Republic/

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

 nano -w start.sh

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 start.sh
./start.sh

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
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\" }"

to

 , "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:

./start.sh

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 “start.sh” Script in future.

SWTOR Ingame

 

Sources / More Information

WineHQ

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

  • Saelengil

    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

      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 start.sh script, although the game still launches into the loading screen:

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

      Did you get these?

      • joh

        Hi,

        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 😉

        • Saelengil

          That fixed the problem! (doh)
          Thanks!

  • bendbanks

    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..

    Anythought’s

    • joh

      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

        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

          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 start.sh script (please clean up the console first with command “clear” and do the ./start.sh afterwards) ? – also a reboot would be good before you try to have an initial situation…

          • George Grover

            Hey, thanks for replying. 😀

            ./start.sh 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
            Modules:
            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
            Threads:
            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

            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

            and:
            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

            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

            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 winehq.com – maybe it solves your problem:

            http://www.winehq.org/pipermail/wine-users/2011-November/099656.html

            – –

            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:

            cd

            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

  • bendbanks

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

  • Adam Herma

    “Now start the Launcher again with the command:

    ./start.sh”

    Terminal says Permission denied? Can you help please?

    • Adam Herma

      Oh, nevermind.

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

      • joh

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

        • Adam Herma

          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.

  • Simon

    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

      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

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

  • Maddox Easley

    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/091325:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with:

    [0709/091325:ERROR:proxy_config_service_win.cc(159)] WinHttpGetIEProxyConfigForCurrentUser failed: 2

    [0709/091326:ERROR:tcp_client_socket_win.cc(118)] WSASocket failed: 10024

    [0709/091326:ERROR:tcp_client_socket_win.cc(118)] 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

      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” }”

      to

      , “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: http://goo.gl/IfnMtj

      Good Luck 😉

  • Rayman1046

    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

      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 😀

  • Bigboss

    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/143315:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
    [0801/143315:ERROR:proxy_config_service_win.cc(159)] WinHttpGetIEProxyConfigForCurrentUser failed: 2

    The game just hangs at the loading screen.

    • beugertoo

      have you gotten anything to fix this because i am getting the same thing as well?

  • Quote2106

    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

  • Yamumii

    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”

  • Nick

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

    ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

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

    pkill wine

    • Nick

      pkill will get all those rogue processes and save you from a reboot, or manually killing them off

  • Chris

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

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

  • beugertoo

    1022/070852:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8

    [1022/070852:ERROR:proxy_config_service_win.cc(159)] WinHttpGetIEProxyConfigForCurrentUser failed: 2

    any help with loading screen freeze up would help?

  • Cameron

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

  • Rayman1046

    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 🙂

  • Laura Hill

    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?

  • Rainald Lim

    to save everybody’s trouble, i already had this video tutorial on youtube running for a year plus already. https://www.youtube.com/watch?v=L0F47SnItEI&list=UUzIo5sG_3acwWAIz8D_GGVA

  • peterpan

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

  • bob

    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

      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 😀

  • Robert

    MAYBE EXPLAIN IT A LITTLE MORE UNDERSTANDABLE!!!!!!!!!!!! IT’S LIKE ” CLICK THIS, TYPE THAT, AND CALCULATE THE CIRCUMFERENCE OF THE F*****G UNIVERSE!!!!!!!!!!!!!! I’VE BEEN DOING THIS FOR WEEKS AND I’M LIKE…..LIKE…………

    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    SOMEONE HELP PLEASE WITH THIS I CAN’T TAKE IT ANYMORE AND THIS INSTRUCTION PAGE AIN’T DOIN’ NOTHING!!!!!!!!!

    *heavy sobbing*…

  • Pingback: Quora()

  • Pingback: Star Wars – The old Republic unter OS X spielen | Weds Blog()