Windows games not launching with Wine Staging 3.5

Questions about Wine on Linux
Locked
EPWoofah
Newbie
Newbie
Posts: 2
Joined: Mon Apr 02, 2018 6:00 pm

Windows games not launching with Wine Staging 3.5

Post by EPWoofah »

Hello, I'm a first-time poster here. I hope I'm posting correctly.

So I recently starting using Linux Mint again. I'm using the Mate version of 18.3. When i found out wine staging was being actively developed again, i thought I'd give it a go and see how some games performed on my laptop. For versions 3.3 and 3.4, everything ran great. Pleasantly surprised me. Though with the 3.5 update for Staging, it seems that none of my games will launch, or they show an error. For example, one of the mods I play based on the engine of Stalker Call of Pripyat, complains that it can't find d3d9.dll. I ran the dx installers through winetricks. That didn't help. I'm not sure what else I can do. Should I just wait to see how the 3,6 update will be for Staging?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Windows games not launching with Wine Staging 3.5

Post by Bob Wya »

@EPWoofah

This problem is caused because the legacy CSMT implementation, Wine Staging used, was a dll redirection (hack!)

Specifically a redirection from wined3d.dll -> wined3d-csmt.dll.

Unfortunately Wine Staging 2.x left behind both a registry redirection value, see:
Wine Staging Wiki: DLL Redirects
and the corresponding dll: wined3d-csmt.dll

This will be fixed in Wine Staging 3.6 by commit:
f6fdc7705e9e17939df8b4aeb54da8dd82dcb99e .

In the meantime you can just delete the redirection Registry value: wined3d.dll.

Bob
EPWoofah
Newbie
Newbie
Posts: 2
Joined: Mon Apr 02, 2018 6:00 pm

Re: Windows games not launching with Wine Staging 3.5

Post by EPWoofah »

@Bob Wya

That did the trick! Thank you! Glad it was a simple fix.
Locked