Frontend: Introduce Integrated Mod Downloader and Revamp Add-ons UI #99
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mod-installer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit introduces a comprehensive mod management system for Citron, allowing users to browse, download, and install performance enhancements and graphical patches directly from the Citron Mod Repository.
Key features and changes include:
Integrated Mod Downloader: Created a new ModService and ModDownloaderDialog that interact with a GitHub-hosted manifest. The system intelligently checks for mod availability in the background and displays a "Download Enhancement Mods" button only when compatible content is found.
Hierarchical Add-ons UI: Redesigned the per-game Add-ons configuration tab to use a tree-view structure. Mods are now neatly grouped by their respective game update versions (e.g., 1.0.0, 2.0.0), mirroring the new repository folder structure.
Context Menu Actions: Added a right-click context menu to mod group headers, allowing users to instantly check or uncheck all mods within a specific folder.
Core Patch Discovery: Updated the core PatchManager logic to support recursive directory scanning. Citron can now identify and load LayeredFS, IPSwitch, and Cheat patches stored within nested hierarchical folders, ensuring compatibility with the new version-grouped organization.
Persistence and Mapping: Implemented a UserRole data mapping system to ensure mod enable/disable states are correctly saved to configuration files using internal path names, preventing settings from resetting between sessions.
This update significantly streamlines the modding process, bringing a user-friendly, one-click experience to Citron that eliminates the need for manual file manipulation.