LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, JJ173

Re: LINUX SUPPORT IS HERE

Postby Wesmania » 14 Mar 2018, 08:59

What do you mean by 'In the dark'? I guess I can add that you have to install 'python-jsonschema' to the wiki, but I can't help random Ubuntu versions not having it when Canonical's pages say they do. Other than that, AFAIK the client didn't break on Linux - it's working fine on my Gentoo where I develop it.

I simply don't have Ubuntu installed anywhere, so unfortunately I can't really do the packaging / troubleshooting part myself :(
FAF python client dev. You client misbehaves? Pester me.
Wesmania
Priest
 
Posts: 326
Joined: 19 Nov 2014, 19:17
Has liked: 1 time
Been liked: 54 times
FAF User Name: MazorNoob

Re: LINUX SUPPORT IS HERE

Postby kozy » 14 Mar 2018, 09:49

Wesmania wrote:What do you mean by 'In the dark'? I guess I can add that you have to install 'python-jsonschema' to the wiki, but I can't help random Ubuntu versions not having it when Canonical's pages say they do. Other than that, AFAIK the client didn't break on Linux - it's working fine on my Gentoo where I develop it.

I simply don't have Ubuntu installed anywhere, so unfortunately I can't really do the packaging / troubleshooting part myself :(

I'll shoot up a clean ubuntu 17.10 VM and see what's what. Maybe I fucked up something on my workstation.
kozy
Crusader
 
Posts: 30
Joined: 19 Nov 2016, 04:33
Has liked: 1 time
Been liked: 11 times
FAF User Name: kozy

Re: LINUX SUPPORT IS HERE

Postby sandwormsurfer » 15 Mar 2018, 12:20

I created an AppImage on my machine. Please test this on your distro and report whether this runs.
The download is here: https://github.com/muellni/client/relea ... 4.AppImage
sandwormsurfer
Crusader
 
Posts: 24
Joined: 06 Nov 2016, 00:18
Has liked: 0 time
Been liked: 10 times
FAF User Name: sandwormsurfer

Re: LINUX SUPPORT IS HERE

Postby sandwormsurfer » 15 Mar 2018, 12:26

Here is the script I used: https://gist.github.com/20afe7ef8353fe2 ... 23cb125e06
If it succeeds, you should be able to create this package by running
Code: Select all
appimagetool fafclient-x86_64.AppImage
.
sandwormsurfer
Crusader
 
Posts: 24
Joined: 06 Nov 2016, 00:18
Has liked: 0 time
Been liked: 10 times
FAF User Name: sandwormsurfer

Re: LINUX SUPPORT IS HERE

Postby kozy » 17 Mar 2018, 06:57

sandwormsurfer wrote:I created an AppImage on my machine. Please test this on your distro and report whether this runs.
The download is here: https://github.com/muellni/client/relea ... 4.AppImage

Are we supposed to do anything more than chmod 755 the AppImage ?
Code: Select all
./FAForever_AppImage-x86_64.AppImage
/tmp/.mount_FAForeVk8LUA/fafclient.AppDir/conda/bin/activate: line 66: /home/sws/scratch/fafappimagetest/fafclient-x86_64.AppImage/fafclient.AppDir/conda/etc/profile.d/conda.sh: No such file or directory
Traceback (most recent call last):
  File "/tmp/.mount_FAForeVk8LUA/fafclient.AppDir/conda/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/tmp/.mount_FAForeVk8LUA/fafclient.AppDir/conda/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/.mount_FAForeVk8LUA/fafclient.AppDir/client/src/__main__.py", line 48, in <module>
    from PyQt5 import QtWidgets, uic
ModuleNotFoundError: No module named 'PyQt5'
Last edited by kozy on 18 Mar 2018, 07:48, edited 1 time in total.
kozy
Crusader
 
Posts: 30
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 » 17 Mar 2018, 16:25

i get the same as kozy for the appimage.

trying the script.

Update:

after running the script :

Code: Select all
tatsu@tsuu:~/Downloads/fafclient-x86_64.AppImage/fafclient.AppDir$ python ./client/src
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/tatsu/Downloads/fafclient-x86_64.AppImage/fafclient.AppDir/client/src/__main__.py", line 55, in <module>
    from PyQt5 import QtWebEngineWidgets
ImportError: cannot import name QtWebEngineWidgets
User avatar
tatsu
Supreme Commander
 
Posts: 1143
Joined: 02 Jul 2012, 21:26
Has liked: 1150 times
Been liked: 113 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby Hex3Dnones » 17 Mar 2018, 23:49

I got FAF working by using Python3 virtualenv with pyqt5.qt5webenginewidgets version 5.10.0.
Newer versions seems to have a bug.

My VM wont start for now but i can make a script for installation if wanted.



For now i struggle with my VM and a missing shader for SubCom.
Code: Select all
CD3DDeviceResources::DevResInitResources: Unable to load effect file /effects/mesh.fx

Program : C:\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\bin\SupremeCommander.exe
Cmd line arguments :

Callstack:
    unavailable.

Last 100 lines of log...

debug: SND: Loaded SoundBank 'xal_weapon'
debug: SND: Loaded SoundBank 'xas'
debug: SND: Loaded SoundBank 'xas_weapon'
debug: SND: Loaded SoundBank 'xca'
debug: SND: Loaded SoundBank 'xcb'
debug: SND: Loaded SoundBank 'xcl'
debug: SND: Loaded SoundBank 'xcs'
debug: SND: Loaded SoundBank 'xea'
debug: SND: Loaded SoundBank 'xea_weapon'
debug: SND: Loaded SoundBank 'xeb'
debug: SND: Loaded SoundBank 'xel'
debug: SND: Loaded SoundBank 'xel_weapons'
debug: SND: Loaded SoundBank 'xes'
debug: SND: Loaded SoundBank 'xes_destroy'
debug: SND: Loaded SoundBank 'xes_weapons'
debug: SND: Loaded SoundBank 'xra'
debug: SND: Loaded SoundBank 'xra_weapon'
debug: SND: Loaded SoundBank 'xrb'
debug: SND: Loaded SoundBank 'xrl'
debug: SND: Loaded SoundBank 'xrl_destroy'
debug: SND: Loaded SoundBank 'xrl_stream'
debug: SND: Loaded SoundBank 'xrl_weapon'
debug: SND: Loaded SoundBank 'xrs'
debug: SND: Loaded SoundBank 'xrs_weapon'
debug: SND: Loaded SoundBank 'xsa'
debug: SND: Loaded SoundBank 'xsa_destroy'
debug: SND: Loaded SoundBank 'xsa_weapon'
debug: SND: Loaded SoundBank 'xsb'
debug: SND: Loaded SoundBank 'xsb_weapon'
debug: SND: Loaded SoundBank 'xsl'
debug: SND: Loaded SoundBank 'xsl_destroy'
debug: SND: Loaded SoundBank 'xsl_weapon'
debug: SND: Loaded SoundBank 'xss'
debug: SND: Loaded SoundBank 'xss_destroy'
debug: SND: Loaded SoundBank 'xss_weapon'
debug: MEM: -22278064 bytes SND
info: MD5 of global settings: d2a23d6464d3fd77956e7648c43b5077
info: IsStreamingWaveBank("/sounds/voice/de/briefings.xwb") => true
debug: SND: Loaded WaveBank 'briefings' at 1b43068
info: IsStreamingWaveBank("/sounds/voice/de/seraphim_language.xwb") => true
debug: SND: Loaded WaveBank 'seraphim_language' at 1b44208
info: IsStreamingWaveBank("/sounds/voice/de/x01_vo.xwb") => true
debug: SND: Loaded WaveBank 'x01_vo' at 1b453a8
info: IsStreamingWaveBank("/sounds/voice/de/x02_vo.xwb") => true
debug: SND: Loaded WaveBank 'x02_vo' at 1b46548
info: IsStreamingWaveBank("/sounds/voice/de/x03_vo.xwb") => true
debug: SND: Loaded WaveBank 'x03_vo' at 1b476e8
info: IsStreamingWaveBank("/sounds/voice/de/x04_vo.xwb") => true
debug: SND: Loaded WaveBank 'x04_vo' at 1b48888
info: IsStreamingWaveBank("/sounds/voice/de/x05_vo.xwb") => true
debug: SND: Loaded WaveBank 'x05_vo' at 1b49a28
info: IsStreamingWaveBank("/sounds/voice/de/x06_vo.xwb") => true
debug: SND: Loaded WaveBank 'x06_vo' at 1b4abc8
info: IsStreamingWaveBank("/sounds/voice/de/x1t_vo.xwb") => true
debug: SND: Loaded WaveBank 'x1t_vo' at 1b4bd68
info: IsStreamingWaveBank("/sounds/voice/de/x_fmv.xwb") => true
debug: SND: Loaded WaveBank 'x_fmv' at 1b4cf08
info: IsStreamingWaveBank("/sounds/voice/de/xgg.xwb") => true
debug: SND: Loaded WaveBank 'xgg' at 1b4e0a8
debug: SND: Loaded SoundBank 'briefings'
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'
debug: Loading module '\000/lua/sim/cheatbuffs.lua\000'
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/user/prefs.lua\000'
debug: Loading module '\000/lua/options/optionslogic.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/options/options.lua\000'
info: Compiled shader: /effects/cartographic.fx
info: Compiled shader: /effects/frame.fx
warning: c:\program files (x86)\steam\steamapps\common\supreme commander forged alliance\gamedata\effects.scd\effects\mesh.fx: unable to create effect: c:\program files (x86)\steam\steamapps\common\supreme commander forged alliance\gamedata\effects.scd\effects\mesh.fx reason: unknown error
Hex3Dnones
Crusader
 
Posts: 11
Joined: 14 Jan 2018, 20:43
Has liked: 0 time
Been liked: 4 times

Re: LINUX SUPPORT IS HERE

Postby kozy » 18 Mar 2018, 08:55

Hex3Dnones wrote:I got FAF working by using Python3 virtualenv with pyqt5.qt5webenginewidgets version 5.10.0.
Newer versions seems to have a bug.

Thank you !
@wesmania, I think the requirements.txt should be PyQt5=5.10.0
I can confirm it works !
kozy
Crusader
 
Posts: 30
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 » 18 Mar 2018, 12:07

yeah but it was way better when we didn't have to install trhough virtualenv. who's packages can be very iffy as well with newer ubuntu versions. I'm gonna try with the above suggestion. So far haven't gotten FAF to work on 18.04
User avatar
tatsu
Supreme Commander
 
Posts: 1143
Joined: 02 Jul 2012, 21:26
Has liked: 1150 times
Been liked: 113 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby kozy » 18 Mar 2018, 12:46

tatsu wrote:yeah but it was way better when we didn't have to install trhough virtualenv. who's packages can be very iffy as well with newer ubuntu versions. I'm gonna try with the above suggestion. So far haven't gotten FAF to work on 18.04

I know :/
Probably the AppImage idea could be a solution for all of us though.
kozy
Crusader
 
Posts: 30
Joined: 19 Nov 2016, 04:33
Has liked: 1 time
Been liked: 11 times
FAF User Name: kozy

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest