-
Notifications
You must be signed in to change notification settings - Fork 54
/
game_divinityoriginalsin.py
39 lines (34 loc) · 1.2 KB
/
game_divinityoriginalsin.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
36
37
38
39
import mobase
from ..basic_features import BasicGameSaveGameInfo
from ..basic_game import BasicGame
class DivinityOriginalSinGame(BasicGame):
Name = "Divinity: Original Sin (Classic) Support Plugin"
Author = "LostDragonist"
Version = "1.0.0"
GameName = "Divinity: Original Sin (Classic)"
GameShortName = "divinityoriginalsin"
GameNexusName = "divinityoriginalsin"
GameValidShortNames = ["divinityoriginalsin"]
GameNexusId = 573
GameSteamId = [230230]
GameBinary = "Shipping/EoCApp.exe"
GameDataPath = "Data"
GameSaveExtension = "lsv" # Not confirmed
GameDocumentsDirectory = (
"%USERPROFILE%/Documents/Larian Studios/Divinity Original Sin"
)
GameSavesDirectory = (
"%USERPROFILE%/Documents/Larian Studios/Divinity Original Sin/PlayerProfiles"
)
GameSupportURL = (
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
"Game:-Divinity:-Original-Sin"
)
def init(self, organizer: mobase.IOrganizer):
super().init(organizer)
self._register_feature(
BasicGameSaveGameInfo(
lambda s: s.with_suffix(".png") # Not confirmed
)
)
return True