LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby nrader » 12 Nov 2017, 21:27

tatsu wrote:
nrader wrote:If so, my only option is to get 3.6, i guess?

yes, that it. :)

Done. FAF itself works, SupCom does too, but only if i run non-FAF version in the steam.
If i try to run SupCom through FAF, however, it fails:
Code: Select all
CD3DDeviceResources::DevResInitResources: Unable to load effect file /effects/cartographic.fx

Program : G:\nrader\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /replay /home/nrader/FAForever/cache/temp.scfareplay /init init_faf.lua /nobugreport /log /home/nrader/FAForever/logs/replay.log /replayid 7040656

Callstack:
    unavailable.

Last 100 lines of log...

info: mounting maps from: C:\users\nrader\Мои документы\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps\
info: checking C:\users\nrader\Мои документы\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps\
info: mounting maps from: G:\nrader\FAForever\bin\..\user\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps\
info: checking G:\nrader\FAForever\bin\..\user\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps\
info: checking C:\users\nrader\Мои документы\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods
info: checking C:\users\nrader\Мои документы\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps
info: checking G:\nrader\FAForever\bin\..\user\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods
info: checking G:\nrader\FAForever\bin\..\user\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps
info: checking G:\nrader\FAForever\bin\..\gamedata\*.nxt
info: checking G:\nrader\FAForever\bin\..\gamedata\*.nx2
info: checking /home/nrader/.wine/drive_c/Program Files (x86)/Steam/steamapps/common/Supreme Commander Forged Alliance\gamedata\*.scd
info: DISK: AddSearchPath: 'g:\nrader\faforever\user\my games\gas powered games\supreme commander forged alliance\maps\loki.v0003', mounted as '/maps/loki.v0003/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\user\my games\gas powered games\supreme commander forged alliance\maps\point of reach v4', mounted as '/maps/point of reach v4/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\user\my games\gas powered games\supreme commander forged alliance\maps\loki.v0003', mounted as '/maps/loki.v0003/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\user\my games\gas powered games\supreme commander forged alliance\maps\point of reach v4', mounted as '/maps/point of reach v4/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\effects.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\env.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\etc.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\loc.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\lua.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\meshes.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\modules.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\projectiles.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\schook.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\textures.nx2', mounted as '/'
info: DISK: AddSearchPath: 'g:\nrader\faforever\gamedata\units.nx2', mounted as '/'
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\ambience.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\editor.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\effects.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\env.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\loc_US.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\lua.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\meshes.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\mods.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\mohodata.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\moholua.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\objects.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\projectiles.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\props.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\schook.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\skins.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\textures.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance\gamedata\units.scd" does not match any files
warning: Search path element "G:\home\nrader\.wine\drive_c\Program Files (x86)\Steam\steamapps\common\Supreme Commander Forged Alliance" does not match any files
info: Hooked /lua/userInit.lua with /schook/lua/userInit.lua
warning: Error in file /lua/userInit.lua : Unable to find file /lua/globalInit.lua
         stack traceback:
            [C]: in function `doscript'
            ...:\nrader\faforever\gamedata\lua.nx2\lua\userinit.lua(18): in main chunk
warning: Error localizing "<LOC Engine0020>My Games": attempt to call a nil value
         stack traceback:
warning: Unable to create document path: C
warning: Unable to create document path: C
warning: Unable to create document path: C
warning: CUIKeyHandler::LoadKeyMappings unable to open default key names file.
warning: Error running '/lua/user/prefs.lua:GetOption': attempt to index a boolean value
         stack traceback:
warning: Error running '/lua/user/prefs.lua:GetOption': attempt to index a boolean value
         stack traceback:
warning: Error running '/lua/user/prefs.lua:GetOption': attempt to index a boolean value
         stack traceback:
warning: Error running '/lua/user/prefs.lua:GetOption': attempt to index a boolean value
         stack traceback:
warning: Error running '/lua/user/prefs.lua:GetOption': attempt to index a boolean value
         stack traceback:
warning: Error running '/lua/user/prefs.lua:GetOption': attempt to index a boolean value
         stack traceback:
warning: GAL Exception: file : c:\work\rts\main\code\src\libs\gpggal\DeviceD3D9.cpp(1229)
         error: invalid head count
warning: g:\nrader\faforever\gamedata\effects.nx2\effects\cartographic.fx: unable to compile effect: g:\nrader\faforever\gamedata\effects.nx2\effects\cartographic.fx reason: (190): warning X3083: Truncating 4-vector to size 1
         (204): error X3000: syntax error: unexpected token '('


What i'm doing wrong?
User avatar
nrader
Crusader
 
Posts: 16
Joined: 31 Oct 2017, 20:51
Has liked: 6 times
Been liked: 2 times
FAF User Name: nrader

Re: LINUX SUPPORT IS HERE

Postby Wesmania » 13 Nov 2017, 00:44

GenoC wrote:
That seemed to work, but now i get this error instead:

Traceback (most recent call last):
File "__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 15, in <module>
from config import Settings
File "/home/nicolai/Downloads/client-0.16.0/src/config/__init__.py", line 5, in <module>
import trueskill
ModuleNotFoundError: No module named 'trueskill'

Am i doing something wrong here or what?


Crud, that's my fault, I didn't remove the last bits of that module. I can guide you how to hotfix that - open the file src/config/__init__.py and remove 2 lines at the beginning that refer to trueskill ('import trueskill' and 'trueskil.setup(...)'). It should be enough.
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 » 13 Nov 2017, 14:48

nrader wrote:What i'm doing wrong?


this : "G:\nrader\FAForever\bin\"

and why aren't you doing this ? :
https://wiki.faforever.com/index.php?ti ... n.2FUbuntu
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 nrader » 13 Nov 2017, 15:58

tatsu wrote:
nrader wrote:What i'm doing wrong?


this : "G:\nrader\FAForever\bin\"

Oh, it requires / to be mounted in wine as one of disks. I overlooked this, sorry. It indeed works now after i tweaked my wine a bit.
Would be nice if this was mentioned in wiki guide page.
tatsu wrote:and why aren't you doing this ? :
https://wiki.faforever.com/index.php?ti ... n.2FUbuntu

:?: I did what this guide suggest, mostly. Except for apt-get part which is specific for deb-based distros.
User avatar
nrader
Crusader
 
Posts: 16
Joined: 31 Oct 2017, 20:51
Has liked: 6 times
Been liked: 2 times
FAF User Name: nrader

Re: LINUX SUPPORT IS HERE

Postby GenoC » 13 Nov 2017, 18:52

Wesmania wrote:
GenoC wrote:
That seemed to work, but now i get this error instead:

Traceback (most recent call last):
File "__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 15, in <module>
from config import Settings
File "/home/nicolai/Downloads/client-0.16.0/src/config/__init__.py", line 5, in <module>
import trueskill
ModuleNotFoundError: No module named 'trueskill'

Am i doing something wrong here or what?


Crud, that's my fault, I didn't remove the last bits of that module. I can guide you how to hotfix that - open the file src/config/__init__.py and remove 2 lines at the beginning that refer to trueskill ('import trueskill' and 'trueskil.setup(...)'). It should be enough.


That worked, thanks! :P
Now onto the next problem, i got a popup box telling me faf incountered and error, and i get a option to continue or exit the program. this is the error code:


Traceback (most recent call last):
File "__main__.py", line 124, in <module>
runFAF()
File "__main__.py", line 84, in runFAF
import client
File "/home/nicolai/Downloads/client-0.16.0/src/client/__init__.py", line 31, in <module>
from ._clientwindow import ClientWindow
File "/home/nicolai/Downloads/client-0.16.0/src/client/_clientwindow.py", line 55, in <module>
FormClass, BaseClass = util.THEME.loadUiType("client/client.ui")
File "/home/nicolai/Downloads/client-0.16.0/src/util/theme.py", line 273, in _nullcheck
ret = fn(self, filename, themed)
File "/home/nicolai/Downloads/client-0.16.0/src/util/theme.py", line 288, in loadUiType
return self._theme_callchain("loadUiType", filename, themed)
File "/home/nicolai/Downloads/client-0.16.0/src/util/theme.py", line 264, in _theme_callchain
item = getattr(self._theme, fn_name)(filename)
File "/home/nicolai/Downloads/client-0.16.0/src/util/theme.py", line 38, in _fun
return fun(self, filename)
File "/home/nicolai/Downloads/client-0.16.0/src/util/theme.py", line 75, in loadUiType
return uic.loadUiType(self._themepath(filename))
File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 201, in loadUiType
exec(code_string.getvalue(), ui_globals)
ModuleNotFoundError: No module named 'QtWebEngineWidgets'

Runtime info:

FAF Username: pre-login
FAF Version: 0.16.0
FAF Environment: production
FAF Directory: /home/nicolai/FAForever
FA Path: : Unknown
Home Directory: /home/nicolai/Documents
Platform: Linux-4.13.0-16-generic-x86_64-with-Ubuntu-17.10-artful
Uname: uname_result(system='Linux', node='nicolai-All-Series', release='4.13.0-16-generic', version='#19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017', machine='x86_64', processor='x86_64')
GenoC
 
Posts: 7
Joined: 11 Nov 2017, 18:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: GenoC

Re: LINUX SUPPORT IS HERE

Postby Wesmania » 13 Nov 2017, 20:02

Do you have python3-pyqt5.qtwebengine installed?
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 GenoC » 13 Nov 2017, 20:56

Wesmania wrote:Do you have python3-pyqt5.qtwebengine installed?

Yes :

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pyqt5.qtwebengine is already the newest version (5.7+dfsg-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
GenoC
 
Posts: 7
Joined: 11 Nov 2017, 18:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: GenoC

Re: LINUX SUPPORT IS HERE

Postby nrader » 13 Nov 2017, 22:29

GenoC wrote:python3-pyqt5.qtwebengine is already the newest version (5.7+dfsg-6).

Look posts above - there is a chance your 5.7 is not new enough.
Newest is 5.9, as far as i know. At least that's a version i have, and FAF works on it.
User avatar
nrader
Crusader
 
Posts: 16
Joined: 31 Oct 2017, 20:51
Has liked: 6 times
Been liked: 2 times
FAF User Name: nrader

Re: LINUX SUPPORT IS HERE

Postby GenoC » 14 Nov 2017, 17:44

nrader wrote:
GenoC wrote:python3-pyqt5.qtwebengine is already the newest version (5.7+dfsg-6).

Look posts above - there is a chance your 5.7 is not new enough.
Newest is 5.9, as far as i know. At least that's a version i have, and FAF works on it.


How do i upgrade it?
i tried running the: sudo apt-get upgrade python3-pyqt5.qtwebengine.
It installed something, but nothing changed.
GenoC
 
Posts: 7
Joined: 11 Nov 2017, 18:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: GenoC

Re: LINUX SUPPORT IS HERE

Postby tatsu » 14 Nov 2017, 19:40

GenoC wrote:
How do i upgrade it?
i tried running the: sudo apt-get upgrade python3-pyqt5.qtwebengine.
It installed something, but nothing changed.

you upgrade your os to the latest version
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