View Issue Details

IDProjectCategoryView StatusLast Update
0000450Client/GameGame Launcher / Server Browserpublic2023-09-11 19:03
Reporterlightwo Assigned To 
Status newResolutionopen 
Platformx86_64OSArtix LinuxOS Version6.0.1-zen2-1-zen
Product Version1.4.3 
Summary0000450: "Access denied" trying to launch GTAIV

For various versions of Wine I have tried, the usual outcome of trying to launch GTAIV through GTAC launcher was "access denied".

Additional Information

Disabling mods doesn't make a difference, only trying a different Wine version helped in the past.

Error information:
Code 0x5 (access denied)
Function: bool __thiscall CHackSupport::OnLoad(void *,unsigned int)
Line: 708

Game version:
Patch 7 (the game itself works)
xlive.dll md5: b8c51891352e3e7bfc2c30f2c903b46c
LaunchGTAIV.exe md5: 3e9b3dc03cd5c2e658dd731b616fdcf1
1911.dll md5: 4d82ddcf7c3a66007e5ce8cef09ea747

File hierarchy:
Game: virtual D: -> /mnt/hdd owned by my user, ext4 FS
Wine bottle: home directory, owned by my user, ext4 FS

Wine versions affected:
Proton 7.0-4
wine-staging 7.19

Wine versions working:

TagsCrash, GTA 4 Connected, GTA Connected GTA 4 crash, Linux, Proton, Wine



2023-07-08 19:17

reporter   ~0000375

Update to the issue:

Occasionally, the "access denied" error dialogue won't be present, and instead, Wine will display an unhandled exception in the logs:

014c:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7eba0104

This time the address is shown, maybe it could help with the process of finding the issue.


2023-07-08 20:20

reporter   ~0000376

Also, I used a FS logger on the wineserver process and found that this is the likely culprit:


Presumably, editing the game process memory was denied to the launcher.

Maybe this is distribution specific, the issue has been occurring on Arch Linux and Artix Linux (which is what I am using now).


2023-08-27 14:06

reporter   ~0000380

Update: With Esync and Fsync disabled, GTA Connected actually works!

As a side-note, considering that anticheat disabled mods I use that actually fix the game, I had to use -availablevidmem 0.6 because -nomemrestrict and -norestrictions didn't work, and my card has over 2 GB of VRAM.

The value (0.6) can be altered with this formula:
Value = max / det
det = detected value
max = the highest value that works (approx. 2452)
Example: 2452 / 4088 = 0.6


2023-09-11 16:32

administrator   ~0000382

What is Esync and Fsync? Is that specific to WINE?


2023-09-11 19:03

reporter   ~0000383

Yes. As far as I know, Esync and Fsync are Wine optimisations related to FS access that aren't upstream, but are featured in Proton and many custom versions of Wine.

Issue History

Date Modified Username Field Change
2022-10-29 13:48 lightwo New Issue
2022-10-29 13:48 lightwo Tag Attached: Crash
2022-10-29 13:48 lightwo Tag Attached: GTA 4 Connected
2022-10-29 13:48 lightwo Tag Attached: GTA Connected GTA 4 crash
2022-10-29 13:48 lightwo Tag Attached: Linux
2022-10-29 13:48 lightwo Tag Attached: Proton
2022-10-29 13:48 lightwo Tag Attached: Wine
2023-07-08 19:17 lightwo Note Added: 0000375
2023-07-08 20:20 lightwo Note Added: 0000376
2023-08-27 14:06 lightwo Note Added: 0000380
2023-09-11 16:32 Vortrex Note Added: 0000382
2023-09-11 19:03 lightwo Note Added: 0000383