forked from ModOrganizer2/modorganizer-basic_games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame_subnautica-below-zero.py
39 lines (32 loc) · 1.24 KB
/
game_subnautica-below-zero.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
from __future__ import annotations
import mobase
from ..basic_features.basic_mod_data_checker import GlobPatterns
from . import game_subnautica # namespace to not load SubnauticaGame here, too!
class SubnauticaBelowZeroGame(game_subnautica.SubnauticaGame):
Name = "Subnautica Below Zero Support Plugin"
Author = "dekart811, Zash"
Version = "2.1"
GameName = "Subnautica: Below Zero"
GameShortName = "subnauticabelowzero"
GameNexusName = "subnauticabelowzero"
GameSteamId = 848450
GameBinary = "SubnauticaZero.exe"
GameDataPath = "_ROOT"
GameDocumentsDirectory = "%GAME_PATH%"
GameSupportURL = (
r"https://github.com/ModOrganizer2/modorganizer-basic_games/wiki/"
"Game:-Subnautica:-Below-Zero"
)
GameSavesDirectory = r"%GAME_PATH%\SNAppData\SavedGames"
_game_extra_save_paths = [
r"%USERPROFILE%\Appdata\LocalLow\Unknown Worlds"
r"\Subnautica Below Zero\SubnauticaZero\SavedGames"
]
def init(self, organizer: mobase.IOrganizer) -> bool:
super().init(organizer)
self._featureMap[
mobase.ModDataChecker
] = game_subnautica.SubnauticaModDataChecker(
GlobPatterns(unfold=["BepInExPack_BelowZero"])
)
return True