one more thing, do you factory attack move works through whole game? for me it stops work after some time, I dont know if it is random or not and I dont know when exactly
anyone have this problem or it is just me?
Forged Alliance Forever Forums
Moderators: FtXCommando, Ze Dogfather
ZeRen wrote:foodlfg wrote:what is your linux distro exactly?
mint 19.2
kernel- Linux 4.15.0-20-generic
PROTON_GALLIUM_NINE_MODULEPATH="/usr/lib/i386-linux-gnu/d3d/d3dadapter9.so.1:/usr/lib/x86_64-linux-gnu/d3d/d3dadapter9.so.1"
foodlfg wrote:You can use D9VK too.This way you don't have to use the Nouveau driver either.
https://wiki.faforever.com/index.php?ti ... _game_time
artur453 wrote:sorry,for not answering
Here my client.prefsSpoiler: show
@foodlfg idk where steam-generated executable file
nothing found in ~/faf/run - folder like this not exist
"executableDecorator": "\"%s\""
maybe it`s a problem,but idk what to do
Sorry,if solution contained in guide https://github.com/tatsujb/installFAFscript and i missed it
#!/usr/bin/python3
import os
import time
import signal
import sys
import itertools
USERHOME = os.path.expanduser('~')
INITFILES = []
FILE_PATHS = [
USERHOME + '/.faforever/bin/init.lua',
USERHOME +'/.faforever/bin/SupComDataPath.lua'
]
CAN_LOOP = True
SPINNER = itertools.cycle(['|','/','-','\\']) #Just for visuals
def main():
global CAN_LOOP
global SPINNER
print("==== Starting FAF File Watcher ====\n")
print(" Ctrl+C to exit \n")
for path in FILE_PATHS:
INITFILES.append(InitFile(path))
while CAN_LOOP:
writeSpinner()
for initFile in INITFILES:
initFile.replaceIfModified()
time.sleep(0.5)
print("\n==== Exiting FAF File Watcher ====")
sys.exit(0)
def writeSpinner():
sys.stdout.write(next(SPINNER))
sys.stdout.flush()
sys.stdout.write('\b')
def signal_handler(sig, frame):
global CAN_LOOP
print('\nSIGINT Recieved, Cleanly Exiting')
CAN_LOOP = False
class InitFile():
replace = "dofile('init_faf.lua')"
replaceWith = "dofile(InitFileDir .. '\\\\init_faf.lua')"
path = ''
lastReplaceTime = -1 #Causes it to replace the text first pass
def __init__(self, path):
self.path = path
def modifiedAfterReplace(self):
modified = os.path.getmtime(self.path) > self.lastReplaceTime
return modified
def replaceIfModified(self):
if self.modifiedAfterReplace():
print(f"File modified at {os.path.getmtime(self.path)}, reading and replacing")
self.readAndReplace()
def readAndReplace(self):
filedata = ''
print('Reading: ' + self.path)
with open(self.path, 'r') as file :
filedata = file.read()
filedata = filedata.replace(self.replace, self.replaceWith)
print('Writing: ' + self.path)
with open(self.path, 'w') as file:
file.write(filedata)
self.lastReplaceTime = os.path.getmtime(self.path)
print(f"Read and Replace Complete At: {self.lastReplaceTime}")
signal.signal(signal.SIGINT, signal_handler)
main()
./FixFAFPaths.py
/home/t/faf/run %s
tatsu wrote:人(_ _*)
Users browsing this forum: No registered users and 1 guest