Please upgrade your browser for the best possible experience.

Chrome Firefox Internet Explorer
×

Yes, you can easily play SWTOR on Linux.

STAR WARS: The Old Republic > English > New Player Help
Yes, you can easily play SWTOR on Linux.

BufferOverload's Avatar


BufferOverload
03.29.2017 , 08:30 PM | #1
Hi guys,

SWTOR 5+ runs perfectly fine on a Linux machine. Let me show you how you get SWTOR running on Linux in only a few minutes (not counting download times).

Requirements:
1. An up-to-date Linux (64bit) on your machine
2. A graphic card capable of running SWTOR (I'm on a NVIDIA 1050 GTI OC, but I've testet this with a NVIDIA 610 and it worked with minimal settings) and 8+ GB of RAM
3. The following packages installed: "wine-staging", "winetricks", 32bit libraries (e.g. multilib, depending on your Linux distribution) and a proprietary graphic driver, works best with NVIDIA
4. some basic Linux knowledge

Okay, so let's get going:
1. Download the installer from http://www.swtor.com/
2. Copy it to a folder of your choice, e.g. "swtor"
Code:
mkdir ~/swtor
cp launcher.exe ~/swtor
cd ~/swtor
3. create your .wine enviroment (assuming you haven't one setup yet) with "winecfg" command. This will create a 64 bit Linux bottle in your home folder (.wine).
Code:
winecfg
if you already have a default wine setup in your home folder, use a wine prefix for swtor. Don't forget to set the prefix everytime you run SWTOR and unset it afterwards. I'll show you how you can do this with a simple script later.
Code:
export WINEPREFIX="$( pwd )/wineprefix"
winecfg
Now make sure to check the following boxes under the staging tab: "Enable CSMT for better graphic performance" and "Enable Environmental Audio Extensions"
Check "Emulate a Virtual Desktop" in the graphics tab and set it to your screen resolution for better performance. If you want to play windowed, do it anyway, just use the desired window size instead of the desktop size.
Now close the Wine Configuration window.
4. We need a few native Windows DLLs to run SWTOR so use winetricks to load them into our wine environment
Code:
winetricks msvcp90=native d3dx9 vcrun2008 msls31 winhttp
5. We're almost done. Start the launcher
Code:
wine launcher.exe
and close it.
6. Now you should have a file called "launcher.settings" in your swtor folder. Open it with an editor of your choice (gedit) and edit the following 2 attributes like this:
Code:
, "PatchingMode": "{ \"swtor\": \"SSN\" }"
, "bitraider_disable": true
7. Start the launcher again
Code:
wine launcher.exe
and the game should download.
8. The game should install, but it won't run just yet. One more thing, We need a fix for an known issue with some games running in wine. Luckily someone wrote a tool we can use:
https://github.com/aljen/swtor_fix
Download and start the executable swtor_fix.exe with wine every time before you start the game. And yes, we can automate that process, too:
https://github.com/aljen/swtor_fix/b...er/launcher.sh
It's outdated, but you can use that script and modify it as needed.
Have fun.

If you run in any trouble, please google for answers and check your Linux distros forums first.

BONUS:
StarParse runs on Linux, too!
- install it with wine, you will get an error, ignore it.
Code:
wine StarParse-1.0.exe
- make sure you have Java JRE working on your machine
Code:
java -version
- assuming you are using the default wine folder: copy the following folder to a location of your choice, e.g. "starparse" - don't forget to change "your username" to your actual username before running the command.
Code:
cp ~/.wine/drive_c/users/"your username"/Local\ Settings/Application\ Data/StarParse ~/starparse
- StarParse is actually a Java app bundled for Windows. Who does that, btw? Okay, first, we need to update the client app. You have to edit "~/starparse/app/StarParse.cfg" and change "app.runtime" in line 8 to the path of your Java binary. You can find your Java binary using
Code:
whereis java
- now start the the updater with
Code:
java -jar ~/starparse/app/starparse-launcher.jar
it will download and update, but fail to start the client. Don't worry. We're on Linux, we start the client manually with:
Code:
java -jar ~/starparse/app/client/app/starparse-client.jar
And we are done.

JediQuaker's Avatar


JediQuaker
03.30.2017 , 08:46 AM | #2
Or, you could just install Windows

(Actually, just teasing. I've considered running Linux myself.)
________________________________________________
A sieve may not hold water, but it will hold another sieve.
Referral code - http://www.swtor.com/r/dZ8wSV

Vercundus's Avatar


Vercundus
03.31.2017 , 04:35 AM | #3
I'm running both Linux and Windows. Unless game is written for Linux, no simulation is as good as original designated OS. SWTOR has engine problems as it is, running it through wine just icing on a cake.

While I support gaming on Linux, running SWTOR there is likely a bad idea.

Elvathelion's Avatar


Elvathelion
06.01.2017 , 11:24 AM | #5
Hey!

Great post, and it may even be easier now with the release of Wine 2.9 and csmt enabling.

According to the the most recent WineHQ ratings/write up:

Quote:
Everything works out of the box swtor was able to connect without using swtor_fix.exe
- https://appdb.winehq.org/objectManag...sion&iId=34946

I am in the process of downloading the very massive game, the launcher is running perfectly although I did follow this advice which appears to still be applicable due to bitraider issues:

Quote:
In order to make official client to download everything properly, make sure that launcher.settings in the directory of the game have the following modifications:

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

"bitraider_disable": true
Also, I will edit the screen resolution in the settings ini if it appears necessary.

But, using PlayOnLinux and manual install (not their script, it's outdated!) I simply created a 64bit Windows 7 virtual drive and ran the installer for SW:ToR, nothing else other than setting Wine CFG to Windows 7 and enabling CSMT in the registry.

Quote:
Starting from Wine 2.7, it should work with all builtin dlls, without any winetricks installed packages required.


I shall report back once I have my game up and running, the download will take some time and I have to work tonight.

Peace, and thanks for your post.

Elvathelion's Avatar


Elvathelion
06.04.2017 , 07:33 PM | #6
Well, I ran into the load screen spinning blue twirly issue-that was fixed once I ran the swtor_fix.exe file before running SWTOR from POL.

I am using Wine 2.9 (not staging) and I do have CSMT enabled.

Additionally, I was getting a white screen during the playing of the in-game cinematics -this problem went away after I installed directx9 & directx11 via POL component installation wizard.

I have graphics set on highest settings and I did initially have problems with the mouse being way too sensitive, but it appears to have calmed down after I used the mouse camera sliders.

So far the performance has been amazing!

Very very happy, my 3 day weekend is coming up in a few days, look forward to spending many hours in SWTOR.

Peace,

Elva

poyntz's Avatar


poyntz
07.19.2017 , 09:41 PM | #7
Quote: Originally Posted by BufferOverload View Post
...
StarParse runs on Linux, too!
...
Code:
java -jar ~/starparse/app/client/app/starparse-client.jar
..
Thanks for the guide. Starparse is working fine on the logging front and overlays display fine on the desktop. However, overlays seem to go hidden the moment the game is launched.

Would you know if there is any way to get the overlays to display over SWTOR in-game / raids?
Auryus-Saas legacy, The Red Eclipse
Shadows of the Dragon.|.Thunder...............
Kyyaen Tyyrae RystrVaeyyu ..............................................|.......................KhonurSyyrele KiiaeThyl'ux'zaar

Gannellon's Avatar


Gannellon
08.07.2017 , 12:57 PM | #8
Hi, I am so happy that I found this thread...
I am playing happily on Linux since January, but could not get parser to run. I was actually on the verge of writing my own...

Now I have _a new hope_, but run into problems with launching:

[QUOTE=BufferOverload;9269813]
- now start the the updater with
Code:
java -jar ~/starparse/app/starparse-launcher.jar
I am don't really remember much of how to run java app (C and python are rather my poisons), so help would be appreciated:

Code:
~/games/StarParse/app $ java -version && java -jar starparse-launcher.jar 
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
Error: Could not find or load main class com.ixale.starparse.launcher.StarparseLauncherApp

Leontar's Avatar


Leontar
12.05.2017 , 12:54 PM | #9
Quote: Originally Posted by Elvathelion View Post
Additionally, I was getting a white screen during the playing of the in-game cinematics -this problem went away after I installed directx9 & directx11 via POL component installation wizard.
I installed Wine Staging on my 17.10 Ubuntu, running on an "aged" i7 970 (6-core, 3.2GHz) system with 24GB RAM, but with an AMD RX480 8GB card (open source drivers) & then installed SWTOR on it.

If you disable the Bitraider (as OP suggested), the game downloads and installs normally without any additional programs - just the default. I noticed that there are issues with the mouse rolling around the camera really fast, but that can be fixed if you select the "Grab mouse" option & give a dedicated desktop to Wine (which I placed as my full screen resolution) in the winecfg.

I did notice the white screen on the cinematics, so I might install DirectX for it - if it indeed fixes the issue. Or might not, since the game works beautifully.

The in-game performance is really great to be honest (better than my previous Windows experience), though cut-scenes tend to suffer in frame-rate if you place your mouse pointer outside of the screen. If you keep it inside (or at a corner where it's still visible), the frame-rate is flawless with literally everything maxed out.

Tomorrow I'm having a Corsair Scimitar mouse arriving, so I'll give that a shot and see how it performs under Wine (I'm not running Windows at all). My "normal" gaming mouse (with the extra couple side buttons 4 & 5 to the side) is normally recognized without anything additional.

In general, besides some minor character-flashes when I'm travelling with the big "car" around Coruscant (through the fast travel droids), everything else works perfectly (minus the white videos).

As a side note, I tried the same with an old laptop running on an 1.7GHz i7, 8GB RAM and a 240M nVidia and -with reduced graphics settings- it runs great as well (same video issue). Actually, better than it did when I ran Win 10 believe it or not.

Also, as an up-point, running SWTOR on Linux keeps my network free of Windows' usual patching and background applications hammering my internet connection when they feel like it. It's nice to keep those lag spikes to a minimum. :-)

Atlantida's Avatar


Atlantida
07.02.2018 , 06:55 AM | #10
Anyone try wine-pba yet for dx9 to vulkan?

UPDATE
Nvm. Just tried vk9, no luck. Still in beta.