Skip to content

Add modern desktop GUI for Mandy - #2565

Open
ozqari wants to merge 1 commit into
ProjectLeonida:mainfrom
ozqari:main
Open

ozqari wants to merge 1 commit into
ProjectLeonida:mainfrom
ozqari:main

Conversation

@ozqari

@ozqari ozqari commented Nov 28, 2026

Copy link
Copy Markdown

Summary

Introduce a modern, feature-rich desktop GUI for Project Leonida's Mandy, improving usability and making game setup, building, configuration, and management accessible through a unified interface.

Proposed Features

  • Dashboard: Overview of project status, game installation, system information, and recent activity.
  • Build Center: Stage selection, build progress, live logs, error reporting, and cancellation.
  • Game Launcher: Launch the game and manage launch options.
  • Graphics Settings: Configure resolution (including 720p), display options, and graphics-related settings.
  • Mod Manager: Browse, install, enable, disable, and remove mods.
  • Save Manager: Manage save files and create backups.
  • System Diagnostics: Display CPU, GPU, RAM, storage, and available disk space.
  • Settings: Configure application preferences, paths, and work/output directories.

UI/UX

  • Modern dark-themed interface inspired by cyberpunk aesthetics.
  • Windows 11 compatibility.
  • Responsive layouts for different window sizes.
  • Clear navigation and consistent visual components.
  • Progress indicators and informative error messages.
  • Non-blocking background operations for long-running tasks.

Technical Considerations

  • Reuse existing Mandy scripts and build pipeline.
  • Preserve compatibility with existing configuration files.
  • Avoid duplicating existing game and build logic.
  • Keep the interface responsive during builds and other long-running operations.
  • Maintain compatibility with the existing launcher workflow.

Goals

Make Mandy easier to use, manage, and troubleshoot while providing a unified graphical interface for its existing and future capabilities.

Introduce a modern, feature-rich desktop GUI for Project Leonida's Mandy, improving usability and making game setup, building, configuration, and management accessible through a unified interface.

