aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/games/game_control.py
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-11 02:37:39 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-11 02:37:39 -0600
commit7ee008e150bc5bcf76082d726f719ee0fdfda982 (patch)
tree27fb39be241fdb5ac2734c574de678977d1856d0 /libs/basic_games/games/game_control.py
Fluorine Manager: full Linux port of Mod Organizer 2
Complete native Linux port with FUSE-based virtual filesystem, Proton/umu-run integration, and Flatpak packaging. Key features: - FUSE VFS replacing Windows USVFS (in-process + standalone helper for Flatpak) - Proton/GE-Proton/umu-run launcher with env var forwarding - Flatpak support (sandbox-aware VFS, NXM handler, umu-run) - Wine prefix management UI - Case-insensitive path resolution for Linux filesystems - QSettings-safe INI handling (avoids Bethesda INI corruption) - Portable instance support with auto-generated launcher scripts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/basic_games/games/game_control.py')
-rw-r--r--libs/basic_games/games/game_control.py63
1 files changed, 63 insertions, 0 deletions
diff --git a/libs/basic_games/games/game_control.py b/libs/basic_games/games/game_control.py
new file mode 100644
index 0000000..2662410
--- /dev/null
+++ b/libs/basic_games/games/game_control.py
@@ -0,0 +1,63 @@
+from __future__ import annotations
+
+from PyQt6.QtCore import QFileInfo
+
+import mobase
+
+from ..basic_game import BasicGame
+
+
+class ControlGame(BasicGame):
+ Name = "Control Support Plugin"
+ Author = "Zash"
+ Version = "1.0.0"
+
+ GameName = "Control"
+ GameShortName = "control"
+ GameNexusId = 2936
+ GameSteamId = 870780
+ GameGogId = 2049187585
+ GameEpicId = "calluna"
+ GameBinary = "Control.exe"
+ GameDataPath = ""
+
+ def executables(self):
+ return [
+ mobase.ExecutableInfo(
+ "Control (Launcher)",
+ QFileInfo(
+ self.gameDirectory(),
+ self.binaryName(),
+ ),
+ ),
+ mobase.ExecutableInfo(
+ "Control DX11",
+ QFileInfo(
+ self.gameDirectory(),
+ "Control_DX11.exe",
+ ),
+ ),
+ mobase.ExecutableInfo(
+ "Control DX12",
+ QFileInfo(
+ self.gameDirectory(),
+ "Control_DX12.exe",
+ ),
+ ),
+ ]
+
+ def executableForcedLoads(self) -> list[mobase.ExecutableForcedLoadSetting]:
+ try:
+ efls = super().executableForcedLoads()
+ except AttributeError:
+ efls = []
+
+ libraries = ["iphlpapi.dll", "xinput1_4.dll"]
+ efls.extend(
+ mobase.ExecutableForcedLoadSetting(
+ exe.binary().fileName(), lib
+ ).withEnabled(True)
+ for lib in libraries
+ for exe in self.executables()
+ )
+ return efls