2023-09-15 19:35:32 -05:00
|
|
|
from PyQt6.QtCore import QFileInfo
|
2022-04-21 22:13:00 +02:00
|
|
|
|
2025-04-25 08:23:10 +02:00
|
|
|
import mobase
|
|
|
|
|
|
2022-04-21 22:13:00 +02:00
|
|
|
from ..basic_game import BasicGame
|
|
|
|
|
|
2021-07-30 13:30:57 +02:00
|
|
|
|
|
|
|
|
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"
|
2021-12-27 00:57:18 -07:00
|
|
|
GameSupportURL = (
|
|
|
|
|
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
|
|
|
|
|
"Game:-Star-Wars:-Empire-At-War"
|
|
|
|
|
)
|
2021-07-30 13:30:57 +02:00
|
|
|
|
2023-09-15 19:35:32 -05:00
|
|
|
def executables(self) -> list[mobase.ExecutableInfo]:
|
2021-07-30 13:30:57 +02:00
|
|
|
return [
|
|
|
|
|
mobase.ExecutableInfo(
|
|
|
|
|
"STAR WARS Empire at War: Forces of Corruption",
|
|
|
|
|
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
|
|
|
|
|
)
|
|
|
|
|
]
|