forked from ModOrganizer2/modorganizer-basic_games
-
Notifications
You must be signed in to change notification settings - Fork 2
/
game_nomanssky.py
35 lines (30 loc) · 1021 Bytes
/
game_nomanssky.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import mobase
from PyQt6.QtCore import QFileInfo
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/PCBANKS/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"),
]