diff options
author | Blisto91 <47954800+Blisto91@users.noreply.github.com> | 2023-11-18 00:02:53 +0300 |
---|---|---|
committer | Philip Rebohle <25567304+doitsujin@users.noreply.github.com> | 2023-11-18 14:18:08 +0300 |
commit | 91f7f43c35f240231c9e5efd0b24a27da5c16a8a (patch) | |
tree | a92a6add68592b4246b249581bf44dcaee155154 | |
parent | d998dee46e5848da23e7d2eb078845ffb5b73d65 (diff) |
[util] Don't spoof Nvidia on AMD GPUs in Hitman 3
Spoofing to Nvidia prevents ray tracing enablement on AMD and the game does not crash without ags anymore
-rw-r--r-- | src/util/config/config.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 1d30d844..22735a16 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -131,8 +131,8 @@ namespace dxvk { { R"(\\vr\.exe$)", {{ { "d3d11.dcSingleUseMode", "False" }, }} }, - /* Hitman 2 and 3 - requires AGS library */ - { R"(\\HITMAN(2|3)\.exe$)", {{ + /* Hitman 2 - requires AGS library */ + { R"(\\HITMAN2\.exe$)", {{ { "dxgi.customVendorId", "10de" }, }} }, /* Modern Warfare Remastered */ @@ -863,6 +863,10 @@ namespace dxvk { { R"(\\Cyberpunk2077\.exe$)", {{ { "dxgi.useMonitorFallback", "True" }, }} }, + /* Hitman 3 - Ray Tracing */ + { R"(\\HITMAN3\.exe$)", {{ + { "dxgi.hideNvidiaGpu", "False" }, + }} }, }}; |