fix: keep manifest launch arguments to the installed build and their own additions

The manifest's arguments apply only when its build matches the installed version, only arguments the merge inserted are tracked as its own, escaped quotes split like a Windows command line, and the REDprelauncher rule needs Cyberpunk2077.exe beside it.
This commit is contained in:
maxjivi05 authored and MaxsTechReview committed 2026-10-23 23:59:37 -04:00
1 parent 8209a707f4
commit 42026b382f
7 files changed
+56 -18

No files matched your search

@@ -129,7 +129,10 @@ def caravan_sandwitch_feature_level(game):
@fix
def cyberpunk_feature_level(game):
if game.stem in ("cyberpunk2077", "redprelauncher"):
if game.stem == "cyberpunk2077" or (
game.stem == "redprelauncher"
and os.path.isfile(os.path.join(os.path.dirname(game.exe), "bin", "x64", "Cyberpunk2077.exe"))
):
return {"VKD3D_FEATURE_LEVEL": "12_1"}, [], "Cyberpunk 2077: D3D12 feature level 12_1"
def skip_red_launcher(command):