From 7ee008e150bc5bcf76082d726f719ee0fdfda982 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Wed, 11 Feb 2026 02:37:39 -0600 Subject: Fluorine Manager: full Linux port of Mod Organizer 2 Complete native Linux port with FUSE-based virtual filesystem, Proton/umu-run integration, and Flatpak packaging. Key features: - FUSE VFS replacing Windows USVFS (in-process + standalone helper for Flatpak) - Proton/GE-Proton/umu-run launcher with env var forwarding - Flatpak support (sandbox-aware VFS, NXM handler, umu-run) - Wine prefix management UI - Case-insensitive path resolution for Linux filesystems - QSettings-safe INI handling (avoids Bethesda INI corruption) - Portable instance support with auto-generated launcher scripts Co-Authored-By: Claude Opus 4.6 --- .../src/gamebryo/gamebryomoddatacontent.h | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 libs/game_gamebryo/src/gamebryo/gamebryomoddatacontent.h (limited to 'libs/game_gamebryo/src/gamebryo/gamebryomoddatacontent.h') diff --git a/libs/game_gamebryo/src/gamebryo/gamebryomoddatacontent.h b/libs/game_gamebryo/src/gamebryo/gamebryomoddatacontent.h new file mode 100644 index 0000000..be02331 --- /dev/null +++ b/libs/game_gamebryo/src/gamebryo/gamebryomoddatacontent.h @@ -0,0 +1,75 @@ +#ifndef GAMEBRYO_MODDATACONTENT_H +#define GAMEBRYO_MODDATACONTENT_H + +#include +#include + +namespace MOBase +{ +class IGameFeatures; +} + +/** + * @brief ModDataContent for GameBryo games. + * + */ +class GamebryoModDataContent : public MOBase::ModDataContent +{ +protected: + /** + * Note: These are used to index m_Enabled so should have standard + * enum values, not custom ones. + */ + enum EContent + { + CONTENT_PLUGIN, + CONTENT_OPTIONAL, + CONTENT_TEXTURE, + CONTENT_MESH, + CONTENT_BSA, + CONTENT_INTERFACE, + CONTENT_SOUND, + CONTENT_SCRIPT, + CONTENT_SKSE, + CONTENT_SKSE_FILES, + CONTENT_SKYPROC, + CONTENT_MCM, + CONTENT_INI, + CONTENT_FACEGEN, + CONTENT_MODGROUP + }; + + /** + * This is the first value that can be used for game-specific contents. + */ + constexpr static auto CONTENT_NEXT_VALUE = CONTENT_MODGROUP + 1; + +public: + /** + * + */ + GamebryoModDataContent(const MOBase::IGameFeatures* gameFeatures); + + /** + * @return the list of all possible contents for the corresponding game. + */ + virtual std::vector getAllContents() const override; + + /** + * @brief Retrieve the list of contents in the given tree. + * + * @param fileTree The tree corresponding to the mod to retrieve contents for. + * + * @return the IDs of the content in the given tree. + */ + virtual std::vector + getContentsFor(std::shared_ptr fileTree) const override; + +protected: + MOBase::IGameFeatures const* const m_GameFeatures; + + // List of enabled contents: + std::vector m_Enabled; +}; + +#endif // GAMEBRYO_MODDATACONTENT_H -- cgit v1.3.1