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