From 5467e210668eb24de9a4429ef0ddcbc6442e8932 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Thu, 19 Feb 2026 17:25:48 -0600 Subject: Add Python init diagnostics, AppImage build system, misc Linux fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - python: switch Py_InitializeEx → Py_InitializeFromConfig for explicit error reporting; add dladdr + fprintf diagnostics to trace which DSO Python symbols resolve to and whether Py_IsInitialized succeeds - python: log RTLD_NOLOAD vs fresh-load outcome when promoting libpython to RTLD_GLOBAL - build: add Docker-based AppImage build script (build.sh), update Dockerfile and build-inner.sh for AppImage-only workflow - build: remove Flatpak support entirely; move AppImage metadata (desktop/metainfo/icon) from flatpak/ to data/ - Add Monster Hunter Wilds basic_games plugin - .gitignore: exclude squashfs-root, build-source, flatpak-repo, __pycache__, fomod-plus-settings.ini - Various Linux port fixes across wineprefix, processrunner, proton launcher, FUSE connector, instance manager, download manager, sanitychecks, and NaK Rust paths/runtime_wrap Co-Authored-By: Claude Sonnet 4.6 --- libs/game_bethesda/src/*.cpp | 0 libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp | 4 +++- libs/game_bethesda/src/gamebryo/gamegamebryo.cpp | 6 +----- 3 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 libs/game_bethesda/src/*.cpp (limited to 'libs/game_bethesda/src/*.cpp') diff --git a/libs/game_bethesda/src/*.cpp b/libs/game_bethesda/src/*.cpp new file mode 100644 index 0000000..e69de29 diff --git a/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp b/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp index e4df0ea..4c1199c 100644 --- a/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp +++ b/libs/game_bethesda/src/gamebryo/gamebryolocalsavegames.cpp @@ -56,7 +56,9 @@ QString GamebryoLocalSavegames::localSavesDummy() const QDir GamebryoLocalSavegames::localSavesDirectory() const { - return QDir(m_Game->myGamesPath()).absoluteFilePath(localSavesDummy()); + QString dummy = localSavesDummy(); + dummy.replace("\\", "/"); + return QDir(m_Game->myGamesPath()).absoluteFilePath(dummy); } QDir GamebryoLocalSavegames::localGameDirectory() const diff --git a/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp b/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp index b53d823..4a92440 100644 --- a/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp +++ b/libs/game_bethesda/src/gamebryo/gamegamebryo.cpp @@ -494,11 +494,7 @@ QString GameGamebryo::myGamesPath() const return findInRegistry(HKEY_LOCAL_MACHINE, L"Software\\LOOT", L"Installed Path") + "/Loot.exe"; #else - // On Linux, look for loot in common locations - QString flatpakPath = QDir::homePath() + "/.var/app/io.github.loot.loot/data/LOOT/Loot"; - if (QFileInfo(flatpakPath).exists()) - return flatpakPath; - // Try system PATH + // On Linux, look for loot in PATH QString systemLoot = QStandardPaths::findExecutable("loot"); if (!systemLoot.isEmpty()) return systemLoot; -- cgit v1.3.1