Add modern desktop GUI for Mandy #2565

Closed
ozqari wants to merge 1 commit from upstream-pr/2565 into main
ozqari commented 2026-11-28 06:14:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by ozqari on 2026-11-28T06:14:23Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5537369147 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565). Originally posted by [ozqari](https://github.com/ozqari) on 2026-11-28T06:14:23Z. --- ## 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.
GrahamboJangles commented 2026-11-28 10:10:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by GrahamboJangles on 2026-11-28T10:10:08Z.

Review: CHANGES_REQUESTED


#2565 | head f856b7b0f1 (merges cleanly with main 33db04a701, 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.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6097187906 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565#pullrequestreview-6097187906). Originally posted by [GrahamboJangles](https://github.com/GrahamboJangles) on 2026-11-28T10:10:08Z. **Review:** CHANGES_REQUESTED --- #2565 | head f856b7b0f11be09e8dcc12e00fb9f258cf5ec733 (merges cleanly with main 33db04a7010e81c40a7a6a15624525aa0c4a3a58, `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 commented 2026-11-29 00:28:58 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T00:28:58Z.


#2565 | head f856b7b0f1 (merged cleanly onto origin/main 48bae6cade) | 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.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248142537 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565#issuecomment-7248142537). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-29T00:28:58Z. --- #2565 | head f856b7b0f11be09e8dcc12e00fb9f258cf5ec733 (merged cleanly onto origin/main 48bae6cade) | 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 commented 2026-11-29 01:06:09 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-29T01:06:09Z.

Review: COMMENTED


Static review of f856b7b0f against 48bae6cad. 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.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6100839875 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565#pullrequestreview-6100839875). Originally posted by [timbot103](https://github.com/timbot103) on 2026-11-29T01:06:09Z. **Review:** COMMENTED --- Static review of f856b7b0f against 48bae6cad. 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.
TheGeogeo commented 2026-11-29 17:12:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T17:12:51Z.


Tested f856b7b0f merged (no commit) with main 0bc6e21a1: Python 3.12.4, Windows 11 10.0.26300, CPU only.

  • The change is one planning document at the root (MANDY_GUI_DEVELOPMENT_PLAN.md), so no test can show a red.
  • No regression: the 13 tests/test_docs_*.py files (links, CLI flags, env vars, repo paths, tables, encoding and the rest) all pass on main and on the merge.
  • No game data check passes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259513300 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565#issuecomment-7259513300). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T17:12:51Z. --- Tested f856b7b0f merged (no commit) with main 0bc6e21a1: Python 3.12.4, Windows 11 10.0.26300, CPU only. - The change is one planning document at the root (`MANDY_GUI_DEVELOPMENT_PLAN.md`), so no test can show a red. - No regression: the 13 `tests/test_docs_*.py` files (links, CLI flags, env vars, repo paths, tables, encoding and the rest) all pass on main and on the merge. - No game data check passes. AI-assisted (Claude Code).
fiestorra commented 2026-11-29 17:26:15 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T17:26:15Z.


Two mechanical points and then I will leave the content alone, since a development plan is a decision rather than a test.

It applies cleanly. Cherry-picked onto origin/main 4364a4fa6: one new file, no conflicts, even though the branch is 1713 commits behind - so a rebase is
cheap if the maintainers want the diff to be one file.

The location breaks a convention that is easy to follow instead. main's root holds exactly three Markdown files - AGENTS.md, CONTRIBUTING.md and
README.md - and the repository's existing plan lives in docs/port_plan.md. A root-level MANDY_GUI_DEVELOPMENT_PLAN.md would be the first plan in the root
and the only file named in capitals, so docs/gui_development_plan.md (or docs/gui_plan.md) would match both patterns and still be found by anyone reading
docs/.

That is all I checked: the file applies and where the repository puts this kind of document. I have not reviewed whether the plan itself is a good one, and I am
not the person to - but the two changes above cost nothing and make the pull request look like the rest of the tree.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259689760 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565#issuecomment-7259689760). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-11-29T17:26:15Z. --- Two mechanical points and then I will leave the content alone, since a development plan is a decision rather than a test. **It applies cleanly.** Cherry-picked onto `origin/main` `4364a4fa6`: one new file, no conflicts, even though the branch is 1713 commits behind - so a rebase is cheap if the maintainers want the diff to be one file. **The location breaks a convention that is easy to follow instead.** `main`'s root holds exactly three Markdown files - `AGENTS.md`, `CONTRIBUTING.md` and `README.md` - and the repository's existing plan lives in `docs/port_plan.md`. A root-level `MANDY_GUI_DEVELOPMENT_PLAN.md` would be the first plan in the root and the only file named in capitals, so `docs/gui_development_plan.md` (or `docs/gui_plan.md`) would match both patterns and still be found by anyone reading `docs/`. That is all I checked: the file applies and where the repository puts this kind of document. I have not reviewed whether the plan itself is a good one, and I am not the person to - but the two changes above cost nothing and make the pull request look like the rest of the tree. Written with an AI assistant.
DadaCap commented 2026-11-29 18:27:05 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-29T18:27:05Z.


Thank you for the idea and the detailed plan. I'm closing this pull request because it adds no code: it is a single 652-line plan document (MANDY_GUI_DEVELOPMENT_PLAN.md) at the repository root, while the title says it adds a desktop GUI. A plan like this fits better as an issue, where it can be discussed and split into items that people claim in the coordination issue; a later pull request that implements one of those items, with tests, would be reviewed normally. (AI-assisted, posted for DadaCap after his review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7260492512 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2565#issuecomment-7260492512). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-29T18:27:05Z. --- Thank you for the idea and the detailed plan. I'm closing this pull request because it adds no code: it is a single 652-line plan document (MANDY_GUI_DEVELOPMENT_PLAN.md) at the repository root, while the title says it adds a desktop GUI. A plan like this fits better as an issue, where it can be discussed and split into items that people claim in the coordination issue; a later pull request that implements one of those items, with tests, would be reviewed normally. (AI-assisted, posted for DadaCap after his review.)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2565
No description provided.