Skip to content

Commit

Permalink
Update proton-steam-bits patchset
Browse files Browse the repository at this point in the history
Adding nvngx regkey
  • Loading branch information
Tk-Glitch committed Jun 25, 2021
1 parent f7ecaf4 commit 257bfe7
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wine-tkg-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ md5sums=('SKIP'
'18730b0f9bda4d2b73df668479b38027'
'c8209c8e486c478fb64d5c1eaa87c1da'
'3d7f6a56676689c811f659c11a9f3f2d'
'2059825b9b70a85c4034ad79f9ebcf49'
'e1aff2169fac782fca31e64c3a23bff0'
'87eb77f746f8c29bc8cff1d4dfce4bdc'
'17979c61682046d31c1508702ed1a0bb'
'ddf4b9957d86d9dcc6fb4893491a0146'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,3 +635,62 @@ index a2b45b3c28f..851a31b7d05 100644

HKCR,MIME\Database\Charset\_iso-2022-jp$ESC,"Codepage",0x10003,932
HKCR,MIME\Database\Charset\_iso-2022-jp$ESC,"InternetEncoding",0x10003,50221
From 6e85dc3a77b5989d7ff78723cc2a8359c6e40d05 Mon Sep 17 00:00:00 2001
From: Liam Middlebrook <[email protected]>
Date: Tue, 11 May 2021 20:23:18 -0700
Subject: [PATCH] loader: Set default regkey for NVIDIA NGX FullPath

Sets the default location for the NVIDIA NGX SDK search-path to be
C:\Windows\System32\

This is required for supporting NVIDIA DLSS within Proton.

Reviewed-by: Adam Moss <[email protected]>
---
loader/wine.inf.in | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 39887d3d84e..f4e0d7f50f5 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -74,7 +74,8 @@ AddReg=\
Timezones,\
VersionInfo,\
LicenseInformation, \
- SteamClient
+ SteamClient, \
+ NVIDIANGX

[DefaultInstall.ntamd64]
RegisterDlls=RegisterDllsSection
@@ -102,7 +103,8 @@ AddReg=\
Timezones,\
VersionInfo.ntamd64,\
LicenseInformation, \
- SteamClient.ntamd64
+ SteamClient.ntamd64, \
+ NVIDIANGX

[DefaultInstall.ntarm64]
RegisterDlls=RegisterDllsSection
@@ -145,7 +147,8 @@ AddReg=\
Tapi,\
VersionInfo.ntamd64,\
LicenseInformation, \
- SteamClient.ntamd64
+ SteamClient.ntamd64, \
+ NVIDIANGX

[Wow64Install.ntarm64]
WineFakeDlls=FakeDllsWin32
@@ -4261,6 +4264,9 @@ HKCU,Software\Wine\DllOverrides,"ucrtbase",0x2,"native,builtin"
HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll64",,"%16426%\Steam\steamclient64.dll"
HKCU,Software\Valve\Steam\ActiveProcess,"SteamPath",,"%16426%\Steam"
HKLM,Software\Wow6432Node\Valve\Steam,"InstallPath",,"%16422%\Steam"
+
+[NVIDIANGX]
+HKLM,Software\NVIDIA Corporation\Global\NGXCore,"FullPath",,"C:\Windows\System32"

[NlsFiles]
c_037.nls

0 comments on commit 257bfe7

Please sign in to comment.