This guide is out of date. Use https://github.com/FAForever/faf-linux instead.
Install PlayOnLinux with your package manager (i.e. sudo apt-get install playonlinux
). Then, type playonlinux and wait for it to refresh its list.
Install Steam under PlayOnLinux. Once Steam is running, exit it, select its entry in PlayOnLinux, and select Configure.
I suggest using Wine 1.7.8-d3d doublebuffer
Now go to the "Install Components" section and install, in any order: d3dx9
, directx9
, dotnet40
Under Display, set Video Memory Size to the amount of RAM your graphics card has. If you don't know this, choose 256. Then, under Offscreen Rendering Mode, pick fbo
. This is absolutely critical because, without it, you get no graphics.
Now we need to fix the audio. In the same Configure window, select Miscellaneous and find the text box marked "Command to exec before running the program". In that text box, enter export PULSE_LATENCY_MSEC=60
and press the enter key. This fixes the audio.
Now, run Steam again, download SC:FA, and play! Don't be put off by error messages about being unable to find libraries: everything should work.
I recommend using FAForever to play multiplayer. Download it at http://www.faforever.com/ and make an account.
Then, take FAForever-whatever.msi and place it somewhere convenient (Downloads, home directory, whatever).
Rename it, adding a single -
to the end - i.e. FAForever-0.10.125.msi
becomes FAForever-0.10.125-.msi
. This is not always needed but fixes a registry issue on some setups.
Now, open up the PoL drive's Configure -> Miscellaneous
window again, and select Run an .exe in this drive.
Find the MSI file and select it.
Follow the installation instructions - things should work fine, despite a few error messages. You're now ready to play FAF, but if you want, you can use General -> Make a new shortcut from this drive
to create a shortcut straight to FAF (FAForever.exe). Steam doesn't need to be running.
Currently, the map browser in FAF is BROKEN under POL. If anyone can figure out how to fix it, PLEASE submit a pull request on this gist.
If you have problems, please contact me at [email protected]
Hi!
Just followed this guide on Ubuntu 15.10, 64-bit.
I've got two issues (the game seems to launch fine, but is not very forgiving with alt-tabbing).
I get the following error when opening FAF, and only get the option to "X" the windows out, or click okay, with the process crashing right afterwards:
Crackling sound, I'm suspecting it's got to do with PulseAudio, but I have yet to find out how to debug/confirm this.
(I see that there's a lot of people posting about this on the web about similar Wine-related issues: https://www.playonlinux.com/en/topic-11545-Pulseaudio_qbuffer_underrunq_tutorial.html)
Got any idea/suggestion on how to fix this?
21st of May 2016 EDIT:
The crackling sound is fixed, and the game experience is now playable! The problem was me not understanding how PoL worked, so the
export PULSE_LATENCY_MSEC=60
was given to the Steam process from which I installed SC:FA, and not SC:FA itself!That's all good now! =)