Star Wars The Old Republic — достаточно старая, но всё ещё популярная MMO в жанре RPG. Изначально игра распространялась по подписке и в последствии перешла на модель «Free to Play». Но в каноническое понятия f2p игра вписывается с большим количеством оговорок, так как в полном объёме она доступна только подписчикам и с рядом ограничений тем, кто был подписчиком на момент выхода последних сюжетных дополнений. Остальные же могут играть в неё бесплатно, но с серьёзными ограничениями и прогресс доступен только в пределах основной сюжетной линии, до 50-го уровня. На сегодня их 70.
Игра написана и официально поддерживается только для операционных систем Windows начиная с Windows 7. Для установки игры на Linux нам потребуется современный 64-х битный дистрибутив, Wine-Staging, Winetricks и умение работать в Linux на уровне пользователя. В официальной базе Wine для игры версии 5.Х рекомендуется Wine-Staging версии 3.8. То есть доподлинно известно, что эта версия игры идеально работает с этой версией Wine. Игра периодически обновляется, Wine тоже. В данном примере я буду устанавливать игру на Wine версии 3.18.
Если у вас уже установлен Wine, то убедитесь в то, что установлена именно Staging версия, в противном случае замените. Более подробно об установке и настройках Wine можно почитать по этой ссылке . После того, как Wine и 32-х битные библиотеки установлены и готовы к работе, приступаем к установке самой игры.
Создаём префикс Wine для SWTOR:
Таким образом в каталоге Home была создана папка SWTOR. Укажите свой путь, если хотите установить префикс в другое место. ОС у нас 64-х битная, соответственно и префикс Wine был создан 64-х битный. С помощью команды «winecfg» открываем настройки Wine для нашего префикса.
Единственное, что тут имеет смысл поменять — это во вкладке «Staging» включить CSMT. Опция спорная, но в ряде случаев даёт прирост производительности. SWTOR, похоже, тот самый случай. Опции ниже — на ваше усмотрение и лучше их не трогать до запуска самой игры. В эти настройки всегда можно вернуться позже.
Далее, с помощью Winetricks устанавливаем некоторые библиотеки, такие как поддержка Сети, VC Runtime и прочее. Похоже, что данный шаг на сборках Staging 4.20 и новее больше не требуется. Установка же vcrun2008 вообще вызывает ошибку в загрузчике.
Процесс займёт какое-то время в зависимости от скорости вашего ПК и соединения с Интернетом.
По завершении процесса можно устанавливать саму игру. Имеется ввиду, что мы уже скачали установщик и он лежит в папке
Используется путь по умолчанию, так как мы уже расположили весь префикс там, где нам удобно. Однако, если игра у вас надолго, то имеет смысл разместить префикс отдельно от файлов игры (устанавливать игру на диск Z). Wine развивается и изменяется. Иногда возникает необходимость в полной замене префикса. После завершения установки загрузчика запускаем его.
То есть WINEPREFIX=
/SWTOR wine и путь до «launcher.exe». Скорее всего вылетит ошибка. Но этим самым в папке «Star Wars — The Old Republic» был создан файл «launcher.settings». Даже если загрузчик запустился, то закрываем его и правим «launcher.settings» по адресу
/SWTOR/drive_c/Program Files (x86)/Electronic Arts/BioWare/Star Wars — The Old Republic.
В нём ищем параметр «PatchingMode»: и приводим всю строку к следующему виду:
Далее ищем «bitraider_disable»: и меняем значение «false» на «true».
Сохраняем изменения и запускаем загрузчик снова.
На этот раз всё должно работать и можно вводить свои данные авторизации. Загрузчик скачает и установит саму игру, что займёт время.
Создайте bash-скрипт для запуска загрузчика, чтоб не вводить каждый раз команду в терминал. Пример содержимого скрипта:
По окончании установки можно запускать саму игру.
Если у вас проблемы с разрешением экрана (интерфейс, чат и прочее выводится в нормальном соотношении сторон, текстуры персонажей и всего остального растянуты), то в настройках Wine для префикса игры включите «виртуальный десктоп» с родным разрешением вашего монитора. После чего всё должно выглядеть как надо. В сборках с патчем Proton Fullscreen Hack проблем с соотношением сторон не будет.
*** Если вы хотите использовать локальную сборку, то добавляйте полный путь до бинарников WINE вместо команды «wine». Готовые сборки можно найти здесь . Там же описана установка DXVK в префикс. SWTOR работает идеально с D9VK. В команду запуска так же следует добавить следующее: WINEESYNC=1 WINEFSYNC=1 (Если ядро не поддерживает Fsync, то будет использоваться Esync. Сборка WINE так же должна поддерживать Fsync. Минимальная версия WINE — 4.11). Для карт nVidia: __GL_THREADED_OPTIMIZATIONS=1. Для карт AMD и Intel: mesa_glthread=true. Игра — 32-х битная. На случай вылетов из-за ошибки памяти добавьте следующее: WINE_LARGE_ADDRESS_AWARE=1 (сборка Wine должна поддерживать данное решение). Последний шаг опциональный, так как мне не известны случаи, когда SWTOR вылетала по причинам, касательным этой опции. Сборки WINE по ссылке выше поддерживают всё, что здесь перечислено. Опция «CSMT» в настройках Staging всё так же не рекомендуется, по прошествии времени. Но и видимых проблем в этой, отдельно взятой игре, тоже не вызывает.
Источник
Yes, you can easily play SWTOR on Linux.
BufferOverload
03.29.2017 , 08:30 PM | #1
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»
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.
/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
JediQuaker
03.30.2017 , 08:46 AM | #2
Or, you could just install Windows
(Actually, just teasing. I’ve considered running Linux myself.)
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.
Ritchi_HD
03.31.2017 , 05:12 AM | #4
Elvathelion
06.01.2017 , 11:24 AM | #5
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:
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:
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:
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.
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
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.
poyntz
07.19.2017 , 09:41 PM | #7
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?
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
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:
Leontar
12.05.2017 , 12:54 PM | #9
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. 🙂