From fe0e02de18db7344073b54caa5a60d538875fa41 Mon Sep 17 00:00:00 2001 From: Blisto91 Date: Sat, 22 Jun 2024 21:41:17 +0200 Subject: [PATCH] [util] Set cachedDynamicBuffers for Battle for Middle-Earth 2 Helps slowdowns below 30fps in certain scenarios like when moving the camera over heavy vegetation areas among others --- src/util/config/config.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 756af0531..183173cc8 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -953,6 +953,11 @@ namespace dxvk { { R"(\\Gw\.exe$)", {{ { "d3d9.deviceLossOnFocusLoss", "True" }, }} }, + /* Battle for Middle-earth 2 and expansion * + * Slowdowns in certain scenarios */ + { R"(\\(The Battle for Middle-earth (\(tm\))? II( Demo)?|The Lord of the Rings, The Rise of the Witch-king)\\game\.dat$)", {{ + { "d3d9.cachedDynamicBuffers", "True" }, + }} }, /**********************************************/