Repository navigation
Rewrite modrix-gui with Rune - #1
Merged
Merged
Conversation
Replace the Iced GUI with a native GPU UI built on Rune and rune-kit, over the same engine and embedded service. No web view anywhere. - Screens in src/ui: dashboard, mods, load order, conflicts, downloads, games, settings, plus the FOMOD wizard and confirm dialogs. - Glass panels over the selected game's art, with the accent colour drawn from that art; light, dark and system appearance. - Engine I/O runs on its own thread (src/bus.rs). - Demo scenes (src/demo.rs) render headless snapshots with --snap out.png --scene <name>. - Toolchain bumped to 1.99.1 for Rune; new clippy lints fixed across the workspace. - deny.toml: drop the Iced-only exceptions, allow the Rune git source, add the build-time ar_archive_writer license exception.
Brings over the engine work that only lived in the SanDisk backup: Sons of the Forest IL2CPP interop (modrix-il2cpp, modrix-ecma335, modrix-interop-gen, the loaders/ tree and its game definition), game.toml api_version 3 ([launch], [mod_loader], [store], park_root_binaries), Engine::launch, loader_status and tail_log, the mod store client in modrix-service, and the matching CLI commands and MCP tools. Dependency licenses are no longer gated: cargo-deny checks advisories, bans and sources, and the license exceptions document is gone. The Rune GUI, its docs and its CI stay as they were.
TLS now uses rustls' ring provider. The alpha rustls-rustcrypto held back rustls-webpki (distrusted intermediates) and crypto-bigint (timing). zip goes to 9 and rusqlite to 0.43 for the zip extraction and SQLite advisories. The only ignores left are zbus "unmaintained" notices that come from Rune's accessibility bridge. The Linux test job installs libxkbcommon-dev, which Rune links.
Measured headless at 2560x1600 with Rune's frame profiler, sweeping the pointer over the Mods screen and scrolling: 33 fps before, 80 after, and CPU per frame down from 0.75 ms to 0.35 ms. - The backdrop's five full-window layers (soft wash, accent glow, hero, fade, tint) are flattened once on the art worker into one image (bake.rs). The renderer repainted each layer every frame, about 18 ms of a frame between them; El::cache did not help. - No live blur on the panels, sidebar or toasts. The glass is denser to stay readable without it. - The Mods table's filtered row list is cached by search text and a library generation instead of being rebuilt and lowercased twice per drawn row on every frame. - The idle tick reports a change only when progress, downloads or notes actually moved, so an idle window stops redrawing every two seconds.
- Right-click menus on mod rows (enable or disable, reinstall, installer options, copy staged path, delete) and on game cards (set active, manage mods, copy install path), built from the app's own menu. - A summary line under the Mods table: mods, enabled, plugins, asset-only and external counts. - The active game's cover across the full sidebar width with the wordmark over it; it is a drag region and gives way first on short windows. - Launch on the overview for games that declare how to start, plus the mod loader's state and the tail of the game's log. - A Mod store screen for games that declare a store: searchable catalog, one-click install that queues the mod and its dependencies through the download pipeline. - Fluid layout: the minimum window is 860x560, the Mods table drops Source then Installed when narrow, stat cards wrap, and form fields and the rule picker shrink instead of overflowing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the Iced GUI with a native GPU UI on Rune and rune-kit. Same engine, same embedded hand-off service, no web view.
What changed
crates/modrix-gui/src/ui: dashboard, mods, load order, conflicts, downloads, games, settings, the FOMOD wizard and confirm dialogs.src/bus.rs).src/demo.rs):modrix-gui --snap out.png --scene <name>.deny.toml: Iced-only exceptions removed, Rune git source allowed, build-timear_archive_writerlicense exception added.Checks
-D warnings, and all tests pass locally on Linux.cargo deny check licenses bans sourcespasses.advisoriesstill fails, but it already fails on master (zip, libsqlite3-sys, crypto-bigint, rustls-webpki, zbus/zvariant); this branch has fewer findings than master.