Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 4.22 KB

gui-roadmap.md

File metadata and controls

77 lines (57 loc) · 4.22 KB

GUI Roadmap

This document tracks the library-first egui frontend work that sits on top of starbyte-frontend. The goal is to grow a practical desktop shell without pushing GUI or network concerns into starbyte-core.

Phase 1: Config And App-State Foundation

  • Expand persistent runtime config with audio, video, input, cheat, library, and advanced/cache sections.
  • Add explicit cache-root and config-path support that both CLI and GUI can share.
  • Keep the config file human-editable and print-config compatible with the expanded shape.
  • Keep GUI/library state out of starbyte-core emulation logic.

Phase 2: Library Scanning And Installed/Missing Model

  • Add frontend-neutral library types and snapshot/filter models in starbyte-frontend.
  • Scan configured ROM directories recursively for local SNES ROMs.
  • Normalize local ROM identity into stable game ids for merge/caching behavior.
  • Merge installed ROMs with metadata-only entries and surface present/missing state explicitly.
  • Support an installed-only filter across CLI and GUI surfaces.

Phase 3: Metadata And Cover Provider Integration

  • Add pluggable provider traits for metadata and cover retrieval.
  • Implement one concrete public metadata/cover provider.
  • Cache metadata under the XDG Starbyte cache's games/metadata/.
  • Cache cover images under the XDG Starbyte cache's games/covers/.
  • Expose multiple library presentation modes: list, grid, and detailed.

Phase 4: Cheats Integration And Per-Game Toggles

  • Add a pluggable cheat-provider trait.
  • Implement one concrete public cheat provider.
  • Cache cheats under the XDG Starbyte cache's games/cheats/.
  • Persist enabled cheat selections per game in runtime config.
  • Expose per-game cheat toggles in the properties UI.
  • Apply enabled cheats to the live emulator runtime.

Phase 5: CLI Cache-Management Commands

  • Add a dedicated library CLI command group.
  • Add manual scan, metadata refresh, cover refresh, cheat refresh, and refresh-all commands.
  • Support targeting by installed-only, game id, title, or ROM path.
  • Add machine-readable JSON output for library/cache operations.
  • Add a disabled ROM-download command surface that reports unsupported status clearly.

Phase 6: egui Library Browser Views And Filters

  • Replace the bootstrap shell with a library-first application layout.
  • Add top-bar search, filter, view-mode, and refresh controls.
  • Add ROM-directory management from the GUI.
  • Add list, grid, and detailed library views.
  • Clearly indicate which games are installed locally and which are metadata-only.
  • Keep emulator session controls available without making them the primary UI.

Phase 7: Context Menus, Properties, And Polish

  • Add per-game context menus with play/properties/refresh actions.
  • Add a properties window with local ROM info, provider info, and cache-adjacent details.
  • Add an “open ROM folder” action when a local ROM exists.
  • Add settings sections for audio, video, input, cheats, library, and advanced/cache options.
  • Keep the frontend thin by routing library/domain work through starbyte-frontend.
  • Add richer provider coverage and broader metadata fields beyond the first public provider pass.

Notes

  • ROM downloading is intentionally unsupported in v1.
  • Provider architecture leaves a future hook for ROM-download support without promising it now.
  • The current implementation is intended as a usable desktop library shell, not a final frontend polish pass.

Current player-facing acceptance

  • Provide a dedicated Play View with F9/Escape library navigation and nearest-neighbor scaling.
  • Support simple Play/Pause and memory-only F5/F8 quick save/load.
  • Verify all game-view controls on Linux/Wayland and fix keyboard/gamepad focus defects.
  • Offer persistent, user-friendly save slots and real sound output.
  • Validate a recognizably playable user-supplied game rather than relying on a frontend smoke check.

The older checked items above document delivered UI scaffolding; they do not establish native Wayland stability or commercial playability. For current readiness see status.