LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby tatsu » 26 Feb 2019, 17:06

ZeRen wrote:litle offtopic

did anyone try to run Starcraft 2 on linux?

funny you should mention? I've been doing just that.

works amazing via lutris, just change the wine version to proton 3.17-beta (and enable emulated desktop).
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby ZeRen » 27 Feb 2019, 16:25

tatsu wrote:
ZeRen wrote:litle offtopic

did anyone try to run Starcraft 2 on linux?

funny you should mention? I've been doing just that.

works amazing via lutris, just change the wine version to proton 3.17-beta (and enable emulated desktop).

thx it is working perfectly

what other games you have tried on linux?
User avatar
ZeRen
Evaluator
 
Posts: 641
Joined: 03 Aug 2014, 08:22
Has liked: 154 times
Been liked: 49 times
FAF User Name: ZeRen

Re: LINUX SUPPORT IS HERE

Postby ZeRen » 27 Feb 2019, 20:52

I have tried Proton again I got this, when trying ladder

Code: Select all
Failed to setup initial search path.

Program : Z:\home\zeren\.faforever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /cybran /log /home/zeren/.faforever/logs/game.log /gpgnet 127.0.0.1:37981 /mean 1192.05 /deviation 85.1071 /savereplay gpgnet://127.0.0.1:40391/9330693/handicapped-ACU.SCFAreplay /country CZ /numgames 1401 /team 1 /players 2

Callstack:
    unavailable.

Last 100 lines of log...

