dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

`setup_dxvk.sh` issue with Wine-GE

Open CommandMC opened this issue 4 years ago • 4 comments

Currently, the setup_dxvk.sh script uses wine --version to check if the wine executable is valid: If the output contains "wine", it's considered a wine executable.
This presents an issue with Wine-GE, as their version string is 7.0rc2-GE-1 (Staging).

I've asked around on the GE discord and the people there said that using wineserver --version would be better. In Wine-GE, this correctly returns "Wine 7.0-rc2".

In general, I'm not really sure why this check is present. Has there ever been a case where someone specified an unrelated executable as their Wine executable?

CommandMC avatar Dec 24 '21 11:12 CommandMC

This check has been there since the creation of the script. So "why" might be not apparent. Probably check that the wine executable is a wine executable.

braiam avatar Jan 14 '22 13:01 braiam

This check has been there since the creation of the script. So "why" might be not apparent. Probably check that the wine executable is a wine executable.

The check is there because when making dlloverrides you use wine's regedit function to input data in the registry (the overrides). So the general idea is to actually check that you have wine installed before attempting to add dlloverrides. If wine is not present - abort 😄

setup_dxvk.sh

SveSop avatar Jan 27 '22 12:01 SveSop

Sounds like a problem with GE. Why did it drop Wine from the version output?

shmerl avatar Feb 06 '22 01:02 shmerl

Is this still an issue with Wine-GE? If yes i think you are welcome to open a PR so that the script can accept both wine --version wineserver --version containing the string "wine"

Blisto91 avatar Sep 25 '22 18:09 Blisto91

Closure reason https://github.com/doitsujin/dxvk/pull/3097

Blisto91 avatar Nov 25 '22 14:11 Blisto91