dcs_on_linux icon indicating copy to clipboard operation
dcs_on_linux copied to clipboard

Game crashes on start

Open ACH1980 opened this issue 3 years ago • 9 comments

Hey, I think I need some advice with my setup. It crashes at startup all the time. Also I couldn't find Proton v6.3.8, only v6.3-8, I guess this is what you meant, but as I'm not sure I thought it would be worth mentioning this.

The log can be found here, I'm somehow unable to find the problem as there are many errors which seam to haven't caused the crash, but then there are some "INFO" messages which seam to be the issue, but I'm wondering that they only mentioned as "INFO", as I would expect Errors that lead to a crash at least producing a "WARNING" or even an "ERROR". dcs.log

ACH1980 avatar Mar 29 '22 19:03 ACH1980

DCS debug logs are not the most logical things ever. Generally on a crash, it will dump its state which looks like this

2022-03-29 07:54:30.318 INFO    EDCORE: # -------------- 20220329-075430 --------------
2022-03-29 07:54:30.318 INFO    EDCORE: DCS/2.7.10.19473 (x86_64; Windows NT 10.0.18363)
2022-03-29 07:54:30.318 INFO    EDCORE: Z:\home\ach1980\.local\share\Steam\steamapps\common\DCSWorld\bin\uiBaseRenderer.dll
2022-03-29 07:54:30.318 INFO    EDCORE: # C0000005 ACCESS_VIOLATION at 019031F6 00:00000000
2022-03-29 07:54:30.344 INFO    EDCORE: SymInit: Symbol-SearchPath: '.;Z:\home\ach1980\.local\share\Steam\steamapps\common\DCSWorld;Z:\home\ach1980\.local\share\Steam\steamapps\common\DCSWorld\bin;C:\windows;C:\windows\system32;SRV*c:\websymbols*https://msdl.microsoft.com/download/symbols;', symOptions: 528, UserName: 'steamuser'
2022-03-29 07:54:30.344 INFO    EDCORE: OS-Version: 10.0.18363 () 0x0-0x1

And before that is the actual error

2022-03-29 07:54:30.316 INFO    UIBASERENDERER: Cannot load font [C:\windows\Fonts\arial.ttf]!
2022-03-29 07:54:30.316 INFO    UIBASERENDERER: Cannot create font [C:\windows\Fonts\arial.ttf] size 16!
2022-03-29 07:54:30.316 INFO    EDCORE: try to write dump information

It fails to load some fonts, did you do the font replacement mentioned in the guide? You could also try proton 7 which might not need that fix

Also: it's probably better to ask these kinds of questions in the proton github thread as more people look there. This is mostly meant as a common place to keep a guide :)

TheZoq2 avatar Mar 30 '22 11:03 TheZoq2

I haven't seen this. Tried it now, but it doesn't seem to work:

image

ACH1980 avatar Apr 06 '22 21:04 ACH1980

Hey @TheZoq2 did you see my answer?

ACH1980 avatar Apr 14 '22 15:04 ACH1980

A bit of updates first, at the end my actual problem (game still doesn't start):

I researched some time and found this: https://github.com/Winetricks/winetricks/issues/1713 (via this: https://forum.winehq.org/viewtopic.php?f=2&t=35030 ) So I changed those hashes manually and protontricks managed to install them!

But the game still crashes on start at around 23% - my Log: dcs.log

It seems to be somehow the same, but when I try installing the mentioned font (arial) manually ( protontricks 223750 arial ) it says that it's already installed... So somehow DCS doesn't find it but it's installed...

ACH1980 avatar May 20 '22 21:05 ACH1980

You can't fix it by installing arial with protontricks, instead you need to download an alternative font, I think it's called Arime or something like that, and replace the files in the proton prefix with it. I don't remember if the exact procedure for doing that is in the repo, or just in one of the comments in the big DCS issue on valve-software/proton

TheZoq2 avatar May 21 '22 06:05 TheZoq2

At least I didn't found it :see_no_evil:

ACH1980 avatar May 21 '22 14:05 ACH1980

I'll have a look in the other issue.

ACH1980 avatar May 21 '22 14:05 ACH1980

I found this comment of you: https://github.com/ValveSoftware/Proton/issues/1722#issuecomment-634661607 - I guess I have to rename the Arimo-Files to match the names of the Arial FIles, right?

So I should rename as follows: Arimo-Regular.ttf - arial.ttf Arimo-Italic.ttf - ariali.ttf Arimo-Bold.ttf - arialbd.ttf Arimo-BoldItalic.ttf - arialbi.ttf

image image

ACH1980 avatar May 21 '22 14:05 ACH1980

An additional mention - Even if in the DCS logs you do not see the path of the Fonts attempted to be loaded, still apply the copy of Arimo fonts to the fonts folder of the Wine prefix (drive_c/windows/fonts/) and rename them according to the Arial naming example

Referenced: Manjaro Linux

SarunasZaleckis avatar May 22 '22 21:05 SarunasZaleckis