diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-07-22 13:33:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 13:33:13 -0400 |
| commit | 42668d412105b972e0cc7440b64e8e24aeef4587 (patch) | |
| tree | c8f20ccbe508ac6684a38c115d63602476575493 /shared_config.py | |
| parent | 97bb41947bd44a712ad26905771a9d2cc4692878 (diff) | |
| parent | 43def41747d3b75bb547b649a00f12653c3ae537 (diff) | |
| download | decky-lsfg-vk-42668d412105b972e0cc7440b64e8e24aeef4587.tar.gz decky-lsfg-vk-42668d412105b972e0cc7440b64e8e24aeef4587.zip | |
Merge pull request #67 from xXJSONDeruloXx/workaround-envs
add workaround env vars, rm old tests
Diffstat (limited to 'shared_config.py')
| -rw-r--r-- | shared_config.py | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/shared_config.py b/shared_config.py index 46bfc84..68c7b82 100644 --- a/shared_config.py +++ b/shared_config.py @@ -24,63 +24,88 @@ CONFIG_SCHEMA_DEF = { "name": "dll", "fieldType": ConfigFieldType.STRING, "default": "/games/Lossless Scaling/Lossless.dll", - "description": "specify where Lossless.dll is stored" + "description": "specify where Lossless.dll is stored", + "location": "toml" # where this field is stored/used }, "multiplier": { "name": "multiplier", "fieldType": ConfigFieldType.INTEGER, "default": 1, - "description": "change the fps multiplier" + "description": "change the fps multiplier", + "location": "toml" }, "flow_scale": { "name": "flow_scale", "fieldType": ConfigFieldType.FLOAT, "default": 0.8, - "description": "change the flow scale" + "description": "change the flow scale", + "location": "toml" }, "performance_mode": { "name": "performance_mode", "fieldType": ConfigFieldType.BOOLEAN, "default": True, - "description": "use a lighter model for FG (recommended for most games)" + "description": "use a lighter model for FG (recommended for most games)", + "location": "toml" }, "hdr_mode": { "name": "hdr_mode", "fieldType": ConfigFieldType.BOOLEAN, "default": False, - "description": "enable HDR mode (only for games that support HDR)" + "description": "enable HDR mode (only for games that support HDR)", + "location": "toml" }, "experimental_present_mode": { "name": "experimental_present_mode", "fieldType": ConfigFieldType.STRING, "default": "fifo", - "description": "override Vulkan present mode (may cause crashes)" + "description": "override Vulkan present mode (may cause crashes)", + "location": "toml" }, "dxvk_frame_rate": { "name": "dxvk_frame_rate", "fieldType": ConfigFieldType.INTEGER, "default": 0, - "description": "base framerate cap for DirectX games before frame multiplier" + "description": "base framerate cap for DirectX games before frame multiplier", + "location": "script" # script-only field }, "enable_wow64": { "name": "enable_wow64", "fieldType": ConfigFieldType.BOOLEAN, "default": False, - "description": "enable PROTON_USE_WOW64=1 for 32-bit games (use with ProtonGE to fix crashing)" + "description": "enable PROTON_USE_WOW64=1 for 32-bit games (use with ProtonGE to fix crashing)", + "location": "script" }, "disable_steamdeck_mode": { "name": "disable_steamdeck_mode", "fieldType": ConfigFieldType.BOOLEAN, "default": False, - "description": "disable Steam Deck mode (unlocks hidden settings in some games)" + "description": "disable Steam Deck mode (unlocks hidden settings in some games)", + "location": "script" + }, + + "mangohud_workaround": { + "name": "mangohud_workaround", + "fieldType": ConfigFieldType.BOOLEAN, + "default": False, + "description": "Enables a transparent mangohud overlay, sometimes fixes issues with 2X multiplier in game mode", + "location": "script" + }, + + "disable_vkbasalt": { + "name": "disable_vkbasalt", + "fieldType": ConfigFieldType.BOOLEAN, + "default": False, + "description": "Disables vkBasalt layer which can conflict with LSFG (Reshade, some Decky plugins)", + "location": "script" } } |
