diff --git a/data_from_portwine/port_on b/data_from_portwine/port_on index 29fcdb29..ecbab1b9 100755 --- a/data_from_portwine/port_on +++ b/data_from_portwine/port_on @@ -135,6 +135,9 @@ class CompatData: makedirs(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_dxvk_dxgi = "WINEDLLOVERRIDES" in g_session.env and "dxgi=n" in g_session.env["WINEDLLOVERRIDES"] @@ -228,7 +231,7 @@ class Session: def __init__(self): self.env = dict(os.environ) self.dlloverrides = { - "dotnetfx35.exe": "b" #replace the broken installer, as does Windows + "steam.exe": "n" } self.compat_config = set() diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib index dbbaabd6..457853d8 100755 --- a/data_from_portwine/scripts/runlib +++ b/data_from_portwine/scripts/runlib @@ -153,6 +153,7 @@ echo "DXVK_HUD=${DXVK_HUD}" if [ "${var_dxvk_on}" != "off" ]; then export PW_USE_WINED3D=0 + export WINEDLLOVERRIDES="${WINEDLLOVERRIDES}:dxgi=n" echo "Use DXVK and D9VK (DX9-DX11 to Vulkan)" else export PW_USE_WINED3D=1