From 9e2975413307b90795f15d023dd1f230aa99ca0a Mon Sep 17 00:00:00 2001 From: erri120 Date: Fri, 30 Jul 2021 13:30:57 +0200 Subject: [PATCH 1/2] Add STAR WARS Empire at War and Force of Corruption --- games/game_starwars-empire-at-war-foc.py | 30 ++++++++++++++++++++++++ games/game_starwars-empire-at-war.py | 30 ++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 games/game_starwars-empire-at-war-foc.py create mode 100644 games/game_starwars-empire-at-war.py diff --git a/games/game_starwars-empire-at-war-foc.py b/games/game_starwars-empire-at-war-foc.py new file mode 100644 index 0000000..b93cd42 --- /dev/null +++ b/games/game_starwars-empire-at-war-foc.py @@ -0,0 +1,30 @@ +# -*- encoding: utf-8 -*- + +import mobase +from PyQt5.QtCore import QFileInfo +from ..basic_game import BasicGame +from typing import List + + +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" + + def executables(self) -> List[mobase.ExecutableInfo]: + return [ + mobase.ExecutableInfo( + "STAR WARS Empire at War: Forces of Corruption", + QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())), + ) + ] diff --git a/games/game_starwars-empire-at-war.py b/games/game_starwars-empire-at-war.py new file mode 100644 index 0000000..86df664 --- /dev/null +++ b/games/game_starwars-empire-at-war.py @@ -0,0 +1,30 @@ +# -*- encoding: utf-8 -*- + +import mobase +from PyQt5.QtCore import QFileInfo +from ..basic_game import BasicGame +from typing import List + + +class StarWarsEmpireAtWarGame(BasicGame): + Name = "STAR WARS Empire at War" + Author = "erri120" + Version = "1.0.0" + + GameName = "STAR WARS™ Empire at War" + GameShortName = "starwarsempireatwar" + GameNexusName = "starwarsempireatwar" + GameNexusId = 453 + GameSteamId = 32470 + GameGogId = 1421404887 + # using StarWarsG.exe instead of sweaw.exe because it has an icon + GameBinary = "GameData/StarWarsG.exe" + GameDataPath = "GameData/Data" + + def executables(self) -> List[mobase.ExecutableInfo]: + return [ + mobase.ExecutableInfo( + "STAR WARS Empire at War", + QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())), + ) + ] From e22f4c4c853a4cfab20dc86630b462d7a1cf0d94 Mon Sep 17 00:00:00 2001 From: erri120 Date: Fri, 30 Jul 2021 13:35:51 +0200 Subject: [PATCH 2/2] Update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f8ce0e9..7d5c506 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic | No Man's Sky - [GOG](https://www.gog.com/game/no_mans_sky) / [Steam](https://store.steampowered.com/app/275850/No_Mans_Sky/)|[EzioTheDeadPoet](https://eziothedeadpoet.github.io/AboutMe/)|[game_nomanssky.py](games/game_nomanssky.py)| | | S.T.A.L.K.E.R. Anomaly — [MOD](https://www.stalker-anomaly.com/) | [Qudix](https://github.com/Qudix) | [game_stalkeranomaly.py](games/game_stalkeranomaly.py) | | | Stardew Valley — [GOG](https://www.gog.com/game/stardew_valley) / [STEAM](https://store.steampowered.com/app/413150/Stardew_Valley/) | [Syer10](https://github.com/Syer10), [Holt59](https://github.com/holt59/) | [game_stardewvalley.py](games/game_stardewvalley.py) | | +| STAR WARS™ Empire at War: Gold Pack - [GOG](https://www.gog.com/game/star_wars_empire_at_war_gold_pack) / [STEAM](https://store.steampowered.com/app/32470/) | [erri120](https://github.com/erri120) | | | | The Witcher 3: Wild Hunt — [GOG](https://www.gog.com/game/the_witcher_3_wild_hunt) / [STEAM](https://store.steampowered.com/app/292030/The_Witcher_3_Wild_Hunt/) | [Holt59](https://github.com/holt59/) | [game_witcher3.py](games/game_witcher3.py) | | | Zeus and Poseidon — [GOG](https://www.gog.com/game/zeus_poseidon) / [STEAM](https://store.steampowered.com/app/566050/Zeus__Poseidon/) | [Holt59](https://github.com/holt59/) | [game_zeusandpoiseidon.py](games/game_zeusandpoiseidon.py) | |