forked from ModOrganizer2/modorganizer-basic_games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
game_starwars-empire-at-war-foc.py
32 lines (27 loc) · 1.01 KB
/
game_starwars-empire-at-war-foc.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
import mobase
from PyQt6.QtCore import QFileInfo
from ..basic_game import BasicGame
class StarWarsEmpireAtWarGame(BasicGame):
Name = "STAR WARS Empire at War - Force of Corruption"
Author = "erri120"
Version = "1.0.0"
GameName = "STAR WARS™ Empire at War: Forces of Corruption"
GameShortName = "starwarsempireatwar"
GameNexusName = "starwarsempireatwar"
GameNexusId = 453
GameSteamId = 32470
GameGogId = 1421404887
# using StarWarsG.exe instead of swfoc.exe because it has an icon
GameBinary = "corruption/StarWarsG.exe"
GameDataPath = "corruption/Data"
GameSupportURL = (
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
"Game:-Star-Wars:-Empire-At-War"
)
def executables(self) -> list[mobase.ExecutableInfo]:
return [
mobase.ExecutableInfo(
"STAR WARS Empire at War: Forces of Corruption",
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
)
]