LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby morgoth_bauglir » 29 Apr 2019, 17:19

Devs abandon python client?
morgoth_bauglir
Crusader
 
Posts: 20
Joined: 07 Jan 2018, 19:09
Has liked: 0 time
Been liked: 3 times
FAF User Name: kirovreporting

Re: LINUX SUPPORT IS HERE

Postby Podli » 29 Apr 2019, 17:23

Sorry for late reply - had no free time for faf.
the Command line executable format below that:

My command line has be just "%s"
I've changed it to /home/podli/faf/run "%s"
Now i have exception:
Code: Select all
java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/podli/faf/run" (in directory "/home/podli/.faforever/bin"): error=2, No such file or directory

Code from install scrips for /faf/run is
cp -f /tmp/proton_$USER/run ~/faf

But i haven't such files in the /tmp catalog.
Google says than steam should make launch script there when i launch FA, but he doesn't :(
Podli
 
Posts: 5
Joined: 24 Apr 2019, 15:32
Has liked: 0 time
Been liked: 0 time
FAF User Name: Podli

Re: LINUX SUPPORT IS HERE

Postby callcifer » 29 Apr 2019, 17:38

Podli wrote:Google says than steam should make launch script there when i launch FA, but he doesn't :(


Did you tell Steam to dump the commands? If you didn't, you need to edit FA's launch options and set it to
Code: Select all
PROTON_DUMP_DEBUG_COMMANDS=1 %command%
, then launch the game. The launch script will be in /tmp/proton_something.
callcifer
Crusader
 
Posts: 25
Joined: 31 Mar 2019, 20:34
Has liked: 2 times
Been liked: 13 times
FAF User Name: callcifer

Re: LINUX SUPPORT IS HERE

Postby callcifer » 29 Apr 2019, 17:39

morgoth_bauglir wrote:Devs abandon python client?

Basically, yes. The FAF server now requires all client to use the ICE connection adapter but nobody has fully implemented it for the Python client. There are some old experimental versions out there I think, but the future is definitely downlord's Java client.
callcifer
Crusader
 
Posts: 25
Joined: 31 Mar 2019, 20:34
Has liked: 2 times
Been liked: 13 times
FAF User Name: callcifer

Re: LINUX SUPPORT IS HERE

Postby Podli » 29 Apr 2019, 18:16

callcifer wrote:
Podli wrote:Google says than steam should make launch script there when i launch FA, but he doesn't :(


Did you tell Steam to dump the commands? If you didn't, you need to edit FA's launch options and set it to
Code: Select all
PROTON_DUMP_DEBUG_COMMANDS=1 %command%
, then launch the game. The launch script will be in /tmp/proton_something.

Probably missclicked somewhere - handmaded all steps of install script.
Now game is launching. I can start lobby and launch the game.
But all mods is unavailable - i'm getting messages from FAF.
And i cannot watch replays - getting errors from application:
Code: Select all
Failed to setup initial search path.

Program : Z:\home\podli\.faforever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log /home/podli/.faforever/logs/game.log /replay /home/podli/.faforever/cache/temp.scfareplay /replayid 9603197

Callstack:
    unavailable.

Last 100 lines of log...

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


But live replays is working...
Podli
 
Posts: 5
Joined: 24 Apr 2019, 15:32
Has liked: 0 time
Been liked: 0 time
FAF User Name: Podli

Re: LINUX SUPPORT IS HERE

Postby Podli » 29 Apr 2019, 18:30

No, somehow one live replay is started. But now i have the same error at live replays too.
Podli
 
Posts: 5
Joined: 24 Apr 2019, 15:32
Has liked: 0 time
Been liked: 0 time
FAF User Name: Podli

Re: LINUX SUPPORT IS HERE

Postby Wesmania » 29 Apr 2019, 18:43

callcifer wrote:
morgoth_bauglir wrote:Devs abandon python client?

Basically, yes. The FAF server now requires all client to use the ICE connection adapter but nobody has fully implemented it for the Python client. There are some old experimental versions out there I think, but the future is definitely downlord's Java client.

There was existing work on ICE in the python client, and someone finished it up and made a client release. If you launch the python client, it should prompt you to update, and maybe it'll even work :)
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: LINUX SUPPORT IS HERE

Postby tatsu » 30 Apr 2019, 00:30

Podli wrote:handmaded all steps of install script.
shame... why?
Podli wrote:Now game is launching. I can start lobby and launch the game.
But all mods is unavailable - i'm getting messages from FAF.
But live replays is working...

https://github.com/tatsujb/installFAFsc ... wn-issues-

run the part under "I'm just missing Maps and Mods symlinking!"
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 » 01 May 2019, 09:50

i've tested the new python client.
it doesn't work. it's not recommended to use on Linux.
use the java client instead. it's easier to support one client anyways and it has developers behind it.


Longer version:

i've taken a look at the Python client v0.18.3
- i rebooted my comp
- delete old client directories ~/.config/... and ~/ForgedAlliance...
- i got a `module error` at first so the client did not start. it was complaining about some "themes" but the real reason was not finding a python module on Ubuntu
- so i installed the module
`sudo apt-get install python3-distutils`
- now i get an error window too when i try to join a lobby:
`ICE ADAPTER ERROR
The ICE adapter did not start. Please refaf.`
- log is attached, the other logs are empty
`ERROR connectivity.IceAdapterProcess.IceAdapterProcess error starting the ice adapter process`

- a side issue, when i close the client, it closes the UI but something is still running in the background, no error appeares in the terminal
- if i use ctrl+c then i get this error in the terminal:
`^CError in sys.excepthook:
Traceback (most recent call last):
File "/home/aa/Games/fafclient/client-0.18.3/src/connectivity/JsonRpcTcpClient.py", line 33, in onSocketError
@QtCore.pyqtSlot(QAbstractSocket.SocketError)
KeyboardInterrupt

Original exception was:
Traceback (most recent call last):
File "/home/aa/Games/fafclient/client-0.18.3/src/connectivity/JsonRpcTcpClient.py", line 33, in onSocketError
@QtCore.pyqtSlot(QAbstractSocket.SocketError)
KeyboardInterrupt
`

From this, i assume that the new Python client is not really tested on Linux and it is not ready for use.
 
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 foodlfg » 09 May 2019, 21:35

so i have this issue recently where my mouse cursor flickers when i play the game.

back then i could prevent this with
- enabling a virtual desktop in wine
- and setting vertical sync on

nowadays this does nothing and i have no idea what is causing this.
different proton/wine versions didn't help.

anyone have any idea?
 
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