diff options
| author | Janleyx <242423638+Janleyx@users.noreply.github.com> | 2026-07-18 10:20:20 -0400 |
|---|---|---|
| committer | Janleyx <242423638+Janleyx@users.noreply.github.com> | 2026-07-18 10:20:20 -0400 |
| commit | e205effa83dbbcb9c13f3f11a493a525e989d7b6 (patch) | |
| tree | 9b05626daceb691cdfa2e5306274f0297306d84c /py_modules/lsfg_vk | |
| parent | 722ac0cf338d659e2d0553431285fbfb0cd978b5 (diff) | |
| download | decky-lsfg-vk-e205effa83dbbcb9c13f3f11a493a525e989d7b6.tar.gz decky-lsfg-vk-e205effa83dbbcb9c13f3f11a493a525e989d7b6.zip | |
preserve Armada game launch wrapper
Diffstat (limited to 'py_modules/lsfg_vk')
| -rw-r--r-- | py_modules/lsfg_vk/constants.py | 2 | ||||
| -rw-r--r-- | py_modules/lsfg_vk/plugin.py | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/py_modules/lsfg_vk/constants.py b/py_modules/lsfg_vk/constants.py index 795c1bf..a2140b3 100644 --- a/py_modules/lsfg_vk/constants.py +++ b/py_modules/lsfg_vk/constants.py @@ -25,6 +25,8 @@ JSON_EXT = ".json" BIN_DIR = "bin" +ARMADA_GAME_LAUNCH = Path("/usr/libexec/armada/armada-game-launch") + STEAM_COMMON_PATH = Path("steamapps/common/Lossless Scaling") LOSSLESS_DLL_NAME = "Lossless.dll" diff --git a/py_modules/lsfg_vk/plugin.py b/py_modules/lsfg_vk/plugin.py index cb59b4f..2cb08f4 100644 --- a/py_modules/lsfg_vk/plugin.py +++ b/py_modules/lsfg_vk/plugin.py @@ -18,6 +18,7 @@ from .dll_detection import DllDetectionService from .configuration import ConfigurationService from .config_schema import ConfigurationManager from .flatpak_service import FlatpakService +from .constants import ARMADA_GAME_LAUNCH class Plugin: @@ -255,6 +256,13 @@ class Plugin: Returns: Dict containing the launch option string and instructions """ + if ARMADA_GAME_LAUNCH.is_file(): + return { + "launch_option": f"~/lsfg {ARMADA_GAME_LAUNCH} %command%", + "instructions": "Use this combined command in Steam Properties, preserving Armada's game-launch wrapper", + "explanation": "LSFG sets its environment first, then Armada applies the game's FEX profile and launches Proton" + } + return { "launch_option": "~/lsfg %command%", "instructions": "Add this to your game's launch options in Steam Properties", |
