Skip to content

Instantly share code, notes, and snippets.

@sherifflight
Forked from NoraCodes/SCFAonLinux.md
Created October 23, 2016 16:06
Show Gist options
  • Save sherifflight/e84c584c565c0015e4ce4bfa1de8ecc5 to your computer and use it in GitHub Desktop.
Save sherifflight/e84c584c565c0015e4ce4bfa1de8ecc5 to your computer and use it in GitHub Desktop.
Supreme Commander: Forged Alliance with Steam on Linux with PlayOnLinux

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 lfstindall@leotindall.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment