Files
modorganizer-basic_games/games/game_nomanssky.py
Mikaël Capelle f502fb468f Add pre-commit hook (#179)
* Update dev dependencies.
* Add pre-commit hook.
2025-04-25 08:23:10 +02:00

37 lines
1014 B
Python

from PyQt6.QtCore import QFileInfo
import mobase
from ..basic_game import BasicGame
class NoMansSkyGame(BasicGame):
Name = "No Man's Sky Support Plugin"
Author = "Luca/EzioTheDeadPoet"
Version = "1.0.0"
GameName = "No Man's Sky"
GameShortName = "nomanssky"
GameNexusName = "nomanssky"
GameNexusId = 1634
GameSteamId = 275850
GameGogId = 1446213994
GameBinary = "Binaries/NMS.exe"
GameDataPath = "GAMEDATA/MODS"
GameSupportURL = (
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
"Game:-No-Man's-Sky"
)
def executables(self):
return [
mobase.ExecutableInfo(
"No Man's Sky",
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
),
mobase.ExecutableInfo(
"No Man's Sky VR",
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
).withArgument("-HmdEnable 1"),
]