LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby Hex3Dnones » 21 Mar 2018, 19:54

I made those two scripts to install faf in a folder under linux.
install-faf.bash
Code: Select all
#/bin/bash

rm -R build

mkdir build

cd build

wget -qO- https://github.com/FAForever/client/archive/0.16.1.tar.gz | tar xvz

mv client-0.16.1 faf-client

echo "0.16.1" > faf-client/res/RELEASE-VERSION

wget https://github.com/FAForever/uid/releases/download/v4.0.5/faf-uid

chmod u+x faf-uid

mv faf-uid faf-client/lib/

python3 -m virtualenv -p python3 faf-venv

source "./faf-venv/bin/activate"

python3 -m pip install pyqt5==5.10.0 semantic_version

deactivate



start-faf.bash
Code: Select all
#!/bin/bash

cd build/

source "./faf-venv/bin/activate"

cd faf-client/

PATH=$PATH:./lib

python3 src/__main__.py

deactivate



They work for now, but the game won't start.
I get the message that a shader can not be created because of unknown reason.
Code: Select all
CD3DDeviceResources::DevResInitResources: Unable to load effect file /effects/mesh.fx

Program : Z:\home\none\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /mean 870.448 /deviation 115.101 /country DE /init init_coop.lua /numgames 62 /log /home/none/FAForever/logs/game.log /nobugreport /savereplay gpgnet://localhost/7660773/themyst.SCFAreplay /gpgnet 127.0.0.1:34613

Callstack:
    unavailable.

Last 100 lines of log...

