forked from CastroFidel/PortWINE
		
	fix dxgi=n in dxvk
This commit is contained in:
		| @@ -135,6 +135,9 @@ class CompatData: | |||||||
|             makedirs(self.prefix_dir + "/drive_c") |             makedirs(self.prefix_dir + "/drive_c") | ||||||
|             set_dir_casefold_bit(self.prefix_dir + "/drive_c") |             set_dir_casefold_bit(self.prefix_dir + "/drive_c") | ||||||
|  |  | ||||||
|  |         if not os.path.exists(self.prefix_dir + "/user.reg"): | ||||||
|  |             self.copy_pfx() | ||||||
|  |  | ||||||
|         use_wined3d = "wined3d" in g_session.compat_config |         use_wined3d = "wined3d" in g_session.compat_config | ||||||
|         use_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"] |         use_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"] | ||||||
|  |  | ||||||
| @@ -228,7 +231,7 @@ class Session: | |||||||
|     def __init__(self): |     def __init__(self): | ||||||
|         self.env = dict(os.environ) |         self.env = dict(os.environ) | ||||||
|         self.dlloverrides = { |         self.dlloverrides = { | ||||||
|                 "dotnetfx35.exe": "b" #replace the broken installer, as does Windows |                 "steam.exe": "n" | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         self.compat_config = set() |         self.compat_config = set() | ||||||
|   | |||||||
| @@ -153,6 +153,7 @@ echo "DXVK_HUD=${DXVK_HUD}" | |||||||
|  |  | ||||||
| if [ "${var_dxvk_on}" != "off" ]; then | if [ "${var_dxvk_on}" != "off" ]; then | ||||||
|     export PW_USE_WINED3D=0 |     export PW_USE_WINED3D=0 | ||||||
|  |     export WINEDLLOVERRIDES="${WINEDLLOVERRIDES}:dxgi=n" | ||||||
|     echo "Use DXVK and D9VK (DX9-DX11 to Vulkan)" |     echo "Use DXVK and D9VK (DX9-DX11 to Vulkan)" | ||||||
| else | else | ||||||
|     export PW_USE_WINED3D=1 |     export PW_USE_WINED3D=1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user