LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: Mountain, FtXCommando

Re: LINUX SUPPORT IS HERE

Postby Mapsilva » 28 Nov 2018, 23:09

Hey tatsu,

i have isp box for tv and seperate isp router, upnp is on which is confirmed by downlords client at 192.168.1.1 and port 6112 mapped to 192.168.1.20 is also confirmed by client. Im in Madeira, Portugal.
I have java 10 installed should i point it to java 10?
How did your tarball installation go?
Mapsilva
 
Posts: 6
Joined: 29 Oct 2018, 18:04
Has liked: 1 time
Been liked: 0 time
FAF User Name: cubensis

Re: LINUX SUPPORT IS HERE

Postby tatsu » 29 Nov 2018, 00:47

Mapsilva wrote: have java 10 installed should i point it to java 10?
yes
Mapsilva wrote:How did your tarball installation go?

very well.

I used this file : https://download.java.net/java/GA/jdk10 ... bin.tar.gz

with this guide : https://www.javahelps.com/2017/09/insta ... linux.html

to force java 10

I also remembered to add :

Code: Select all
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/jdk-10.0.2


to my .bashrc

then I extracted the faf tarball to /opt

and i ran :

Code: Select all
sudo chmod +x /opt/downlords-faf-client-0.9.2-beta/downlords-faf-client && sudo chmod +x /opt/downlords-faf-client-0.9.2-beta/lib/faf-uid


to run faf it's now a standard execute of the executable, there is no extra declared appname, so in the /opt/downlords... folder :

Code: Select all
./downlords-faf-client
User avatar
tatsu
Supreme Commander
 
Posts: 1296
Joined: 02 Jul 2012, 21:26
Has liked: 1443 times
Been liked: 122 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 29 Nov 2018, 20:35

where is this java 11 incompatibility problem coming from? what happened, what did change?
last time i've checked the Java Client used Java 8.
i have: Java(TM) SE Runtime Environment (build 1.8.0_191-b12) from Oracle on Ubuntu 16.04. tho i don't know exactly which one i have on Ubuntu 18.06 (probably a similar one), i'm currently using 16.04, 18.04 is just my test system.

which version of the FAF Java Client are you guys using?
the original Geosearchef 0.9.0 beta RC3.deb one? or:
https://github.com/FAForever/downlords- ... t/releases

anyways, use the Python Client if the Java Client doesn't work (my guide is in my signature).



I didn't upgrade my Ubuntu 18.04 system and i installed Wine long ago, so i don't know what's going on with the unofficial Gallium Nine PPA and Wine3.20. you guys can still use Lutris or Playonlinux (whichever works) to download different Wine versions. one week ago i checked Playonlinux and it began downloading Wine again...
 
Ubuntu 18.xx Install Guide
The ultimate guide for running FAF on Ubuntu 18.04 LTS, 18.10
https://github.com/foodlfg/Supreme-Comm ... tall-guide
(installing the game, Wine 3.10, Steam, setting up the client, etc)
 
foodlfg
Avatar-of-War
 
Posts: 81
Joined: 17 Dec 2017, 19:28
Has liked: 10 times
Been liked: 31 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby tatsu » 01 Dec 2018, 00:00

foodlfg wrote:which version of the FAF Java Client are you guys using?
the original Geosearchef 0.9.0 beta RC3.deb one? or:
https://github.com/FAForever/downlords- ... t/releases.

we're using the official github releases.

they moved up to java 10 and apparently aren't compatible down or up.
User avatar
tatsu
Supreme Commander
 
Posts: 1296
Joined: 02 Jul 2012, 21:26
Has liked: 1443 times
Been liked: 122 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 01 Dec 2018, 12:15

there is a commit on Okt 25 that says: Migrate to OpenJDK 10
https://github.com/FAForever/downlords- ... 5104ea224f
i consider it good because usually OpenJDK libraries are in the Ubuntu repos, except for openjdk-10-jdk xD

https://linuxconfig.org/how-to-install- ... version-10
have you guys tried this using PPA? is oracle-java10-set-default no good?

https://stackoverflow.com/questions/495 ... der-ubuntu
what about this one? openjdk-10_linux-x64_bin.tar.gz?


i don't get tho what is so special about this client software that prevents it from running on OpenJDK 11. :p
also why do we need JDK, the developement kit? we are not developing anything, we are just running stuff. shouldn't just RE the runtime environment be enough?
 
Ubuntu 18.xx Install Guide
The ultimate guide for running FAF on Ubuntu 18.04 LTS, 18.10
https://github.com/foodlfg/Supreme-Comm ... tall-guide
(installing the game, Wine 3.10, Steam, setting up the client, etc)
 
foodlfg
Avatar-of-War
 
