guide for linux runner
See original GitHub issuehi!
the default parameter : "%s"
is the wrong one . I was told at one point what it was now I can’t remember.
I remember I had been told this by somebody on the Downlord-FAF team and it was something like "%w"
(this isn’t it though, I tried) and it worked amazingly well it just linked to the game.
but right now I can’t remember what the args were.
I’m using lutris because that works now on ubuntu 18 whereas wine doesn’t. it uses wine all the same but it’s own wineprefix & configuration that for some reason just works.
here’s my current setup :
Game Location :
/home/t/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Supreme Commander Forged Alliance
command line for executable :
"%s"
Execution directory :
"/opt/downlords-faf-client-0.9.0-beta-rc.3"
(which is apparently the default since I am running faf after cd
’ing to this directory)
the error I get is the following which doesn’t really add up :
i allowed the executing of the exe btw
java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/t/.faforever/bin/ForgedAlliance.exe" (in directory ""): error=2, No such file or directory
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:659)
at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:669)
at java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:1997)
at com.faforever.client.game.GameService.startGame(GameService.java:464)
at com.faforever.client.game.GameService.lambda$hostGame$9(GameService.java:228)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at com.faforever.client.remote.FafServerAccessorImpl.onGameLaunchInfo(FafServerAccessorImpl.java:505)
at com.faforever.client.remote.FafServerAccessorImpl.lambda$parseServerObject$1(FafServerAccessorImpl.java:447)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.faforever.client.remote.FafServerAccessorImpl.parseServerObject(FafServerAccessorImpl.java:447)
at com.faforever.client.remote.FafServerAccessorImpl.onServerMessage(FafServerAccessorImpl.java:416)
at com.faforever.client.remote.AbstractServerAccessor.blockingReadServer(AbstractServerAccessor.java:44)
at com.faforever.client.remote.FafServerAccessorImpl$1.call(FafServerAccessorImpl.java:260)
at com.faforever.client.remote.FafServerAccessorImpl$1.call(FafServerAccessorImpl.java:232)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javafx.concurrent.Service.lambda$null$493(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$494(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/t/.faforever/bin/ForgedAlliance.exe" (in directory ""): error=2, No such file or directory
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.github.nocatch.NoCatch.wrapException(NoCatch.java:61)
at com.github.nocatch.NoCatch.noCatch(NoCatch.java:104)
at com.github.nocatch.NoCatch.noCatch(NoCatch.java:82)
at com.faforever.client.game.GameService.lambda$startGame$34(GameService.java:472)
at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
... 24 more
Caused by: java.io.IOException: Cannot run program "/home/t/.faforever/bin/ForgedAlliance.exe" (in directory ""): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.faforever.client.fa.ForgedAllianceService.launch(ForgedAllianceService.java:124)
at com.faforever.client.fa.ForgedAllianceService.startGame(ForgedAllianceService.java:74)
at com.faforever.client.game.GameService.lambda$null$33(GameService.java:472)
at com.github.nocatch.NoCatch.noCatch(NoCatch.java:100)
... 27 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 31 more
I’ve tried setting the Execution directory : to /
but in that situation FAF has a progress bar that instantly goes away with nothing happening and no error message so I think it’s worse.
Issue Analytics
- State:
- Created 5 years ago
- Comments:29 (26 by maintainers)
Top GitHub Comments
@tatsujb added to the readme as well
I got faf running from tarball by successfully forcing an install of java 10.
however the maintainer of wine-gallium nine broke compatibility with ubuntu 18.04.01 with his update to 3.20 so I’m kinda stuck.