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]
Works great. Thanks.