aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/games/game_dao.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/basic_games/games/game_dao.py')
-rw-r--r--libs/basic_games/games/game_dao.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/libs/basic_games/games/game_dao.py b/libs/basic_games/games/game_dao.py
new file mode 100644
index 0000000..bc3f87e
--- /dev/null
+++ b/libs/basic_games/games/game_dao.py
@@ -0,0 +1,31 @@
+import mobase
+
+from ..basic_features import BasicGameSaveGameInfo
+from ..basic_game import BasicGame
+
+
+class DAOriginsGame(BasicGame):
+ Name = "Dragon Age Origins Support Plugin"
+ Author = "Patchier"
+ Version = "1.1.1"
+
+ GameName = "Dragon Age: Origins"
+ GameShortName = "dragonage"
+ GameBinary = r"bin_ship\DAOrigins.exe"
+ GameDataPath = r"%DOCUMENTS%\BioWare\Dragon Age\packages\core\override"
+ GameSavesDirectory = r"%DOCUMENTS%\BioWare\Dragon Age\Characters"
+ GameSaveExtension = "das"
+ GameSteamId = [17450, 47810]
+ GameGogId = 1949616134
+ GameEaDesktopId = [70377, 70843]
+ GameSupportURL = (
+ r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
+ "Game:-Dragon-Age:-Origins"
+ )
+
+ def init(self, organizer: mobase.IOrganizer):
+ super().init(organizer)
+ self._register_feature(
+ BasicGameSaveGameInfo(lambda s: s.parent.joinpath("screen.dds"))
+ )
+ return True