Files
modorganizer-basic_games/games/game_subnautica-below-zero.py
Zash 975506fab5 Fix for Subnautica 2.0 (#140)
* Fix subnautica starting in VR mode by default (adding seperate exe)
* Fix Subnautica 2.0, QMods deprecated
* Add use_qmods setting: Install */.dll mods in legacy QMods folder, instead of BepInEx/plugins (default).
* Version bump: Subnautica [Below Zero] v2.2
2024-03-15 16:52:53 +01:00

36 lines
1.2 KiB
Python

from __future__ import annotations
from ..basic_features 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.2"
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 _set_mod_data_checker(
self, extra_patterns: GlobPatterns | None = None, use_qmod: bool | None = None
):
super()._set_mod_data_checker(
GlobPatterns(unfold=["BepInExPack_BelowZero"]), use_qmod
)