Skip to content

Commit

Permalink
add missing game-specific registry entries
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Jun 15, 2019
1 parent a921938 commit 306ce7c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 24 deletions.
31 changes: 13 additions & 18 deletions game-patches-testing/msvcrt_nativebuiltin.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@ Subject: [PATCH] HACK: wine.inf: Add native,builtin overrides for msvcrt DLLs
1 file changed, 54 insertions(+)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 81f414b1d..73a1d0503 100644
index 357a3b66b2d..bb178c65c37 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -3681,6 +3690,72 @@ HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Solitaire-EnableGame",0x
HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-SpiderSolitaire-EnableGame",0x10001,0x00000001
HKLM,Software\Wine\LicenseInformation,"Shell-PremiumInBoxGames-Chess-EnableGame",0x10001,0x00000001

+[SteamClient]
+HKCU,Software\Valve\Steam\ActiveProcess,"PID",0x10001,0x0000fffe
+HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16422%\Steam\steamclient.dll"
+HKCU,Software\Valve\Steam\ActiveProcess,"SteamPath",,"%16422%\Steam"
@@ -3694,6 +3694,33 @@ HKLM,Software\Wine\LicenseInformation,"Shell-PremiumInBoxGames-Chess-EnableGame"
HKCU,Software\Valve\Steam\ActiveProcess,"PID",0x10001,0x0000fffe
HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16422%\Steam\steamclient.dll"
HKCU,Software\Valve\Steam\ActiveProcess,"SteamPath",,"%16422%\Steam"
+;;Likely want *80 and *90 too, but those require removing Wine's manifest files.
+HKCU,Software\Wine\DllOverrides,"atl100",0x2,"native,builtin"
+HKCU,Software\Wine\DllOverrides,"msvcp100",0x2,"native,builtin"
Expand Down Expand Up @@ -46,13 +42,13 @@ index 81f414b1d..73a1d0503 100644
+HKCU,Software\Wine\DllOverrides,"ucrtbase",0x2,"native,builtin"
+HKCU,Software\Wine\DllOverrides,"vcomp140",0x2,"native,builtin"
+HKCU,Software\Wine\DllOverrides,"vcruntime140",0x2,"native,builtin"
+
+[SteamClient.ntamd64]
+HKCU,Software\Valve\Steam\ActiveProcess,"PID",0x10001,0x0000fffe
+HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16426%\Steam\steamclient.dll"
+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"
[SteamClient.ntamd64]
HKCU,Software\Valve\Steam\ActiveProcess,"PID",0x10001,0x0000fffe
@@ -3701,6 +3728,33 @@ HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16426%\Steam\steamcl
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"
+;;Likely want *80 and *90 too, but those require removing Wine's manifest files.
+HKCU,Software\Wine\DllOverrides,"atl100",0x2,"native,builtin"
+HKCU,Software\Wine\DllOverrides,"msvcp100",0x2,"native,builtin"
Expand Down Expand Up @@ -80,7 +76,6 @@ index 81f414b1d..73a1d0503 100644
+HKCU,Software\Wine\DllOverrides,"ucrtbase",0x2,"native,builtin"
+HKCU,Software\Wine\DllOverrides,"vcomp140",0x2,"native,builtin"
+HKCU,Software\Wine\DllOverrides,"vcruntime140",0x2,"native,builtin"
+
[DestinationDirs]
l_intl_section = 11
inf_section = 17
2 changes: 1 addition & 1 deletion game-patches-testing/proton-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
patch -Np1 < ../game-patches-testing/msvcrt_nativebuiltin.patch

#Valve game-specific registry entries
patch -Np1 < ../game-patches-testing/valve-Set-amd_ags_x64-to-built-in-for-Wolfenstein-2.patch
patch -Np1 < ../game-patches-testing/valve-apply-LargeAddressAware-fix-for-Bayonetta.patch
patch -Np1 < ../game-patches-testing/valve-Set-amd_ags_x64-to-built-in-for-Wolfenstein-2.patch



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index bb178c65c37..1f94c38d0c6 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -3559,6 +3559,7 @@ HKCU,Software\Valve\Steam\ActiveProcess,"PID",0x10001,0x0000fffe
HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16426%\Steam\steamclient.dll"
HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll64",,"%16426%\Steam\steamclient64.dll"
@@ -3730,6 +3730,7 @@ HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll64",,"%16426%\Steam\steam
HKCU,Software\Valve\Steam\ActiveProcess,"SteamPath",,"%16426%\Steam"
HKLM,Software\Wow6432Node\Valve\Steam,"InstallPath",,"%16422%\Steam"
HKCU,Software\Wine\AppDefaults\Bayonetta.exe,"LargeAddressAware",0x10003,1
+HKCU,Software\Wine\AppDefaults\NewColossus_x64vk.exe\DllOverrides,"amd_ags_x64",0x2,"builtin,native"
;;Likely want *80 and *90 too, but those require removing Wine's manifest files.
HKCU,Software\Wine\DllOverrides,"atl100",0x2,"native,builtin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ index 977c8ffbc64..08e4197c55c 100644
;;Likely want *80 and *90 too, but those require removing Wine's manifest files.
HKCU,Software\Wine\DllOverrides,"atl100",0x2,"native,builtin"
HKCU,Software\Wine\DllOverrides,"msvcp100",0x2,"native,builtin"
@@ -3747,6 +3748,7 @@ HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16426%\Steam\steamcl
@@ -3729,6 +3729,7 @@ HKCU,Software\Valve\Steam\ActiveProcess,"SteamClientDll",,"%16426%\Steam\steamcl
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"
+HKCU,Software\Wine\AppDefaults\Bayonetta.exe,"LargeAddressAware",0x10003,1
HKCU,Software\Wine\AppDefaults\NewColossus_x64vk.exe\DllOverrides,"amd_ags_x64",0x2,"builtin,native"
;;Likely want *80 and *90 too, but those require removing Wine's manifest files.
HKCU,Software\Wine\DllOverrides,"atl100",0x2,"native,builtin"
HKCU,Software\Wine\DllOverrides,"msvcp100",0x2,"native,builtin"

0 comments on commit 306ce7c

Please sign in to comment.