warning: Running "Z:\home\zeren\.faforever\bin\init.lua" failed: cannot read init_faf.lua: No such file or directory
         stack traceback:
            [C]: in function `dofile'
            Z:\home\zeren\.faforever\bin\init.lua(1): in main chunk


in FAF setting I have:
Code: Select all
/home/zeren/.steam/steam/steamapps/common/Supreme Commander Forged Alliance

Code: Select all
/tmp/proton_zeren/run "%s"

Code: Select all
/home/zeren/.faforever/bin
User avatar
ZeRen
Evaluator
 
Posts: 641
Joined: 03 Aug 2014, 08:22
Has liked: 154 times
Been liked: 49 times
FAF User Name: ZeRen

Re: LINUX SUPPORT IS HERE

Postby tatsu » 28 Feb 2019, 19:58

yeah that's two of you now. will look into it.
https://github.com/FAForever/downlords- ... ssues/1095
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby tatsu » 03 Mar 2019, 05:33

Hi guys!

this is what I'm basing my next video on !

https://github.com/tatsujb/installFAFscript

i'll probably use it in pair with an "uninstall" script I have yet to create. but you can test it with a machine under virtualbox (for example) to confirm that it works.

it should also work on your host machine if you've followed diligently the instructions of my previous videos.

I'd like some feedback and suggestions.

still WIP btw, haven't updated most of the paths

if you have feedback be sure to include the version number at the top of the script. (there was none at one point ideally use a version with a version number)
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby tatsu » 12 Mar 2019, 09:15

sorry I took so goddamn long : https://www.youtube.com/watch?v=c5K7QmK-Xas

script is working now folks.


go and get it at : https://github.com/tatsujb/installFAFscript
Last edited by tatsu on 12 Mar 2019, 22:28, edited 1 time in total.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 12 Mar 2019, 21:10

thanks looks nice!
it must have taken so much experimenting. ><

i haven't tested it yet. i barely played the game nowadays even.
but i took a look at this. o/

are you sure about sudo apt -y full-upgrade ?
it seems it upgrades the system too. for example from Ubuntu 18.10 to 19.04 (if this comes out in the future)
also what does the -y switch do? i couldn't find it anywhere. xD

Code: Select all
man apt:
   full-upgrade (apt-get(8))
           full-upgrade performs the function of upgrade but will remove
           currently installed packages if this is needed to upgrade the
           system as a whole.

https://askubuntu.com/questions/770135/ ... st-upgrade


Thanks again!
 
foodlfg
Avatar-of-War
 
Posts: 165
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 69 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby tatsu » 12 Mar 2019, 22:55

foodlfg wrote:thanks looks nice!
it must have taken so much experimenting. ><

i haven't tested it yet. i barely played the game nowadays even.
but i took a look at this. o/

are you sure about sudo apt -y full-upgrade ?
it seems it upgrades the system too. for example from Ubuntu 18.10 to 19.04 (if this comes out in the future)
also what does the -y switch do? i couldn't find it anywhere. xD

Code: Select all
man apt:
   full-upgrade (apt-get(8))
           full-upgrade performs the function of upgrade but will remove
           currently installed packages if this is needed to upgrade the
           system as a whole.

https://askubuntu.com/questions/770135/ ... st-upgrade


Thanks again!

no problem! thank you! and yes, tons... ( ̄  ̄|||)

no I'm not sure ;P I'm experimenting but feel free to remove whatever lines from the script you're not comfortable with before running it.

it's just a habbit of mine. I just like to have a clean working base and it's tough to install steam or whatever if the dependencies it's going to be using will change halfway.

( y is for yes, it prevents user prompt in case it wants to ask if you're okay with a lot of shit being installed, in the spirit of automation I opted for the least possible interruptions)
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby DeathTBO » 17 Mar 2019, 02:32

OK

So, I've been tinkering with this for hours. I am running Fedora 29 x64, I had to install Oracles JVM to get Downlords launcher to work, and now it does. I have already launched and tested the Forged Alliance via Steam/Proton, works great as long as Esync is off.

Now here's where the hard part comes in. For the life of me I cannot get the game to launch.

I first set the directory to my Forged Alliance install folder.

Then I changed the "Command line format for executable" to: wine "%s"
When I then create a private game I am greeted with: Image

I've tried launching it with Proton (I symlinked it for easy access): /home/deathtbo/.faforever/bin/proton/bin/wine "%s"
The create game button with turn grey, and then back to white after a couple seconds.

I've tried to create a bash file and pass "%s" as an argument where I could export environment variables and set the WinePrefix, but that too simply did nothing.

I lastly, bashed the file directly in my terminal.

Code: Select all
export WINEPREFIX=("/home/deathtbo/HDD1/Steam Library/steamapps/compatdata/9420/pfx/")
export PROTON_NO_ESYNC=1

/home/deathtbo/HDD2/Steam\ Library/steamapps/common/Proton\ 3.16\ Beta/dist/bin/wine "$1"

Here I was able to see the output. This is what I get when trying to use Proton https://pastebin.com/SK2E7fu7

Keep in mind, launching from Steam works perfectly everytime.

Anyone have any ideas?
User avatar
DeathTBO
Crusader
 
Posts: 15
Joined: 18 Oct 2014, 00:10
Has liked: 0 time
Been liked: 5 times
FAF User Name: DeathTBO

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 17 Mar 2019, 11:01

hi o/
are you the guy from Discord?

i don't know exactly what is you have to set up to make it work on Fedora, try to follow Tatsu's bash file:
https://github.com/tatsujb/installFAFsc ... ter/faf.sh


you will need to (might not be 100% accurate):
1. download the uid file and chmod it.
https://github.com/FAForever/uid/releases
chmod +x lib/faf-uid

2. set up the correct symlinks (Mods, Maps) from the games directory to FAF client directory.
cd ~/.steam/steam/steamapps/common/Supreme\ Commander\ Forged\ Alliance;
ln -s ~/My\ Games/Gas\ Powered\ Games/Supreme\ Commander\ Forged\ Alliance/Maps/ Maps;
ln -s ~/My\ Games/Gas\ Powered\ Games/Supreme\ Commander\ Forged\ Alliance/Mods/ Mods;

3. give the proper environment variables before launching the client for Proton. i'm not sure WINEPREFIX alone is enough.
4. in the java FAF client add proper directory names and launch command for how the client should call the game executable.
viewtopic.php?p=171339#p171339
viewtopic.php?p=171531#p171531
you will need to set the "execution directory" too in the client:
viewtopic.php?p=172051#p172051
(edit: in Tatsu's video it is different, which one is the correct way??)


alternatively, install the old legacy client and use normal wine, install the game using windows Steam:
https://github.com/foodlfg/Supreme-Comm ... tall-guide


Tastu, what kind of additional steps does he have to do in order to launch the game from the java client?
It would be great to see the steps written down one by one (in one post) to help others to see the big picture. I will need this info too btw. :)
 
foodlfg
Avatar-of-War
 
Posts: 165
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 69 times
FAF User Name: foodlfg

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest