From 5ea05065b9f63bbec6de5adc6cd8ce848a4cb008 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 6 Nov 2024 17:20:28 +0200 Subject: [PATCH] proton: Copy nvofapi64.dll in addition to other nvapi dlls. Thanks to Liam Middlebrook. --- proton | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proton b/proton index b59d0820..8c722290 100755 --- a/proton +++ b/proton @@ -1052,9 +1052,12 @@ class CompatData: if use_nvapi: try_copy(g_proton.lib64_dir + "wine/nvapi/nvapi64.dll", "drive_c/windows/system32", prefix=self.prefix_dir, track_file=tracked_files, link_debug=True) + try_copy(g_proton.lib64_dir + "wine/nvapi/nvofapi64.dll", "drive_c/windows/system32", + prefix=self.prefix_dir, track_file=tracked_files, link_debug=True) try_copy(g_proton.lib_dir + "wine/nvapi/nvapi.dll", "drive_c/windows/syswow64", prefix=self.prefix_dir, track_file=tracked_files, link_debug=True) g_session.dlloverrides["nvapi64"] = "n" + g_session.dlloverrides["nvofapi64"] = "n" g_session.dlloverrides["nvapi"] = "n" g_session.dlloverrides["nvcuda"] = "b" else: