Unable to lauch a game in linux with dfc unix 1.2.1
-
I am running dfc_unix 1.2.1; in Manjaro and when i try to launch a game (custom, coop), i get an error and the game crashes to desktop. the 'last 100 lines of code' error box pops up and this is what it says:
(and yes; i redacted my username. it doesn't contain any spaces,numbers,symbols,etc)
CD3DDeviceResources::DevResInitResources: Unable to load effect file /effects/cartographic.fx Program : Z:\home\fakeUsername\.faforever\bin\ForgedAlliance.exe Cmd line arguments : /init init.lua /nobugreport /log /home/fakeUsername/.faforever/logs/game_12860802.log /gpgnet 127.0.0.1:26063 /mean 1500.0 /deviation 500.0 /savereplay gpgnet://127.0.0.1:43709/12860802/yarbelk.SCFAreplay /country LU /numgames 0 Callstack: unavailable. Last 100 lines of log... info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\objects.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\projectiles.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\props.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\schook.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\skins.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\textures.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance\gamedata\units.scd', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.steam\steam\steamapps\common\supreme commander forged alliance', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\movies', mounted as '/movies/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\a01_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\a02_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\a03_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\a04_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\a05_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\a06_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\c01_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\c02_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\c03_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\c04_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\c05_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\c06_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\e01_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\e02_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\e03_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\e04_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\e05_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\e06_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\prothyon16_vo.nx2', mounted as '/' info: DISK: AddSearchPath: 'z:\home\fakeUsername\.faforever\gamedata\tcr_vo.nx2', mounted as '/' warning: Can't open lua file "Z:\home\fakeUsername\.faforever\bin\..\Installed.Prefs" warning: unable to load Installed.Prefs; using empty initial prefs info: Hooked /lua/userInit.lua with /schook/lua/userInit.lua info: Hooked /lua/globalInit.lua with /schook/lua/globalInit.lua info: Hooked /loc/us/strings_db.lua with /mods/coop/hook/loc/us/strings_db.lua info: Hooked /loc/us/strings_db.lua with /mods/coop/hook/loc/us/strings_db.lua debug: Loading module '\000/lua/mods.lua\000' debug: Loading module '\000/lua/system/setutils.lua\000' warning: SND: Error retrieving XACT COM interface. Unknown XACT Error warning: SND: Error retrieving XACT COM interface. Unknown XACT Error warning: SND: Error retrieving XACT COM interface. Unknown XACT Error 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: 43709 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' warning: z:\home\fakeUsername\.faforever\gamedata\effects.nx2\effects\cartographic.fx: unable to compile effect: z:\home\fakeUsername\.faforever\gamedata\effects.nx2\effects\cartographic.fx reason: unknown error
-
and I am an idiot/blind.
i missed the following section in the very well written instructions ( https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux#Java_Downlord.27s_Client )
Copy the Steam RUN script
If you ran the game from Steam you should have a file called "run" in /tmp/proton_your_linux_username. The tmp directory is only temporary so copy this file to somewhere nice.
cp /tmp/proton_your_linux_username/run ~/Games/downlords-faf-client-1.2.0/
If you cannot find the run file, please check your Steam settings again. #Install the game, set launch options
Note: This file contains the environment variables for Proton that are necessary to launch the game in a Proton/Wine environment. It also contains the version of Proton that you have selected previously in Steam. The FAF client will use this file to launch the game after we set it.