Commit Graph
18 Commits
Author SHA1 Message Date
alex b37ba2e2d1 gui: Add a game (Library toolbar) and ADD on a folder found on disk: the desktop's file dialog picks the file that starts it, a second one asks its name, the library reloads; empty library: the keyboard reaches the toolbar 2026-11-24 16:18:45 +00:00
alex 6915d30215 doctor: say whether Enhance can work here (engine, venv, torch with CUDA, the model, ffmpeg, xrandr, xdg-open, a file dialog) 2026-11-24 16:10:09 +00:00
alex 8c5643c2b6 pad: open a controller before starting its reader (no thread churn on a device without permission); clippy clean
cargo clippy --workspace --all-targets: no warnings left.
2026-11-24 15:58:34 +00:00
alex cc48c3b4cd state: load-change-save under a flock (state::update), so the launcher and summit run no longer lose each other's changes
Every writer (add, pin, unpin, art, the session summit run records, the launcher's pin and artwork) goes through
state::update. Checked: two shells running 40 'summit pin' each at once: 80 pins with the lock, 77 with the old
binary.
2026-11-24 15:57:28 +00:00
alex fc838b95e9 run: a signal to summit stops the game and the engine and puts the display mode back; clips go to Videos/Summit/<game>
- summit-core::signals catches SIGTERM, SIGINT and SIGHUP (only an atomic store in the handler). supervise() and the
  new wait_or_stop() poll it, stop the engine and the game, and summit run leaves through its normal path, so the
  display mode is restored. Exits 128+signal. A try_wait error in supervise() now stops both before returning.
- Output in the Run arm can no longer panic on a closed terminal (after SIGHUP).
- summit run --title (the launcher passes the library title) is given to the engine as SUMMIT_GAME; clips are saved
  in Videos/Summit/<game>/ named '<game> <date>.mp4'. The toast shows the path with this system's separator, and
  before & after videos say 'Summit' instead of 'SmoovPlay'.

Checked: kill -TERM / -HUP / -INT to summit alone stopped a game script and its child (exit 143/129/130); with
--enhance and a stand-in engine, both stopped and the engine saw SUMMIT_GAME. Display restore after a signal was not
run (no X display here).
2026-11-24 15:51:20 +00:00
alex 19c4317806 run: name the command that could not be started 2026-11-24 08:08:15 +00:00
alex c073909f97 run: put the display mode back on every way out, errors included; add/art/enhance --out refuse non-UTF-8 paths instead of storing a mangled copy 2026-11-24 08:03:48 +00:00
alex 3d16bb6cf8 display: parse custom xrandr modes (1920x1080_120.00) and ask xrandr for them by name
Found on the KDE neon test VM, whose current mode is a custom one: the parser skipped it, so the current
mode was unknown and the restore after a game would have picked the 60 Hz mode of the same size.
2026-11-24 07:34:58 +00:00
alex 2089ec0ade Play through summit run: list real outputs, restore the mode after the game, detached launchers, per-game enhance flag
- display: Output/Mode, parsers for xrandr, kscreen-doctor -j and wlr-randr --json, outputs(), restore_profile()
- summit run: prints each display step, puts the old mode back when the game (or, detached, the engine) ends;
  --detached for commands that hand off and return (steam steam://rungameid/N); Steam ids are not tracked
- engine::supervise(detached): waits for the engine alone once the launcher command returned
- launch::plan(.., enhance): Steam and Lutris go through summit run; Steam enhance takes class:steam_app_<id>
- profile.enhance (old files load with it off); summit profile set --enhance; doctor lists outputs
- hotkey::status for the settings page
2026-11-24 07:27:50 +00:00
alex c97948db05 steam-shortcuts: name grid art by the 32-bit appid (current Steam convention); report CLI smoke test 2026-11-24 07:09:19 +00:00
alex 19f79a561d Add Steam non-Steam-shortcut support: binary VDF, shortcuts.vdf edit, grid art, CLI
Adds a binary KeyValues reader/writer (vdf_bin), a shortcuts module that
adds/removes userdata/<id>/config/shortcuts.vdf entries (backup before write,
refuses while Steam runs unless --force, preserves unknown fields, computes
Steam's own appid/grid-id), grid artwork installation with a custom-art ->
Steam-cache -> SteamGridDB fallback chain, a minimal SteamGridDB client, and
`summit steam-add`/`steam-remove` wired to a configurable shortcut list in
ui.toml (built-ins: My PS5, Capture Card). Shortcuts always launch through
`summit run`. No existing "Add to Steam" GUI button was found, so the GUI is
otherwise untouched.
2026-11-24 07:04:56 +00:00
alex cf3d148a10 cli: summit run <id> --enhance (launch, enhance the live window, stop both), enhance window:<title>, --no-watermark, profile --target-hz/--model 2026-11-24 06:45:44 +00:00
alex 45935cc402 core: ui.toml settings, launch plans, hero/logo art lookup, clip flags for the engine 2026-11-24 06:18:28 +00:00
alex aa1ffc41dd Frame-gen engine (SmoovPlay-derived), summit enhance, profile target_hz/model, NOTICE 2026-11-24 05:46:40 +00:00
alex 6807735d9e Add games/apps by hand (summit add), Custom source, README screenshots with Voidrunner 2026-11-24 05:29:45 +00:00
alex d939b515b7 Slint GUI (Home/Library/Unfiltered), Steam cover art, owned-game names, README screenshots 2026-11-24 05:14:18 +00:00
alex 35a340094d Playtime tracking, pins, custom artwork, .exe software detection, Wayland/X11 display profiles 2026-11-24 05:03:32 +00:00
alex 6cdd92ab00 Summit: Rust workspace with Steam/Heroic/Lutris scanner, heuristic detection and per-game profiles 2026-11-24 04:50:44 +00:00