feat(branding,release): ship MiniVI.exe, align UI/docs branding, feature MiniVI-Launcher, and add release workflow #286

Manually merged
github merged 2 commits from gh-pr/286/head into gh-pr/286/base 2026-12-01 20:26:18 +00:00
Owner

@⁠Androtim on GitHub · 2026-12-01 14:00 UTC · original
Androtim:feat/minivi-branding-and-release-workflow → main · +308 −72 · 11 files · 2 commits · merged 2026-12-01 15:20 UTC

Implements the [USER PRIORITY] directives from Issue #276 (Comments #9 and #10):

Summary of Changes

  • Executable & CLI branding (MiniVI.exe):
    • Added [[bin]] name = MiniVI (default-run = MiniVI) in apps/victory/Cargo.toml, updated apps/victory/tests/census.rs to CARGO_BIN_EXE_MiniVI, updated clap CLI name in apps/victory/src/main.rs, and aligned user-facing CLI hints and play log prefix (minivi-play-) in apps/victory/src/play.rs.
  • User-facing UI branding:
    • Updated window caption suffix in crates/victory-gpu/src/host.rs from VIctory-NVIDIA to MiniVI.
    • Updated F1 settings menu header (MINIVI SETTINGS), footer repo (GITHUB.COM/ANDROTIM/MINIVI), and save note (MINIVI.EXE) in crates/victory-gpu/src/host/menu.rs.
    • Added MINIVI STATS (F3) F1: MENU header line (LINES = 14) to the F3 stats panel in crates/victory-gpu/src/host/panel.rs.
  • Scripts & README (featuring MiniVI-Launcher):
    • Updated scripts/play-minivi.ps1 and scripts/verify-world.ps1 to resolve MiniVI.exe / MiniVI_sm.exe (with victory.exe fallback).
    • Updated README.md Quick Start to prominently recommend MiniVI-Launcher alongside direct MiniVI.exe CLI usage (including .\MiniVI.exe play --res 4k --dlss quality), preserving %LOCALAPPDATA%\victory / VICTORY_* compatibility and GPL-3.0 upstream attribution.
  • GitHub Release workflow:
    • Added .github/workflows/release.yml triggered on v* tags / workflow_dispatch: runs cargo xtask policy, builds plain --release --locked --bin MiniVI, verifies D3D12SDKVersion/D3D12SDKPath PE32+ exports and standard Windows system DLL imports only, writes MiniVI.exe.sha256, and publishes GitHub Releases on v* tags.

Preserved Compatibility

  • crates/victory-* crate names/module layout, VICTORY_* env vars, and %LOCALAPPDATA%\victory data/cache/save paths are unchanged.
  • 100% title-neutral.

Verification

  • cargo +1.98.1-x86_64-pc-windows-gnu xtask policy: 318 files ok (host.rs 641,874 bytes <= 655,360 limit)
  • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory --locked: 38 unit + 2 census tests PASS
  • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --locked host::menu::tests -- --test-threads=1: 6/6 PASS
  • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --locked host::panel::tests -- --test-threads=1: 7/7 PASS
  • Dual workspace clippy --workspace --all-targets --locked -- -D warnings (default + --features diagnostics): PASS (0 warnings)
  • cargo +1.98.1-x86_64-pc-windows-gnu build --release --bin MiniVI --locked + objdump -p PE check: PASS (standard Windows system DLLs only; exports D3D12SDKPath & D3D12SDKVersion; 61,693,866 bytes)
**@⁠Androtim** on GitHub · 2026-12-01 14:00 UTC · [original](https://github.com/Androtim/MiniVI/pull/286) `Androtim:feat/minivi-branding-and-release-workflow` → `main` · +308 −72 · 11 files · 2 commits · merged 2026-12-01 15:20 UTC Implements the `[USER PRIORITY]` directives from Issue #276 (Comments #9 and #10): ### Summary of Changes - **Executable & CLI branding (`MiniVI.exe`):** - Added `[[bin]] name = MiniVI` (`default-run = MiniVI`) in `apps/victory/Cargo.toml`, updated `apps/victory/tests/census.rs` to `CARGO_BIN_EXE_MiniVI`, updated clap CLI name in `apps/victory/src/main.rs`, and aligned user-facing CLI hints and play log prefix (`minivi-play-`) in `apps/victory/src/play.rs`. - **User-facing UI branding:** - Updated window caption suffix in `crates/victory-gpu/src/host.rs` from `VIctory-NVIDIA` to `MiniVI`. - Updated `F1` settings menu header (`MINIVI SETTINGS`), footer repo (`GITHUB.COM/ANDROTIM/MINIVI`), and save note (`MINIVI.EXE`) in `crates/victory-gpu/src/host/menu.rs`. - Added `MINIVI STATS (F3) F1: MENU` header line (`LINES = 14`) to the `F3` stats panel in `crates/victory-gpu/src/host/panel.rs`. - **Scripts & README (featuring `MiniVI-Launcher`):** - Updated `scripts/play-minivi.ps1` and `scripts/verify-world.ps1` to resolve `MiniVI.exe` / `MiniVI_sm.exe` (with `victory.exe` fallback). - Updated `README.md` Quick Start to prominently recommend **[MiniVI-Launcher](https://github.com/Androtim/MiniVI-Launcher)** alongside direct `MiniVI.exe` CLI usage (including `.\MiniVI.exe play --res 4k --dlss quality`), preserving %LOCALAPPDATA%\victory / `VICTORY_*` compatibility and GPL-3.0 upstream attribution. - **GitHub Release workflow:** - Added `.github/workflows/release.yml` triggered on `v*` tags / `workflow_dispatch`: runs `cargo xtask policy`, builds plain `--release --locked --bin MiniVI`, verifies `D3D12SDKVersion`/`D3D12SDKPath` PE32+ exports and standard Windows system DLL imports only, writes `MiniVI.exe.sha256`, and publishes GitHub Releases on `v*` tags. ### Preserved Compatibility - `crates/victory-*` crate names/module layout, `VICTORY_*` env vars, and `%LOCALAPPDATA%\victory` data/cache/save paths are unchanged. - 100% title-neutral. ### Verification - `cargo +1.98.1-x86_64-pc-windows-gnu xtask policy`: **318 files ok** (`host.rs` 641,874 bytes <= 655,360 limit) - `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory --locked`: **38 unit + 2 `census` tests PASS** - `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --locked host::menu::tests -- --test-threads=1`: **6/6 PASS** - `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --locked host::panel::tests -- --test-threads=1`: **7/7 PASS** - Dual workspace `clippy --workspace --all-targets --locked -- -D warnings` (default + `--features diagnostics`): **PASS (0 warnings)** - `cargo +1.98.1-x86_64-pc-windows-gnu build --release --bin MiniVI --locked` + `objdump -p` PE check: **PASS** (standard Windows system DLLs only; exports `D3D12SDKPath` & `D3D12SDKVersion`; 61,693,866 bytes)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:26:06 +00:00
github manually merged commit aa1b2efd0e into gh-pr/286/base 2026-12-01 20:26:18 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-12-01 14:04 UTC · original · edited 2026-12-01 15:04 UTC

Automated triage for the maintainers (not an approval).

Verdict: merge-candidate · CI (check): passing

Review Summary — PR #286

Verdict: merge-candidate (CI passing; logic, PE verification, and compatibility look clean with no real-GPU regression risk).

What was verified

  • Executable & CLI branding (apps/victory/Cargo.toml, apps/victory/src/main.rs, apps/victory/tests/census.rs): Adds default-run = "MiniVI" and [[bin]] name = "MiniVI", updates clap name = "MiniVI", and updates census.rs to CARGO_BIN_EXE_MiniVI.
  • Chronological log rotation (apps/victory/src/play.rs): Switches LOG_PREFIX to "minivi-play-" and adds log_order_key so mixed-prefix logs (minivi-play-, victory-nvidia-play-, play-) sort by timestamp rather than prefix (avoiding premature deletion of newer minivi-play- logs). Covered by log_file_prunes_oldest_across_mixed_prefixes. Backward compatibility for %LOCALAPPDATA%\victory, victory-settings.txt, and VICTORY_* env vars is preserved.
  • Host UI branding (crates/victory-gpu/src/host.rs, host/menu.rs, host/panel.rs):
    • Meter caption switches to MiniVI and omits the leading | separator when caption is empty.
    • menu.rs updates REPO, header (MINIVI SETTINGS), and save note (MINIVI.EXE), all fitting within COLUMNS and covered by unit tests.
    • panel.rs bumps LINES from 13 to 14 and prepends 40-char HEADER (MINIVI STATS (F3) F1: MENU). Shape / size() / lit() derive the panel height and graph offset dynamically from LINES, and the_pc_lines_fit checks both column width and glyph coverage.
  • Scripts, README & Release workflow (scripts/play-minivi.ps1, scripts/verify-world.ps1, README.md, .github/workflows/release.yml):
    • Scripts resolve MiniVI.exe/MiniVI_sm.exe with victory.exe/victory_sm.exe fallback.
    • .github/workflows/release.yml pins action SHAs, runs cargo xtask policy, builds --release --locked --bin MiniVI, verifies PE32+ D3D12SDKVersion/D3D12SDKPath exports and standard Windows system DLL imports, generates MiniVI.exe.sha256, and publishes Releases on v* tags. External links in README.md and release.yml point only to Androtim/MiniVI and Androtim/MiniVI-Launcher.

(Automated technical review — not a formal maintainer approval.)


Generated with Antigravity CLI (agy).

**@⁠Androtim** on GitHub · 2026-12-01 14:04 UTC · [original](https://github.com/Androtim/MiniVI/pull/286#issuecomment-7313646367) · edited 2026-12-01 15:04 UTC <!-- minivi-triage v1 head=aa1b2efd0ec6eaaf0f02032a3da8b545cece9621 verdict=merge-candidate ci=passing at=2026-12-01T15:04:50Z --> Automated triage for the maintainers (not an approval). **Verdict:** `merge-candidate` · **CI (`check`):** `passing` ### Review Summary — PR #286 **Verdict:** `merge-candidate` (CI passing; logic, PE verification, and compatibility look clean with no real-GPU regression risk). #### What was verified - **Executable & CLI branding (`apps/victory/Cargo.toml`, `apps/victory/src/main.rs`, `apps/victory/tests/census.rs`):** Adds `default-run = "MiniVI"` and `[[bin]] name = "MiniVI"`, updates clap `name = "MiniVI"`, and updates `census.rs` to `CARGO_BIN_EXE_MiniVI`. - **Chronological log rotation (`apps/victory/src/play.rs`):** Switches `LOG_PREFIX` to `"minivi-play-"` and adds `log_order_key` so mixed-prefix logs (`minivi-play-`, `victory-nvidia-play-`, `play-`) sort by timestamp rather than prefix (avoiding premature deletion of newer `minivi-play-` logs). Covered by `log_file_prunes_oldest_across_mixed_prefixes`. Backward compatibility for `%LOCALAPPDATA%\victory`, `victory-settings.txt`, and `VICTORY_*` env vars is preserved. - **Host UI branding (`crates/victory-gpu/src/host.rs`, `host/menu.rs`, `host/panel.rs`):** - `Meter` caption switches to `MiniVI` and omits the leading ` | ` separator when `caption` is empty. - `menu.rs` updates `REPO`, header (`MINIVI SETTINGS`), and save note (`MINIVI.EXE`), all fitting within `COLUMNS` and covered by unit tests. - `panel.rs` bumps `LINES` from `13` to `14` and prepends 40-char `HEADER` (`MINIVI STATS (F3) F1: MENU`). `Shape` / `size()` / `lit()` derive the panel height and graph offset dynamically from `LINES`, and `the_pc_lines_fit` checks both column width and glyph coverage. - **Scripts, README & Release workflow (`scripts/play-minivi.ps1`, `scripts/verify-world.ps1`, `README.md`, `.github/workflows/release.yml`):** - Scripts resolve `MiniVI.exe`/`MiniVI_sm.exe` with `victory.exe`/`victory_sm.exe` fallback. - `.github/workflows/release.yml` pins action SHAs, runs `cargo xtask policy`, builds `--release --locked --bin MiniVI`, verifies PE32+ `D3D12SDKVersion`/`D3D12SDKPath` exports and standard Windows system DLL imports, generates `MiniVI.exe.sha256`, and publishes Releases on `v*` tags. External links in `README.md` and `release.yml` point only to `Androtim/MiniVI` and `Androtim/MiniVI-Launcher`. *(Automated technical review — not a formal maintainer approval.)* --- _Generated with Antigravity CLI (`agy`)._
Author
Owner

@⁠Androtim on GitHub · 2026-12-01 14:12 UTC · original

Fixed the log_file() rotation sort bug on head aa1b2efd:

  • Added log_order_key() in apps/victory/src/play.rs so log_file() sorts by timestamp suffix + (prefix == LOG_PREFIX) instead of full filename string, ensuring minivi-play-* logs are never pruned ahead of older victory-nvidia-play-* or play-* logs.
  • Added unit test play::tests::log_file_prunes_oldest_across_mixed_prefixes covering mixed minivi-play-*, victory-nvidia-play-*, and play-* rotation.

Verification (aa1b2efd)

  • cargo +1.98.1-x86_64-pc-windows-gnu xtask policy: 318 files ok
  • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory --locked: 39 unit + 2 census PASS
  • Dual workspace clippy --workspace --all-targets --locked -- -D warnings (default + --features diagnostics): PASS (0 warnings)
  • Plain --release --bin MiniVI 20s real-GPU smoke test (VICTORY_PANEL=1, Series X 1440p + DLSS Quality, RTX 4060 Ti 8 GB): PASS (
    eached 3D world max_draws=5,872, 11.9 fps, crashes=0,
    o_host_texture_errors=0, over=0 MB at 5,826 / 6,678 MB,
    oom_false=0.0%, other_bytes=0, showed_another_view=0, 14-line MINIVI STATS (F3) panel enabled live).
**@⁠Androtim** on GitHub · 2026-12-01 14:12 UTC · [original](https://github.com/Androtim/MiniVI/pull/286#issuecomment-7313879118) Fixed the `log_file()` rotation sort bug on head `aa1b2efd`: - Added `log_order_key()` in `apps/victory/src/play.rs` so `log_file()` sorts by timestamp suffix + `(prefix == LOG_PREFIX)` instead of full filename string, ensuring `minivi-play-*` logs are never pruned ahead of older `victory-nvidia-play-*` or `play-*` logs. - Added unit test `play::tests::log_file_prunes_oldest_across_mixed_prefixes` covering mixed `minivi-play-*`, `victory-nvidia-play-*`, and `play-*` rotation. ### Verification (`aa1b2efd`) - `cargo +1.98.1-x86_64-pc-windows-gnu xtask policy`: **318 files ok** - `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory --locked`: **39 unit + 2 `census` PASS** - Dual workspace `clippy --workspace --all-targets --locked -- -D warnings` (default + `--features diagnostics`): **PASS (0 warnings)** - Plain `--release --bin MiniVI` 20s real-GPU smoke test (`VICTORY_PANEL=1`, Series X 1440p + DLSS Quality, RTX 4060 Ti 8 GB): **PASS** ( eached 3D world max_draws=5,872, 11.9 fps, crashes=0, o_host_texture_errors=0, over=0 MB at 5,826 / 6,678 MB, oom_false=0.0%, other_bytes=0, showed_another_view=0, 14-line MINIVI STATS (F3) panel enabled live).
Author
Owner

@⁠Androtim on GitHub · 2026-12-01 15:20 UTC · original

Architect & Strict-Gate Review (aa1b2efd, CI passing, minivi-triage verdict merge-candidate):

Implements both [USER PRIORITY] directives cleanly (MiniVI.exe binary target, UI/CLI/docs branding, MiniVI-Launcher Quick Start recommendation, .github/workflows/release.yml with pinned action SHAs and PE32+ export/import verification) while preserving crates/victory-*, VICTORY_*, and %LOCALAPPDATA%\victory compatibility.

  • Static/test gates: xtask policy (318 files ok), victory (39+2 tests), host::menu (6/6), host::panel (7/7), dual clippy -D warnings, objdump -p PE32+ check (standard Windows system DLLs only), and 20s plain --release --bin MiniVI real-GPU smoke test (0 crashes, over = 0 MB, room_false = 0.0%).
  • Zero file overlap with #287.

Squash-merging into main.

**@⁠Androtim** on GitHub · 2026-12-01 15:20 UTC · [original](https://github.com/Androtim/MiniVI/pull/286#issuecomment-7315740396) Architect & Strict-Gate Review (`aa1b2efd`, CI passing, `minivi-triage` verdict `merge-candidate`): Implements both `[USER PRIORITY]` directives cleanly (`MiniVI.exe` binary target, UI/CLI/docs branding, `MiniVI-Launcher` Quick Start recommendation, `.github/workflows/release.yml` with pinned action SHAs and PE32+ export/import verification) while preserving `crates/victory-*`, `VICTORY_*`, and `%LOCALAPPDATA%\victory` compatibility. - Static/test gates: `xtask policy` (`318 files ok`), `victory` (`39+2` tests), `host::menu` (`6/6`), `host::panel` (`7/7`), dual `clippy -D warnings`, `objdump -p` PE32+ check (standard Windows system DLLs only), and 20s plain `--release --bin MiniVI` real-GPU smoke test (`0` crashes, `over = 0 MB`, `room_false = 0.0%`). - Zero file overlap with `#287`. Squash-merging into `main`.
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/Androtim--MiniVI!286
No description provided.