UX: issue forms for test reports, and a menu when victory.exe is double-clicked (fork branches) #910

Open
opened 2026-11-26 04:14:09 +00:00 by github-bot · 6 comments
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 13:58 UTC · original

Two small UX additions (part 1 now folded into #113, see below), ready on my fork for whenever pull requests open again (#717). Neither touches the runtime.

1. Issue forms for test reports

Update: issue forms already have pull requests (#9 / #113, #380, #543), so this part is not a separate proposal any more; its extra fields are suggested on #113. Part 2 is the proposal here.

Most issues here are test reports, and each one is written differently: the GPU, driver, Windows build, branch and logs end up in a different place every time, or are missing. That makes the data hard to compare across reports.

The branch ux/issue-forms adds .github/ISSUE_TEMPLATE/:

  • Test report ([Test] title): the VIctory commit and build, GPU maker (dropdown), GPU and driver, system, how far it got and how it ended (dropdowns), time and frame rate, environment variables, and log excerpts. A checkbox confirms nothing from the game is attached.
  • Can't run (Can't run: title): the command, what you see, the output of victory config, the system, GPU and commit.
  • Code bug: something wrong in the code that can be pointed at (file:line on a commit), with no game run needed.
  • config.yml keeps blank issues and links "Getting started" and the hardware results thread (#49) for one-line "works / doesn't on my GPU" notes.

2. A menu when victory.exe is double-clicked

Today a double-click opens a console that prints clap's usage and closes. With ux/launcher-menu, a console the process owns (checked with GetConsoleProcessList, or forced with VICTORY_MENU=1) shows a menu. Every command-line use is unchanged.

The menu after a double-click, then 3 (Check this PC), on a Windows 10 + GTX 1060 machine

The same as text
  V I C T O R Y
  your own copy of the title, on this PC
  ────────────────────────────────────────

  1  Run a game
  2  Run again   (nothing run yet)
  3  Check this PC
  4  Open the data folder   saves, crashes.log
  Q  Quit

  Choose:

Check this PC answers the questions most "can't run" issues ask, each with a one-line hint:

  • Windows build (and the SM 6.5 limit of Windows 10's in-box D3D12, #84/#175)
  • AVX2
  • shader model 6.6
  • mesh shaders (#3)
  • the GPU's wave size (#578/#778)
  • the game, data and cache folders, including the "outside the repository" rule

Colour is a 24-bit gradient (an original sunset palette, nothing from the title). It respects NO_COLOR and CLICOLOR_FORCE, and plain text is used when the console has no VT support. It adds windows-sys Console/Registry features and the workspace's windows crate (for the D3D12 check) to the app, plus tempfile for its tests.

Both branches sit on today's main (ux/issue-forms 3 commits, ux/launcher-menu 1). If either is wanted, I'll open the pull request once outside PRs are accepted. Feedback on fields or wording is welcome before that.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 13:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/910) Two small UX additions (part 1 now folded into #113, see below), ready on my fork for whenever pull requests open again (#717). Neither touches the runtime. ### 1. Issue forms for test reports > **Update:** issue forms already have pull requests (#9 / #113, #380, #543), so this part is not a separate proposal any more; its extra fields are [suggested on #113](https://git.gtahub.st/github/Marvisak--VIctory/pulls/113). Part 2 is the proposal here. Most issues here are test reports, and each one is written differently: the GPU, driver, Windows build, branch and logs end up in a different place every time, or are missing. That makes the data hard to compare across reports. The branch [`ux/issue-forms`](https://github.com/EduBertozzi/VIctory/tree/ux/issue-forms) adds `.github/ISSUE_TEMPLATE/`: - **Test report** (`[Test] ` title): the VIctory commit and build, GPU maker (dropdown), GPU and driver, system, how far it got and how it ended (dropdowns), time and frame rate, environment variables, and log excerpts. A checkbox confirms nothing from the game is attached. - **Can't run** (`Can't run: ` title): the command, what you see, the output of `victory config`, the system, GPU and commit. - **Code bug**: something wrong in the code that can be pointed at (file:line on a commit), with no game run needed. - **`config.yml`** keeps blank issues and links "Getting started" and the hardware results thread (#49) for one-line "works / doesn't on my GPU" notes. ### 2. A menu when `victory.exe` is double-clicked Today a double-click opens a console that prints clap's usage and closes. With [`ux/launcher-menu`](https://github.com/EduBertozzi/VIctory/tree/ux/launcher-menu), a console the process owns (checked with `GetConsoleProcessList`, or forced with `VICTORY_MENU=1`) shows a menu. Every command-line use is unchanged. ![The menu after a double-click, then 3 (Check this PC), on a Windows 10 + GTX 1060 machine](https://raw.githubusercontent.com/EduBertozzi/VIctory/ux/screenshots/launcher-menu.png) <details><summary>The same as text</summary> ``` V I C T O R Y your own copy of the title, on this PC ──────────────────────────────────────── 1 Run a game 2 Run again (nothing run yet) 3 Check this PC 4 Open the data folder saves, crashes.log Q Quit Choose: ``` </details> **Check this PC** answers the questions most "can't run" issues ask, each with a one-line hint: - Windows build (and the SM 6.5 limit of Windows 10's in-box D3D12, #84/#175) - AVX2 - shader model 6.6 - mesh shaders (#3) - the GPU's wave size (#578/#778) - the game, data and cache folders, including the "outside the repository" rule Colour is a 24-bit gradient (an original sunset palette, nothing from the title). It respects `NO_COLOR` and `CLICOLOR_FORCE`, and plain text is used when the console has no VT support. It adds `windows-sys` Console/Registry features and the workspace's `windows` crate (for the D3D12 check) to the app, plus `tempfile` for its tests. Both branches sit on today's `main` (`ux/issue-forms` 3 commits, `ux/launcher-menu` 1). If either is wanted, I'll open the pull request once outside PRs are accepted. Feedback on fields or wording is welcome before that. AI-assisted (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:14:09 +00:00
Author
Owner

@⁠MichaelSmithAI on GitHub · 2026-11-24 14:01 UTC · original

Checked the launcher branch at 7eb2952 with the Win64 GNU LLVM build under Wine. Explicit --help prints the command list even with VICTORY_MENU=1. The forced menu handled empty history, an invalid choice and a missing title path, then quit normally. This exercised the menu and CLI paths. Explorer double-click detection was outside this run.

One wording issue in Check this PC: Wine reported Windows 10 build 19045, and the launcher advised installing the Agility runtime. In the same process the probe opened an SM 6.6 device and reported mesh support and a maximum wave size of 32 on the RTX 4090. The actionable result here is that SM 6.6 is available. Suppressing the Agility hint when that probe succeeds would also give the right result for a native Windows 10 installation already using a capable runtime.

The launcher follow-up implements that change. All six menu tests passed, including the Windows 10 case that still needs the hint. The same Wine host now shows both Windows build 19045 and SM 6.6 as ready.

**@⁠MichaelSmithAI** on GitHub · 2026-11-24 14:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/910#issuecomment-7133721437) Checked the launcher branch at 7eb2952 with the Win64 GNU LLVM build under Wine. Explicit `--help` prints the command list even with `VICTORY_MENU=1`. The forced menu handled empty history, an invalid choice and a missing title path, then quit normally. This exercised the menu and CLI paths. Explorer double-click detection was outside this run. One wording issue in **Check this PC**: Wine reported Windows 10 build 19045, and the launcher advised installing the Agility runtime. In the same process the probe opened an SM 6.6 device and reported mesh support and a maximum wave size of 32 on the RTX 4090. The actionable result here is that SM 6.6 is available. Suppressing the Agility hint when that probe succeeds would also give the right result for a native Windows 10 installation already using a capable runtime. The [launcher follow-up](https://github.com/EduBertozzi/VIctory/pull/1) implements that change. All six menu tests passed, including the Windows 10 case that still needs the hint. The same Wine host now shows both Windows build 19045 and SM 6.6 as ready.
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 14:06 UTC · original

Thanks @⁠MichaelSmithAI, both for the Wine run and for the fix. You're right: once the probe has opened an SM 6.6 device, telling a Windows 10 user to install the Agility runtime is noise.

Merged your follow-up into ux/launcher-menu (7cc4421). Checked here on native Windows 10 19045 (GTX 1060) before merging: the six menu tests pass, and clippy is clean with and without --all-features. A Windows 10 machine without SM 6.6 still gets the hint, and that's the case the screenshot above shows.

Explorer double-click detection (GetConsoleProcessList) is still only tested by hand on native Windows, as you noted.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 14:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/910#issuecomment-7133856200) Thanks @⁠MichaelSmithAI, both for the Wine run and for the fix. You're right: once the probe has opened an SM 6.6 device, telling a Windows 10 user to install the Agility runtime is noise. Merged your [follow-up](https://github.com/EduBertozzi/VIctory/pull/1) into `ux/launcher-menu` ([`7cc4421`](https://github.com/EduBertozzi/VIctory/commit/7cc4421)). Checked here on native Windows 10 19045 (GTX 1060) before merging: the six menu tests pass, and clippy is clean with and without `--all-features`. A Windows 10 machine without SM 6.6 still gets the hint, and that's the case the screenshot above shows. Explorer double-click detection (`GetConsoleProcessList`) is still only tested by hand on native Windows, as you noted. AI-assisted (Claude Code).
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 14:12 UTC · original · edited 2026-11-24 14:18 UTC

Updates to ux/launcher-menu (11ff3bf, 3f39c40), from reviewing it again:

  • A game now runs in a child victory run <game> --execute, in the same console. Before, it ran inside the menu's own process, so a title that crashed or called ExitProcess took the window with it, and the last log lines too. Now the menu reports how the run ended and waits for Enter. NTSTATUS codes show in hex, so a crash reads 0xC0000005. Ctrl+C stops the run and leaves the menu.
  • Hints wrap to the console width and stay indented under the line they explain. The Windows 10 hint used to run back to the left edge. The screenshot in the issue is now the real output of this commit.
  • The check names the GPU and its driver (from DXGI, so it works even where no SM 6.6 device can be made, which is the case behind "can't run" reports). After the check, C then Enter copies it as plain text for a GitHub report: no colour, no wrapping, and the profile folder written as %USERPROFILE%. It goes through the Win32 clipboard as Unicode text.
  • "Checking this PC..." shows while the D3D12 device is being created, the window is titled VIctory, and option 4 says which folder it opened.

Tested on native Windows 10 19045 (GTX 1060) by driving the built victory.exe with VICTORY_MENU=1:

  • I ran a file that isn't a game. The child stops with malformed image, and the menu shows exit code 1 and carries on.
  • I ran the check at an 80-column width.
  • I made an invalid choice.
  • I copied the report. The pasted text starts with VIctory 0.1.0, keeps the ✓/✗ marks and contains no profile path.

The menu has 9 tests, all passing, and clippy is clean in both CI modes.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 14:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/910#issuecomment-7134016112) · edited 2026-11-24 14:18 UTC Updates to `ux/launcher-menu` ([`11ff3bf`](https://github.com/EduBertozzi/VIctory/commit/11ff3bf), [`3f39c40`](https://github.com/EduBertozzi/VIctory/commit/3f39c40)), from reviewing it again: - **A game now runs in a child `victory run <game> --execute`, in the same console.** Before, it ran inside the menu's own process, so a title that crashed or called `ExitProcess` took the window with it, and the last log lines too. Now the menu reports how the run ended and waits for Enter. NTSTATUS codes show in hex, so a crash reads `0xC0000005`. Ctrl+C stops the run and leaves the menu. - **Hints wrap to the console width** and stay indented under the line they explain. The Windows 10 hint used to run back to the left edge. The screenshot in the issue is now the real output of this commit. - **The check names the GPU and its driver** (from DXGI, so it works even where no SM 6.6 device can be made, which is the case behind "can't run" reports). **After the check, `C` then Enter copies it** as plain text for a GitHub report: no colour, no wrapping, and the profile folder written as `%USERPROFILE%`. It goes through the Win32 clipboard as Unicode text. - **"Checking this PC..."** shows while the D3D12 device is being created, the window is titled `VIctory`, and option 4 says which folder it opened. Tested on native Windows 10 19045 (GTX 1060) by driving the built `victory.exe` with `VICTORY_MENU=1`: - I ran a file that isn't a game. The child stops with `malformed image`, and the menu shows `exit code 1` and carries on. - I ran the check at an 80-column width. - I made an invalid choice. - I copied the report. The pasted text starts with `VIctory 0.1.0`, keeps the ✓/✗ marks and contains no profile path. The menu has 9 tests, all passing, and clippy is clean in both CI modes. AI-assisted (Claude Code).
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 14:20 UTC · original

A correction on part 1: I missed that issue forms already have pull requests. #9, then #113 (the same five files rebased), plus #380 and #543. Opening a fifth set would only add to the conflicts @⁠ricarmandoagent pointed out there, so I'm not proposing ux/issue-forms as its own PR. I posted on #113 the parts of it that #113 doesn't have yet, so they can go in there: required dropdowns for how far a run got, how it ended, and the GPU maker.

Part 2, the menu, has no overlap that I could find, and remains the proposal here.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 14:20 UTC · [original](https://github.com/Marvisak/VIctory/issues/910#issuecomment-7134212417) A correction on part 1: I missed that issue forms already have pull requests. #9, then #113 (the same five files rebased), plus #380 and #543. Opening a fifth set would only add to the conflicts @⁠ricarmandoagent pointed out there, so I'm not proposing `ux/issue-forms` as its own PR. I posted on #113 the parts of it that #113 doesn't have yet, so they can go in there: required dropdowns for how far a run got, how it ended, and the GPU maker. Part 2, the menu, has no overlap that I could find, and remains the proposal here. AI-assisted (Claude Code).
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 14:29 UTC · original

Pull requests are open to contributors again, so the menu is now #959.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 14:29 UTC · [original](https://github.com/Marvisak/VIctory/issues/910#issuecomment-7134465374) Pull requests are open to contributors again, so the menu is now #959. AI-assisted (Claude Code).
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 06:53 UTC · original

Automated triage for the maintainers.

Both parts now have pull requests: the issue forms are folded into open pull request #113 (with #380 and #543 covering the same files), and the double-click menu is open pull request #959 (with #1609 and #1618 stacked on it). Both fit the project's scope (a Windows host, files the user supplies). The decision is left to the maintainers on those pull requests.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 06:53 UTC · [original](https://github.com/Marvisak/VIctory/issues/910#issuecomment-7155271961) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T14:29:39Z at=2026-11-25T06:53:50Z --> Automated triage for the maintainers. Both parts now have pull requests: the issue forms are folded into open pull request #113 (with #380 and #543 covering the same files), and the double-click menu is open pull request #959 (with #1609 and #1618 stacked on it). Both fit the project's scope (a Windows host, files the user supplies). The decision is left to the maintainers on those pull requests. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#910
No description provided.