LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby Little Miss Murder » 14 Nov 2019, 21:45

Code: Select all
BODY="<html>Hello</html>";RESPONSE="HTTP/1.1 200 OK\nHost: localhost\nContent-type: text/html\nContent-length: ${#BODY}\n\n${BODY}"; while { echo -en "$RESPONSE"; } | nc -l "${1:-8080}"; do echo; done


That's a web server on the command line in one line.

Try it, it works! http://localhost:8080

The Nix way of life rawks.
User avatar
Little Miss Murder
Avatar-of-War
 
Posts: 190
Joined: 30 Mar 2019, 12:20
Has liked: 110 times
Been liked: 24 times
FAF User Name: Little Miss Murder

Re: LINUX SUPPORT IS HERE

Postby tatsu » 15 Nov 2019, 00:10

wow just tried it! never knew you could do that!
Run FAF + FA on linux, you can automate the whole install and setup process :
https://github.com/tatsujb/installFAFscript
User avatar
tatsu
Supreme Commander
 
Posts: 1475
Joined: 02 Jul 2012, 21:26
Has liked: 1794 times
Been liked: 160 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 21 Nov 2019, 23:13

Mesa ACO Linux | The Future is Now!
https://www.youtube.com/watch?v=fm_mzPBnWB0
Let's do some gameplay with the new ACO mesa compiler. This will blow your mind how good it performs on Linux. We will also be using some custom Proton versions to test out Proton 4.19.

https://github.com/GloriousEggroll/proton-ge-custom
someone try this with FAF! XD
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby LVV » 14 Dec 2019, 16:21

Hello. I try install FAF in Ubuntu 19.10. I follow the instructions in wiki.faforever
There is the problem: after completing this
export INSTALL4J_JAVA_HOME=~/Games/javaFafClient/jdk-10.0.2
and this
./downlords-faf-client
I see:

No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be 10.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM

Before that I tried to apply jdk-13

Earlier I installed Clion, maybe some other JVM was installed
LVV
 
Posts: 7
Joined: 14 Dec 2019, 16:02
Has liked: 0 time
Been liked: 0 time
FAF User Name: LVV

Re: LINUX SUPPORT IS HERE

Postby LVV » 14 Dec 2019, 16:33

And one more question:
Earlier in the instructions there is a line:
sudo chmod +x ./lib/faf-uid
but there is no such file, I wrote:
sudo chmod +x ./natives/faf-uid
Is it right?
LVV
 
Posts: 7
Joined: 14 Dec 2019, 16:02
Has liked: 0 time
Been liked: 0 time
FAF User Name: LVV

Re: LINUX SUPPORT IS HERE

Postby LVV » 14 Dec 2019, 16:37

And VLC when trying to open BluRay write:

This Blu-ray Disc requires Java to support the menu. Java could not be found on your system
LVV
 
Posts: 7
Joined: 14 Dec 2019, 16:02
Has liked: 0 time
Been liked: 0 time
FAF User Name: LVV

Re: LINUX SUPPORT IS HERE

Postby Little Miss Murder » 14 Dec 2019, 16:55

LVV wrote:And one more question:
Earlier in the instructions there is a line:
sudo chmod +x ./lib/faf-uid
but there is no such file, I wrote:
sudo chmod +x ./natives/faf-uid
Is it right?


Yes it's in the natives folder on later versions of the client
User avatar
Little Miss Murder
Avatar-of-War
 
Posts: 190
Joined: 30 Mar 2019, 12:20
Has liked: 110 times
Been liked: 24 times
FAF User Name: Little Miss Murder

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 14 Dec 2019, 16:57

did you download openJDK 10 as the instruction says? and where did you extract it?
same question goes to the Java FAF client. where did you extract it?

but there is no such file, I wrote:
sudo chmod +x ./natives/faf-uid

you are getting this error because there is no such file in that directory. : p
there is a cd command in the wiki too before that. it goes to the directory where you extracted the FAF client (you might have different directories).
i have updated the wiki about the "natives" subdirectory.

it doesn't matter what kind of JDK is on your system btw. you need the JDK10 extracted to some directory. then you store that directory path in the INSTALL4J_JAVA_HOME variable. then the FAF client will use that JDK.
does this directory exist for you? ~/Games/javaFafClient/jdk-10.0.2
 
foodlfg
Avatar-of-War
 
Posts: 155
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 64 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby LVV » 14 Dec 2019, 18:34

I deleted the directories and downloaded again. FAF Client works
I read the instructions further
LVV
 
Posts: 7
Joined: 14 Dec 2019, 16:02
Has liked: 0 time
Been liked: 0 time
FAF User Name: LVV

Re: LINUX SUPPORT IS HERE

Postby tatsu » 14 Dec 2019, 19:07

there's also this script that allows coop, ladder and featured mods to work : https://github.com/FAForever/faf-java-a ... -518974334

but you need to stop running that script when you want to play normal.
Run FAF + FA on linux, you can automate the whole install and setup process :
https://github.com/tatsujb/installFAFscript
User avatar
tatsu
Supreme Commander
 
Posts: 1475
Joined: 02 Jul 2012, 21:26
Has liked: 1794 times
Been liked: 160 times
FAF User Name: tatsu

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: Morax and 1 guest