FAForever / downlords-faf-client

Official client for Forged Alliance Forever
https://faforever.com
MIT License
196 stars 121 forks source link

FAF Client does not start on Windows 10 #2823

Closed Kekuolis closed 2 years ago

Kekuolis commented 2 years ago

Describe the bug Ran on Windows 10 64-bit

I just installed the FAF client from your website and installed it and ran it. It crashes after a second of loading and when the text "v2022.09.0" appears it crashes giving this error:

java.lang.UnsatisfiedLinkError: 'int org.bridj.Platform.sizeOf_ptrdiff_t()'
    at org.bridj.Platform.sizeOf_ptrdiff_t(Native Method)
    at org.bridj.Platform.<clinit>(Platform.java:232)
    at com.faforever.client.logging.LoggingService.<clinit>(LoggingService.java:42)
    at com.faforever.client.FafClientApplication.applicationMain(FafClientApplication.java:69)
    at com.faforever.client.Main.main(Main.java:13)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
    at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
    at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)

To Reproduce A fresh installation of the FAF client

Expected behaviour The client starts Screenshots image image

Additional context Could it be that I am missing some crucial install of java?

This bug report will be read by people that have not experienced the bug themselves - this report is all they have to investigate. The more precise your report, the easier it becomes for us to help you.

Garanas commented 2 years ago

Transferred this issue to the correct repository.

magge-faf commented 2 years ago

Wasn't this related to the windows' username that had unusual chars in it, or did I switch something up?

Kekuolis commented 1 year ago

Yes this issue is related to the username, i had a hard time finding info on this so if anyone else comes across this you need to create a new user on the computer that does not use Cyrillic letters. That fixed it for me