debug: SND: Loaded WaveBank 'x1t_vo' at 197d6f8
info: IsStreamingWaveBank("/sounds/voice/us/x_fmv.xwb") => true
debug: SND: Loaded WaveBank 'x_fmv' at 197e898
info: IsStreamingWaveBank("/sounds/voice/us/xgg.xwb") => true
debug: SND: Loaded WaveBank 'xgg' at 197fa38
debug: SND: Loaded SoundBank 'a01_vo'
debug: SND: Loaded SoundBank 'a02_vo'
debug: SND: Loaded SoundBank 'a03_vo'
debug: SND: Loaded SoundBank 'a04_vo'
debug: SND: Loaded SoundBank 'a05_vo'
debug: SND: Loaded SoundBank 'a06_vo'
debug: SND: Loaded SoundBank 'briefings'
debug: SND: Loaded SoundBank 'c01_vo'
debug: SND: Loaded SoundBank 'c02_vo'
debug: SND: Loaded SoundBank 'c03_vo'
debug: SND: Loaded SoundBank 'c04_vo'
debug: SND: Loaded SoundBank 'c05_vo'
debug: SND: Loaded SoundBank 'c06_vo'
debug: SND: Loaded SoundBank 'e01_vo'
debug: SND: Loaded SoundBank 'e02_vo'
debug: SND: Loaded SoundBank 'e03_vo'
debug: SND: Loaded SoundBank 'e04_vo'
debug: SND: Loaded SoundBank 'e05_vo'
debug: SND: Loaded SoundBank 'e06_vo'
debug: SND: Loaded SoundBank 'prothyon16_vo'
debug: SND: Loaded SoundBank 'tcr_vo'
debug: SND: Loaded SoundBank 'x01_vo'
debug: SND: Loaded SoundBank 'x02_vo'
debug: SND: Loaded SoundBank 'x03_vo'
debug: SND: Loaded SoundBank 'x04_vo'
debug: SND: Loaded SoundBank 'x05_vo'
debug: SND: Loaded SoundBank 'x06_vo'
debug: SND: Loaded SoundBank 'x1t_vo'
debug: SND: Loaded SoundBank 'x_fmv'
debug: SND: Loaded SoundBank 'xgg'
debug: MEM: -796091502 bytes SND
info: MD5 of global settings: d2a23d6464d3fd77956e7648c43b5077
debug: MEM: -796091502 bytes SND
debug: Loading module '\000/lua/sim/buffdefinitions.lua\000'
debug: Loading module '\000/lua/sim/adjacencybuffs.lua\000'
debug: Loading module '\000/lua/sim/adjacencybufffunctions.lua\000'
info: Hooked /lua/sim/adjacencybufffunctions.lua with /schook/lua/sim/adjacencybufffunctions.lua
debug: Loading module '\000/lua/sim/cheatbuffs.lua\000'
debug: Loading module '\000/lua/user/prefs.lua\000'
debug: Loading module '\000/lua/options/optionslogic.lua\000'
debug: Loading module '\000/lua/ui/uiutil.lua\000'
info: Hooked /lua/ui/uiutil.lua with /mods/coop/hook/lua/ui/uiutil.lua
debug: Loading module '\000/lua/lazyvar.lua\000'
debug: Loading module '\000/lua/maui/layouthelpers.lua\000'
debug: Loading module '\000/lua/maui/group.lua\000'
debug: Loading module '\000/lua/maui/control.lua\000'
debug: Loading module '\000/lua/maui/text.lua\000'
debug: Loading module '\000/lua/maui/multilinetext.lua\000'
debug: Loading module '\000/lua/maui/button.lua\000'
debug: Loading module '\000/lua/maui/bitmap.lua\000'
debug: Loading module '\000/lua/maui/dragger.lua\000'
debug: Loading module '\000/lua/maui/edit.lua\000'
debug: Loading module '\000/lua/utf.lua\000'
debug: Loading module '\000/lua/ui/controls/checkbox.lua\000'
debug: Loading module '\000/lua/maui/radiobuttons.lua\000'
debug: Loading module '\000/lua/maui/checkbox.lua\000'
debug: Loading module '\000/lua/maui/border.lua\000'
debug: Loading module '\000/lua/maui/scrollbar.lua\000'
debug: Loading module '\000/lua/maui/cursor.lua\000'
debug: Loading module '\000/lua/ui/controls/border.lua\000'
debug: Loading module '\000/lua/ui/controls/ninepatch.lua\000'
debug: Loading module '\000/lua/maui/itemlist.lua\000'
debug: Loading module '\000/lua/skins/layouts.lua\000'
debug: Loading module '\000/lua/ui/controls/popups/popup.lua\000'
debug: Loading module '\000/lua/ui/dialogs/eschandler.lua\000'
debug: Loading module '\000/lua/system/utils.lua\000'
debug: Loading module '\000/lua/ui/controls/popups/inputdialog.lua\000'
debug: Loading module '\000/lua/skins/skins.lua\000'
info: /savereplay
info: REPLAY ID: 7660773
info: adding font file /fonts/arial.ttf
info: adding font file /fonts/arialbd.ttf
info: adding font file /fonts/arialbi.ttf
info: adding font file /fonts/ariali.ttf
info: adding font file /fonts/arialn.ttf
info: adding font file /fonts/arialnb.ttf
info: adding font file /fonts/arialnbi.ttf
info: adding font file /fonts/arialni.ttf
info: adding font file /fonts/ariblk.ttf
info: adding font file /fonts/arlrdbd.ttf
info: adding font file /fonts/butterbe.ttf
info: adding font file /fonts/vdub.ttf
info: adding font file /fonts/wintermu.ttf
info: adding font file /fonts/zeroes_3.ttf
debug: Loading module '\000/lua/keymap/keynames.lua\000'
debug: Loading module '\000/lua/keymap/keymapper.lua\000'
debug: Loading module '\000/lua/keymap/keydescriptions.lua\000'
debug: Loading module '\000/lua/keymap/defaultkeymap.lua\000'
debug: Loading module '\000/lua/keymap/keyactions.lua\000'
debug: Loading module '\000/lua/keymap/debugkeyactions.lua\000'
debug: Loading module '\000/lua/options/options.lua\000'
debug: Loading module '\000/lua/usermusic.lua\000'
info: Compiled shader: /effects/cartographic.fx
info: Compiled shader: /effects/frame.fx
warning: z:\home\none\faforever\gamedata\effects.nx2\effects\mesh.fx: unable to create effect: z:\home\none\faforever\gamedata\effects.nx2\effects\mesh.fx reason: unknown error
Hex3Dnones
Crusader
 
Posts: 15
Joined: 14 Jan 2018, 20:43
Has liked: 0 time
Been liked: 6 times

Re: LINUX SUPPORT IS HERE

Postby Hex3Dnones » 21 Mar 2018, 23:35

It seems Ubuntu only use packages that are broken or too old for use with FAF.
I make myself an installer when i get FAF and SubCom working and put a link here.

The Default Wine package is unusable and with PlayOnLinux it is a lt of downloading and clicking.
I would like to automate the installation of SubCom and FAF without any PopUp's.

My mistake here was using the Ubuntu package of wine.
The one used by PlayOnLinux with the Steam Package works but i can not launch the game from FAF.

If somebody knows where to find SubCom Logs or has any other information please tell me.
Hex3Dnones
Crusader
 
Posts: 15
Joined: 14 Jan 2018, 20:43
Has liked: 0 time
Been liked: 6 times

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 24 Mar 2018, 13:12

Hi, people!

Does anybody know anything about this ICE adapter, client?
Currently being tested...
viewtopic.php?f=2&t=16027&p=162001#p162001


PhilipJFry wrote:General information:

As some of you may know the FAF devs are working on a solution to the bane that is the current net code.
This solution is called ICE-Adapter. It allows users to connect to each other without having to map a port for the game and even allows users to reconnect after a timeout.

The version linked in the OP is fairly close to release so we need a lot of people to test it so we can be sure that it works properly before rolling it out and thus forcing it upon all of you.

Should you encounter any issues then feel free to report them and post logs from the session (and try to get logs from other users in the same session)
log files from the ice beta client can be found in C:\ProgramData\FAForeverDevelop\logs and attached to posts in the forum via the upload attachment button.

link to the feedback google doc: https://docs.google.com/forms/d/e/1FAIp ... sp=sf_link
 
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 Wesmania » 24 Mar 2018, 14:13

If you want to help test it on linux, you'll need to use a specific git branch. You need to launch from this branch:
https://github.com/Wesmania/client/tree ... apter-test
And have faf-ice-adapter from here:
https://github.com/FAForever/ice-adapter/releases
in your PATH.
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 foodlfg » 24 Mar 2018, 16:37

Wesmania wrote:If you want to help test it on linux, you'll need to use a specific git branch. You need to launch from this branch:
https://github.com/Wesmania/client/tree ... apter-test
And have faf-ice-adapter from here:
https://github.com/FAForever/ice-adapter/releases
in your PATH.


Thanks!
I've tried but I got auto-banned... D: ><
I didn't followed the steps on github because it gave me all sorts of errors during setting up the 0.16.0 client in the past on Ubuntu 16.04 LTS.
I have an environment now that can run the client version 0.16.0 so I figured I would't follow it...

First steps:
I've downloaded and copied faf-ice-adapter version 6.2.2 to
/usr/local/bin
https://github.com/FAForever/ice-adapter/releases
Then I've made it executable: sudo chmod +x faf-ice-adapter

Problem1:
ValueError: Cannot find the version number! Please provide RELEASE-VERSION file or run from git.

Solution:
I've created a file here:
/home/XX/Games/fafclient/fafclientdevelop/res/RELEASE-VERSION
I didn't know what to write here, followed the wiki and I just yolo-ed it lol:
https://wiki.faforever.com/index.php?ti ... _FAF_Linux

File Content (most likely it's wrong lol):
0.16.0

Problem2:
ImportError: No module named 'jsonschema'

Solution:
pip3 install jsonschema

Problem3:
The client starts but it gives me this message in a window:
Error from Server: Fraudent login attempt detected. As ... your account has been banned permanently...

Second attempt:
It says I'm banned. wtf! ><

Where can i find a moderator for the test server?? (faf user name: foodlfg)
It's the beta client you linked, it says at the beginning in a window that it connects to the test server...
The normal client 0.16.0 works ok for me. lol

EDITED
the first steps
 
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 Wesmania » 24 Mar 2018, 19:55

Did you also download the faf-uid executable?
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 foodlfg » 24 Mar 2018, 20:11

I've already had it in /usr/local/bin/
So I didn't do anything with it. I made sure It's the newest tho by downloading it from github and diff it with mine. There was no difference between them.
 
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 » 30 Mar 2018, 11:38

ah, I just lost a nice post here thanks to this ancient forum system...
I won't type in it again, the short version:

- I'm out of testing the beta client, I guess...

- The client version 0.16.1 works under Ubuntu 16.04 LTS.
- Follow the steps of the wiki and do all sorts of things on top of that. lol magic. And this: viewtopic.php?p=162019#p162019
- Ubuntu 16.04 LTS is irrelevant.
- New Ubuntu 18.04 LTS is coming, I will document the installation steps of the client in June or later.

CTRL + K
 
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 kozy » 30 Mar 2018, 13:01

Wesmania wrote:If you want to help test it on linux, you'll need to use a specific git branch. You need to launch from this branch:
https://github.com/Wesmania/client/tree ... apter-test
And have faf-ice-adapter from here:
https://github.com/FAForever/ice-adapter/releases
in your PATH.

I just played a nice game with this, nothing to report : no lag, etc ..
I'll make a more thorough test next monday with some friends.
kozy
Crusader
 
Posts: 32
Joined: 19 Nov 2016, 04:33
Has liked: 1 time
Been liked: 11 times
FAF User Name: kozy

Re: LINUX SUPPORT IS HERE

Postby tatsu » 01 Apr 2018, 01:37

foodlfg wrote:I will document the installation steps [for 18.04] of the client in June or later.

yes please!

For the love of god this is needed. 16.04 IS antiquated and the current guide doesn't work for 18.04

will be waiting avidly for this.

(about the antiquated faf forum tech : yes but there's no real other way. I don't konw of another forum tech that's free other than phpBB, xenforo (paying solution) is the best or would be if it wasn't for whatever https://forum.level1techs.com/ 's using which I suspect is an in-house development effort.)
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

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron