Error launching game in client

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Error launching game in client

Postby drasl » 22 Sep 2019, 11:02

When I click on the button about the beginning of the game the following error appears "The game did not terminate correctly and has still certain files open. Some files from the installed game could not be copied over to FAF but unless you recently modified game files in the installed version you probably do not care. We are still starting the game for you." Help solve please.
drasl
 
Posts: 1
Joined: 22 Sep 2019, 10:51
Has liked: 0 time
Been liked: 0 time
FAF User Name: drasl

Re: Error launching game in client

Postby ETFreeman » 23 Oct 2019, 02:34

Yea, i have the same.
It trying to download file "Forged alliance.exe" every time, but something goes wrong and this exception keep to appears
Re-installed FAF, didn't help
ETFreeman
 
Posts: 6
Joined: 23 Oct 2019, 02:28
Has liked: 0 time
Been liked: 1 time
FAF User Name: ETFreeman

Re: Error launching game in client

Postby PhilipJFry » 23 Oct 2019, 17:57

please read the red text above and post logs
cats>dogs
post logs
User avatar
PhilipJFry
Moderator
 
Posts: 2371
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 218 times
Been liked: 338 times
FAF User Name: PhilipJFry

Re: Error launching game in client

Postby ETFreeman » 24 Oct 2019, 18:48

logs
java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "C:\ProgramData\FAForever\bin\ForgedAlliance.exe" (in directory "C:\ProgramData\FAForever\bin"): CreateProcess error=2, Не удается найти указанный файл

and then:
java.util.concurrent.CompletionException: java.nio.file.AccessDeniedException: C:\ProgramData\FAForever\bin\download13836385690708884317.tmp -> C:\ProgramData\FAForever\bin\ForgedAlliance.exe

and above: The game did not terminate correctly and has still certain files open. Some files from the installed game could not be copied over to FAF but unless you recently modified game files in the installed version you probably do not care. We are still starting the game for you.

re-installed SupCom, re-installed FAF, even try to copy game files into this folder manually, doesn't help
i have no this file, FAF trying to download it every time, but it just doesn't appears
Attachments
logs.rar
This logs file from C:\ProgramData\FAForever
(6.36 KiB) Downloaded 12 times
ETFreeman
 
Posts: 6
Joined: 23 Oct 2019, 02:28
Has liked: 0 time
Been liked: 1 time
FAF User Name: ETFreeman

Re: Error launching game in client

Postby masterrbc » 26 Oct 2019, 07:10

Hey, I beleive I figured out how to fix this.

See below:

I believe I found the answer to this, I'm not entirely sure if this is correct, but from what I can understand is this.

ForgedAlliance.exe is missing from the bin folder in FAForever and after reinstalling FAF twice, the bin folder contains only two .lua files, init_coop.lua and init_faf.lua.

When FAF attempts to launch the game, it appears to search for ForgedAlliance.exe, can't find it and so downloads a copy of it into the FAF bin folder. For some reason, even with full permissions for all users, the program is not allowed to access this folder in order to change the temporary file it downloads to "ForgedAlliance.exe", which comes up with the original error message of not being allowed permission to do whatever it is trying to do.

The way around this was I snagged a copy of the temporary download and moved it out of the C:/ProgramData/FAForever/Bin to somewhere else that I had full access over, I changed its name to "ForgedAlliance.exe", changing it from a .temp file to an executable file, which was recognised as ForgedAlliance.exe and allows it to launch the game.

However, when trying to place this file back into the C:/ProgramData/FAForever/Bin, it won't let you due to permission reasons - To get around this:
[*] Copy the contents of the bin folder into a new folder where you moved the .temp file.
[*] Place the new ForgedAlliance.exe into this folder with the .lua files already in there.
[*] Delete the bin folder currently in C:/ProgramData/FAForever/Bin.
[*] Move your new bin folder into C:/ProgramData/FAForever
[*] Start your game and it should work.

It still gives me an error message about not being able to copy over some files, but it appears to work without an issue.
masterrbc
 
Posts: 3
Joined: 25 Oct 2019, 13:19
Has liked: 0 time
Been liked: 0 time
FAF User Name: masterrbc

Re: Error launching game in client

Postby ETFreeman » 31 Oct 2019, 16:22

Problem was in my antivirus
solved
ETFreeman
 
Posts: 6
Joined: 23 Oct 2019, 02:28
Has liked: 0 time
Been liked: 1 time
FAF User Name: ETFreeman


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest