I'm sorry, I was gone from the community for a while due to health issues. I'll look into the provided logs asap.
Posts made by Sereiya
-
RE: Linux install script (Lutris)
-
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
-
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.
-
RE: Linux Support
@cyborg16 Starts perfectly fine for me with 6.3, although 5.0 is still recommended.
Did you remember using "PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 %command%" as start parameters?
-
RE: Linux install script (Lutris)
Updated to Lobby version 1.4.6 due to the serverload issue. Filename still says 1.4.4-RC1 simply because the Lutris mods still didn't review the installer, therefore link changes aren't applied. Next revision of the install script will have some fancy code to update the lobby automatically through Lutris.
-
RE: Linux install script (Lutris)
@ovo I've looked into it, but every iteration of the draft shows the same bugged version. I encounteres some similar behaviour when I worked with the page which is why I almost never saved it before commiting and mostly worked offline. I assume the website is bugged.
Since I uploaded the .yaml code in my first post (clearer syntax than on lutris . net, looks way less "hacky"), why won't you just take the code that's already working but seem a little hacky to you and just edit it? Not lying, it feels weird to see someone completely working around me and encountering some problems I already solved within a few hours of testing. Stuff like the optional ~/.faforever/ symlink is already included too, and as I said I'm not even sure the problem on Arch wasn't due to a faulty configuration on my side.
-
RE: Linux install script (Lutris)
@ovo Your install script doesn't work, throws Error 17 "File already exists" after looking for the run file. This isn't the only problem though.
Other things I noticed:
- You're getting the files via wget instead of using Lutris' in-built file download function. Works, but isn't beautiful since you skip the option to insert the files yourself
- Instead of downloading the FAF client, you're downloading the Java 15 SDK twice
- The Steam arguments you give are missing %command%
- Having the user manually looking for the run file is unnecessary, it will always spawn in /tmp/proton-$USER/
- You made the same error like me with line breaks
- The user isn't told to set a specific Proton version. This can cause later problems like desyncs, as described here.
- You don't tell the user that SteamPlay has to be activated for every title in order to even install Forged Alliance. In my opinion missing information like this is extremely frustrating for new users.
- Your client.prefs file will be rejected by the FAF client since the lobby isn't written to simply add missing entries, but expect them to be already present. That's the reason I uploaded a prepared one for my script which I edit using sed, so the client accepts the file.
- You do not set the preferences file location, therefore FAF lobby will look for it in ~/.wine/ and create a new one there, ignoring your FA settings as well as forgetting all settings every time a user might deletes his standard wine prefix.
- Not a necessity, but I find the option to have all files in your defined game folder quite important for large games so your /home won't get cluttered. In the end FAF will save literally everything in ~/.faforever/
Sorry, but as it is, your script is absolutely non-working on any machine and riddled with problems.
-
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 LinuxThe 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.
-
RE: Linux install script (Lutris)
@randomwheelchair Oh, right, there was something.... does that mean the Retail version is now also blocked due to missing checks?
-
RE: Linux install script (Lutris)
While working on the script for Retail I noticed FA is on gog now too, said not to be compatible to FAF (challenge accepted?). Can someone confirm?
@rowey said in Linux install script (Lutris):
@Sereiya nice just as a heads up 1.4.4 is now Offical and not a Release Candidate
Good to know, thanks.
-
RE: Linux Support
Made a Lutris install script, this should make it even easier for new people since that tool is quite popular. Right now it's just for the Steam version, but the retail disc is already in my drive and gog version bookmarked.
https://forum.faforever.com/topic/1657/linux-install-script-lutris
-
Linux install script (Lutris)
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.
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 LinuxUnfortunately 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!