FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    1. Home
    2. Sereiya
    3. Best
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • Linux install script (Lutris)

      There should've been a banner picture here

      Hey there folks!

      Since FAF works very well under Linux for a while now I decided to put some effort into making it more easily available for people, since there was no Lutris install script yet.


      Install now
      You can also find it on lutris.net by clicking "Show unpublished installers" (Steam + Lobby version).


      What it does:

      • Downloads Lobby + assets
      • Setups Lobby independent from your system Java (since it needs the older SDK 15)
      • Guides you through Steam setup & fetches the 'run' file
      • Preconfigures your Lobby correctly
      • Gives you the option to put your lobby data inside the install folder instead of /home
      • Ready to Play!

      Tested successfully on

      ✔ Ubuntu 20.04 LTS
      ✔ Pop!_OS 20.10
      ✔ Linux Mint 20.1 "Ulyssa"
      ✔ Fedora 34 Workstation
      ✔ OpenSUSE Tumbleweed
      ✔ MX Linux 19.4.1-ahs
      ✔ ElementaryOS 5.1
      ✔ Manjaro 21.0.5 (Gnome)
      ✔ Debian 10 Buster
      ⚠ Manjaro 21.0.5 (Xfce)
      ⚠ Arch Linux

      ⚠ Unfortunately as of now there is a bug where either the environment variable is ignored or he's reporting missing symbols. In this case you can start the lobby manually by going into the lobby folder in a terminal and running:

      INSTALL4J_JAVA_HOME=/path/to/game/folder/openjdk15/ ./downlords-faf-client
      

      RIght now it downloads the Lobby 1.4.6 as well as a prepared client.prefs file from a VPS generously set up by misthafalls (thanks dude). Main reason for this is github not giving you download speeds beyond 200kb/s when downloading outside of a browser.

      In the long run it would probably look way more professional if the script could download the lobby directly off of faforever.com, as well as always get the newest version. To do the latter it'd be necessary to add a CLI command to the lobby though, telling it to dump a client.prefs file without actually starting.

      Please ignore the fact I screwed up the line breaks at one point (yaml....), it should fix itself once the mods greenlight the newest draft. 🙃

      You can download the .yaml and banner file here.

      Feedback is much appreciated! 😊

      posted in Contribution compatibility linux lobby lutris
      SereiyaS
      Sereiya
    • RE: Linux Support

      @yarikchi Doesn't my script work for you (In a few DE's it weirdly doesn't)? I tried to simplify it as much as possible. https://forum.faforever.com/topic/1657/linux-install-script-lutris

      posted in I need help
      SereiyaS
      Sereiya
    • RE: Linux install script (Lutris)

      I've tested out a few distros with the script to make sure FAF works stable on all flavours of Linux using it.

      ✔ Ubuntu 20.04 LTS
      ✔ Pop!_OS 20.10
      ✔ Linux Mint 20.1 "Ulyssa"
      ✔ Fedora 34 Workstation
      ✔ OpenSUSE Tumbleweed
      ✔ MX Linux 19.4.1-ahs
      ✔ ElementaryOS 5.1
      ✔ Manjaro 21.0.5
      ✔ Debian 10 Buster
      ⚠ Arch Linux

      The mentioned bug on Arch Linux may be a sole problem of me missing a specific package (classic Arch problem I assume). Someone may confirm and tell which one it was for FAF to recognize Env vars so it can be fixed. Since Manjaro works fine it probably is just missing configuration on my side. ☺

      posted in Contribution
      SereiyaS
      Sereiya
    • RE: Linux Support

      Small suggestion about those ACU upgrade effects, you could try using WineD3D instead of DXVK by replacing

      PROTON_USE_D9VK=1 DXVK_HUD=full
      

      with

      PROTON_USE_WINED3D=1
      

      It doesn't use the new API anymore that way, but with a computer not powered by a potato that should be no problem at all.

      posted in I need help
      SereiyaS
      Sereiya
    • RE: Linux install script (Lutris)

      I'm sorry, I was gone from the community for a while due to health issues. I'll look into the provided logs asap. 🙂

      posted in Contribution
      SereiyaS
      Sereiya