summaryrefslogtreecommitdiff
path: root/py_modules/lsfg_vk/steam_service.py
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-06 15:23:26 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-06 15:23:26 -0400
commit8cf9d66b05bae5d58e72b0cb7d2b83ef13a86141 (patch)
tree0b03f39982ef5c7a1b80c27aa740ac0b76638b04 /py_modules/lsfg_vk/steam_service.py
parentad2b182777bfd0a5ceef6e654df75ff13eb8b503 (diff)
downloaddecky-lsfg-vk-8cf9d66b05bae5d58e72b0cb7d2b83ef13a86141.tar.gz
decky-lsfg-vk-8cf9d66b05bae5d58e72b0cb7d2b83ef13a86141.zip
fix: filter Steam compatibility tools from game selector
Diffstat (limited to 'py_modules/lsfg_vk/steam_service.py')
-rw-r--r--py_modules/lsfg_vk/steam_service.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/py_modules/lsfg_vk/steam_service.py b/py_modules/lsfg_vk/steam_service.py
index 58e0a20..9b69806 100644
--- a/py_modules/lsfg_vk/steam_service.py
+++ b/py_modules/lsfg_vk/steam_service.py
@@ -9,6 +9,35 @@ from .constants import STEAM_LOSSLESS_SCALING_APP_ID, STEAM_LOSSLESS_SCALING_BRA
class SteamService(BaseService):
DEFAULT_BRANCH = "public"
MANIFEST_FILENAME = f"appmanifest_{STEAM_LOSSLESS_SCALING_APP_ID}.acf"
+ # Valve compatibility tools, runtimes, Steamworks redistributables, and LSFG.
+ GAME_SELECTOR_EXCLUDED_APPIDS = {
+ "858280", # Proton 3.7
+ "961940", # Proton 3.16
+ "1054830", # Proton 4.2
+ "1113280", # Proton 4.11
+ "1245040", # Proton 5.0
+ "1420170", # Proton 5.13
+ "1493710", # Proton Experimental
+ "1580130", # Proton 6.3
+ "1887720", # Proton 7
+ "2180100", # Proton Hotfix
+ "228980", # Steamworks Common Redistributables
+ "2348590", # Proton 8
+ "2805730", # Proton 9
+ "3029110", # Lepton
+ "3127680", # fex
+ "3658110", # Proton 10
+ "4183110", # Steam Linux Runtime 4.0
+ "4185400", # Steam Linux Runtime 4.0 for arm64
+ "4427310", # Proton Experimental (ARM64)
+ "4628710", # Proton 11 / Proton Next
+ "4628740", # Proton 11 (ARM64)
+ "4690330", # Legacy Steam Runtime
+ "993090", # Lossless Scaling
+ "1070560", # Steam Linux Runtime 1.0
+ "1391110", # Steam Linux Runtime 2.0
+ "1628350", # Steam Linux Runtime 3.0
+ }
def _steam_library_roots(self):
candidates = (
@@ -190,6 +219,8 @@ class SteamService(BaseService):
except OSError:
continue
appid = match.group(1)
+ if appid in self.GAME_SELECTOR_EXCLUDED_APPIDS:
+ continue
name = self._section_value(content, "AppState", "name") or f"App {appid}"
games[appid] = name
return self._success_response(dict, games=[{"appid": appid, "name": name} for appid, name in sorted(games.items(), key=lambda item: item[1].lower())])