@GrahamboJangles GrahamboJangles left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2565 | head f856b7b (merges cleanly with main 33db04a, git merge-tree --write-output produced 0 conflict markers) | python -I tests/test_docs_repo_paths.py / test_docs_cli_flags.py / test_docs_python_deps.py / test_docs_table_ids.py / test_docs_list_items.py / test_docs_adjacent_fenced_blocks.py / test_docs_links.py, scripts/check_no_game_data.py, git diff --check | at PR head: repo_paths/cli_flags/python_deps FAILED (failures=1 each), identical to main (same three known pre-existing failures: docs/port_plan.md:164 fidelityfx paths, d3d12/docs/README-fxceless.md:268 flags, port_ctl.py missing from AGENTS.md — already claimed by #2551/#2552). table_ids/list_items/adjacent_fenced_blocks/links OK on both; new document adds NO new doc-test failures. Windows 11, Python 3.14.9 | AI-assisted: yes

What the diff actually is: one new file, MANDY_GUI_DEVELOPMENT_PLAN.md, 652 lines of prose, no code and no tests.

Claims checked against current main — the document is researched, not fabricated:

  • The five stage names match STAGES = ["check", "shaders", "assets", "runtime", "pipelines"] (make_game.py:80) exactly.
  • Every CLI option it lists (--check, --full-check, --wav, --runtime-build, --wave64-emulate, --descriptor-hash, --loop-limit, --compact-spirv, --no-float-controls, --bary-fallback, --texel-offset-fallback, --f16-interp-fallback, --mesh-compute, --native-mesh, --pc-tail-ubo, --no-tui, plus --game/--out/--work/--stages/--jobs/--find/--pick) is present in the make_game.py parser today.
  • All thirteen config keys it wants to preserve (game_dir, data_dir, mods_dir, dlss, ray_tracing, smooth_motion, precompile, series_x, quality, resolution, capture, log) exist in tools/leonida_launcher.py; the resolution set matches RESOLUTIONS = ("", "2160", "1440", "1080", "720", "540", "480") (tools/leonida_launcher.py:36).
  • The storage numbers (~30 GB shader work, ~370 GB assets export) match README.md:217 / README.md:230; "playable in the open world on Windows" for the D3D12 runtime matches README.md:33; "no verified first world frame" for the recompiled runtime/ is accurate — the README does not claim one.
  • All nine §14 links (Launcher.bat, tools/leonida_launcher.py, tools/leonida_mods.py, tools/leonida_saves.py, make_game.py, docs/launcher.md, scripts/play-d3d12.ps1, scripts/play-linux.sh) exist on main.
  • git diff --check clean, scripts/check_no_game_data.py clean, file is LF-only UTF-8.

What I think should change before this is acceptable:

  1. Protocol: the PR body carries no claim line. CONTRIBUTING requires claiming in the coordination issue first, and for an item not listed yet, a one-line description posted there and the ID repeated in the PR body (checklist item "It is claimed in the coordination issue by the pull request's author"). I searched #1608's comments for gui/launcher/control-center claims — none exists (the nearest prior art is #851, the native GUI launcher, only referenced by another claim). Please have the author post a claim on #1608 first so this work is coordinated and doesn't collide with a GUI implementation landing from elsewhere.
  2. Placement: 652 planning lines dropped at the repository root. The root carries only README.md, CONTRIBUTING.md and AGENTS.md; durable documentation lives under docs/. Suggest docs/gui-plan.md (the plan itself reserves docs/gui.md for the implementation docs, so keep those names apart).
  3. Framing: the PR title and body promise a "modern, feature-rich desktop GUI" but the diff ships no GUI at all — this reads as a spec, not a feature. Either retitle the PR as a plan document (and keep it a docs change with docs-test coverage, which it passes), or open an issue/discussion with this content and let the implementation come as its own claimed PRs following the plan's phases 1–5.
  4. Minor, inside the doc: the suggested layout puts a package at tools/mandy_gui/ under tools/, which today is a flat directory of single-file scripts; if that layout is deliberate, say so, otherwise suggest a top-level mandy_gui/ package to match how the repo organizes multi-file subsystems.

No merge or approve from me; reviewing as comment only.

@zmasi

zmasi commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

#2565 | head f856b7b (merged cleanly onto origin/main 48bae6c) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes

Independent Verification (Windows 11)

  • Diff & safety audit: Inspected 100% of the diff (+652/-0 adding MANDY_GUI_DEVELOPMENT_PLAN.md). Contains no copyrighted assets or game data; python -I scripts/check_no_game_data.py MANDY_GUI_DEVELOPMENT_PLAN.md passed (rc=0).
  • Merge & doc suite checks on #2565 + origin/main (48bae6cade):
    • Clean 3-way merge onto origin/main (48bae6cade).
    • tests/test_docs_links.py scoped check on MANDY_GUI_DEVELOPMENT_PLAN.md: 0 broken links.
    • python -I tests/test_docs_table_rows.py (2/2), tests/test_docs_repo_paths.py (5/5), tests/test_docs_encoding.py (1/1), tests/test_docs_list_items.py (3/3), and tests/test_docs_repeated_lines.py (3/3) all passed (OK).
  • Review notes against current origin/main:
    1. File placement: Design and architecture documents in this repository live under docs/ (and are indexed in docs/README.md, alongside docs/launcher.md) rather than adding a new uppercase .md plan file at the repository root.
    2. Current CLI flags: When mapping make_game.py advanced options (§5.3 / §8), note that current make_game.py also exposes --mesh-serial-waves (auto/on/off) alongside --wave64-emulate.

@timbot103 timbot103 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static review of f856b7b against 48bae6c. This PR adds a GUI development plan. Please update the plan before implementation.

  • MANDY_GUI_DEVELOPMENT_PLAN.md:148 and :476 — Separate folder selection, validation-only, and build commands. Bare --pick continues into the build workflow, and --check exits before any build stage.
  • MANDY_GUI_DEVELOPMENT_PLAN.md:445, :541, :542, and :558 — The Windows Play path loses the runtime's exit code, can write beneath a data folder inside the package, rotates old logs, and treats brackets in paths as wildcards. Specify exit propagation, destination containment, a retention policy, and literal path handling.
  • MANDY_GUI_DEVELOPMENT_PLAN.md:443 — Move Windows cancellation off the Tk thread and surface termination failures.
  • MANDY_GUI_DEVELOPMENT_PLAN.md:325 — Update shared settings persistence so edits from either launcher preserve the new GUI preferences.
  • MANDY_GUI_DEVELOPMENT_PLAN.md:63 and :396 — Document Tcl/Tk and display requirements, and specify the package entry point under python -I.

The patch whitespace and in-memory no-game-data checks passed. No builds or GPU tests ran.

AI-assisted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants