aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/games/oblivion_remaster
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-14 02:45:12 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-14 02:45:25 -0600
commit817e8f5cd26739c69d930d21cd9dc4c0b6e4984e (patch)
tree52aed11d6751bb7d20b06acf197d56fac113203d /libs/basic_games/games/oblivion_remaster
parent51a9f8f197727f00896e5de44569b098923527dd (diff)
Add FUSE external mapping support, BG3/Oblivion Remastered fixes, fomod-plus and NaK integration
FUSE VFS now deploys non-data-dir mod mappings (Paks, OBSE, UE4SS, etc.) via real symlinks and injects file-level data-dir mappings (plugins.txt, loadorder.txt) into the VFS tree. Fixes game launches for Oblivion Remastered (Root Builder path resolution, script extender support) and BG3 (Wine prefix documents directory, file mapper symlinks on Linux). Vendors mo2-fomod-plus plugin and NaK crate for FOMOD installer and game finder/runtime support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/basic_games/games/oblivion_remaster')
-rw-r--r--libs/basic_games/games/oblivion_remaster/mod_data_checker.py2
-rw-r--r--libs/basic_games/games/oblivion_remaster/paks/model.py2
-rw-r--r--libs/basic_games/games/oblivion_remaster/paks/widget.py2
-rw-r--r--libs/basic_games/games/oblivion_remaster/script_extender.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/libs/basic_games/games/oblivion_remaster/mod_data_checker.py b/libs/basic_games/games/oblivion_remaster/mod_data_checker.py
index 51875b2..2105796 100644
--- a/libs/basic_games/games/oblivion_remaster/mod_data_checker.py
+++ b/libs/basic_games/games/oblivion_remaster/mod_data_checker.py
@@ -181,7 +181,7 @@ class OblivionRemasteredModDataChecker(mobase.ModDataChecker):
# Similar to the above, many mods pack files relative to the root game directory. Some common paths can be
# automatically moved into the appropriate directory structures to avoid needless iteration.
- exe_dir = filetree.find(r"OblivionRemastered\Binaries\Win64")
+ exe_dir = filetree.find("OblivionRemastered/Binaries/Win64")
if isinstance(exe_dir, mobase.IFileTree):
gamesettings_dir = exe_dir.find("GameSettings")
if isinstance(gamesettings_dir, mobase.IFileTree):
diff --git a/libs/basic_games/games/oblivion_remaster/paks/model.py b/libs/basic_games/games/oblivion_remaster/paks/model.py
index c43cec0..e4bfc44 100644
--- a/libs/basic_games/games/oblivion_remaster/paks/model.py
+++ b/libs/basic_games/games/oblivion_remaster/paks/model.py
@@ -39,7 +39,7 @@ class PaksModel(QAbstractItemModel):
profile = QDir(self._organizer.profilePath())
paks_txt = QFileInfo(profile.absoluteFilePath("paks.txt"))
if paks_txt.exists():
- with open(paks_txt.absoluteFilePath(), "r") as paks_file:
+ with open(paks_txt.absoluteFilePath(), "r", encoding="utf-8", errors="replace") as paks_file:
index = 0
for line in paks_file:
self.paks[index] = (line, "", "", "")
diff --git a/libs/basic_games/games/oblivion_remaster/paks/widget.py b/libs/basic_games/games/oblivion_remaster/paks/widget.py
index efc3038..40e21eb 100644
--- a/libs/basic_games/games/oblivion_remaster/paks/widget.py
+++ b/libs/basic_games/games/oblivion_remaster/paks/widget.py
@@ -52,7 +52,7 @@ class PaksTabWidget(QWidget):
paks_txt = QFileInfo(profile.absoluteFilePath("paks.txt"))
paks_list: list[str] = []
if paks_txt.exists():
- with open(paks_txt.absoluteFilePath(), "r") as paks_file:
+ with open(paks_txt.absoluteFilePath(), "r", encoding="utf-8", errors="replace") as paks_file:
for line in paks_file:
paks_list.append(line.strip())
return paks_list
diff --git a/libs/basic_games/games/oblivion_remaster/script_extender.py b/libs/basic_games/games/oblivion_remaster/script_extender.py
index 571e675..6f38c09 100644
--- a/libs/basic_games/games/oblivion_remaster/script_extender.py
+++ b/libs/basic_games/games/oblivion_remaster/script_extender.py
@@ -17,7 +17,7 @@ class OblivionRemasteredScriptExtender(mobase.ScriptExtender):
def loaderPath(self) -> str:
return (
self._game.gameDirectory().absolutePath()
- + "\\OblivionRemastered\\Binaries\\Win64\\"
+ + "/OblivionRemastered/Binaries/Win64/"
+ self.loaderName()
)