diff --git a/patches/dxvk/secret-world.patch b/patches/dxvk/secret-world.patch new file mode 100644 index 0000000000..87d438f4c8 --- /dev/null +++ b/patches/dxvk/secret-world.patch @@ -0,0 +1,20 @@ +diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp +index f3aaed0f..45a71721 100644 +--- a/src/util/config/config.cpp ++++ b/src/util/config/config.cpp +@@ -681,9 +681,14 @@ namespace dxvk { + { R"(\\bms\.exe$)", {{ + { "d3d9.customVendorId", "10de" }, + }} }, ++ /* Secret World: Legends * ++ * Launcher needs shaderModel 2 * ++ * to not crash */ ++ { R"(\\ClientPatcher\.exe$)", {{ ++ { "d3d9.shaderModel", "2" }, ++ }} }, + }}; + +- + static bool isWhitespace(char ch) { + return ch == ' ' || ch == '\x9' || ch == '\r'; + } diff --git a/patches/protonprep-valve-staging.sh b/patches/protonprep-valve-staging.sh index 529cad094c..1b460cd6d2 100755 --- a/patches/protonprep-valve-staging.sh +++ b/patches/protonprep-valve-staging.sh @@ -15,7 +15,10 @@ patch -Np1 < ../patches/dxvk/2675.patch echo "DXVK: add dxvk async patch" - patch -Np1 < ../patches/dxvk/dxvk-async.patch + patch -Np1 < ../patches/dxvk/dxvk-async.patch + + echo "DXVK: Fix Secret World: Legends patcher crash" + patch -Np1 < ../patches/dxvk/secret-world.patch cd .. ### END PREP SECTION ###