From a7e3a77f008a957516e396b22ae96c799390d3a1 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Sat, 6 Jul 2024 21:40:23 +0200 Subject: [PATCH] [util] Enable longMad for Tomb Raider Legend Since the enablement of invariant position by default the game suffers from white flickers on characters when you use the Next Generation Content option --- src/util/config/config.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 52b2c2ac47aa..c8faed198b97 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -590,14 +590,21 @@ namespace dxvk { { R"(\\SpellForce2.*\.exe$)", {{ { "d3d9.forceSamplerTypeSpecConstants", "True" }, }} }, - /* Tomb Raider: Legend, Anniversary, Underworld * + /* Tomb Raider: Anniversary, Underworld * * Read from a buffer created with: * * D3DPOOL_DEFAULT, * * D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY buffer */ - { R"(\\(trl|tra|tru)\.exe$)", {{ + { R"(\\(tra|tru)\.exe$)", {{ { "d3d9.cachedDynamicBuffers", "True" }, { "d3d9.maxFrameRate", "60" }, }} }, + /* Tomb Raider: Legend - Above plus flickers * + * on characters with next gen content option */ + { R"(\\trl\.exe$)", {{ + { "d3d9.cachedDynamicBuffers", "True" }, + { "d3d9.maxFrameRate", "60" }, + { "d3d9.longMad", "True" }, + }} }, /* Everquest */ { R"(\\eqgame\.exe$)", {{ { "d3d9.cachedDynamicBuffers", "True" },