Posts: 81
Joined: 17 Dec 2017, 19:28
Has liked: 10 times
Been liked: 31 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby tatsu » 08 Dec 2018, 16:20

i got java faf + lined to FA working again but once again linking the mods and maps folder is broken

"My_Games/ect.." folder does indeed get created at the user home. but the below linking process no longer works :
Code: Select all
cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/Supreme\ Commander\ Forged\ Alliance
ln -s $HOME/My\ Games/Gas\ Powered\ Games/Supreme\ Commander\ Forged\ Alliance/Maps/ Maps
ln -s $HOME/My\ Games/Gas\ Powered\ Games/Supreme\ Commander\ Forged\ Alliance/Mods/ Mods
cd ~/.wine/drive_c/users/tatsu
rm -rf My\ Documents
mkdir My\ Documents
cd My\ Documents
ln -s $HOME/My\ Games/ My\ Games


any ideas?
User avatar
tatsu
Supreme Commander
 
Posts: 1296
Joined: 02 Jul 2012, 21:26
Has liked: 1443 times
Been liked: 122 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby tatsu » 11 Dec 2018, 23:35

fixed it!!

it was
Code: Select all
cd ~/.wine/drive_c/users/t
rm -rf My\ Documents
mkdir My\ Documents
cd My\ Documents
ln -s $HOME/My\ Games/ My\ Games


I hadn't updated my username
User avatar
tatsu
Supreme Commander
 
Posts: 1296
Joined: 02 Jul 2012, 21:26
Has liked: 1443 times
Been liked: 122 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby tatsu » 13 Dec 2018, 02:08

at long last here's the new guide : sorry to have kept you guys waiting :

https://www.youtube.com/watch?v=RRINgZQl7LU
User avatar
tatsu
Supreme Commander
 
Posts: 1296
Joined: 02 Jul 2012, 21:26
Has liked: 1443 times
Been liked: 122 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 13 Dec 2018, 19:02

nice!
what is the version of Wine your have installed? i test Wine time to time and i had problems logging in in Windows Steam recently on some Wine versions.

i'm not a big fan of Ubuntu 18.10 btw because it's not an LTS version, but whatever if it works.
 
Ubuntu 18.xx Install Guide
The ultimate guide for running FAF on Ubuntu 18.04 LTS, 18.10
https://github.com/foodlfg/Supreme-Comm ... tall-guide
(installing the game, Wine 3.10, Steam, setting up the client, etc)
 
foodlfg
Avatar-of-War
 
Posts: 81
Joined: 17 Dec 2017, 19:28
Has liked: 10 times
Been liked: 31 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby tatsu » 13 Dec 2018, 19:33

foodlfg wrote:nice!
what is the version of Wine your have installed?
wine-4.0-rc1 (Staging)
foodlfg wrote:i'm not a big fan of Ubuntu 18.10 btw because it's not an LTS version, but whatever if it works.

I get that. the big issue with ubuntu is it's a very future-facing distro.

you're either moving with or you die out and distro-hop. the worst part of that is that it's not their LTS that are the most stable nor get the most perks all at once. at least in my experience.

and to a pretty ridiculous degree.

I hate this out of principle alone because I like the idea of accountability and being able to have an answer on support places (such as ask ubuntu) when I need one.

you can't do that when you're running a non LTS, at least people seem not to react as much.

but so far my experience with 18.10 has been :

- my hibernate is back (couldn't get wake up from suspend to work on ubuntu 18.04 wilst it worked on ubuntu 17.04, I would just get a black screen and have to reboot)
- controller input is back. one of my controllers (a mock xbox one by pdp) stopped being detected somewhere in 18.04.01 and in 18.10 that issue is gone so I can play controller games again (or at least better, a totally fake and garbage xbox 360 controller still worked but it was sub-performant).
- Wine fa works again when run from faf

so far as I can tell there's no bugs, everything works the same just with extra perks.

for me it's kinda hard to turn this down.

there's also a chance my guide works (with the wine install commands adapted to match, of course) for 18, 17 and we know it works for 16 but I'm too lazy to test it.

The thing is though that these guides are incredibly terminal-heavy, especially what with the whole forcing java10 gimmik.

I'm hoping something about running proton games from terminal surfaces and that Downlord, Brutus5000 and Geosearchef and the team find time to move the client to java 11.

with these two things I'd definitely put together a better linux build of the client that has the tools to find the correct path to FA itself and a preconfigured command line for running proton's FA.

No more need for a guide video then. it'd be as point-and click as it gets.
User avatar
tatsu
Supreme Commander
 
Posts: 1296
Joined: 02 Jul 2012, 21:26
Has liked: 1443 times
Been liked: 122 times
FAF User Name: tatsu

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest