Wave 2.0-A: Clean larp (f782a04) foundation, MiniVI compatibility & prerelease CI #443

Manually merged
github merged 3 commits from github-bot/gh-443 into gh-pr/443/base 2026-12-06 01:27:34 +00:00 AGit
Owner

@⁠Androtim on GitHub · 2026-12-05 23:10 UTC · original
Androtim:feat/v2.0-foundation → v2.0 · +847151 −307281 · 772 files · 3 commits · merged 2026-12-06 00:34 UTC

Wave 2.0-A — Clean larp Foundation, MiniVI Compatibility & Prerelease CI

This PR targets v2.0 (leaving main untouched at v2026.12.04.10).

Summary of Changes

  1. Clean-Room larp (f782a04) Rebase & Attribution:

    • Imported the audited gamingwithhomie/larp (f782a04, GPL-3.0-or-later) workspace alongside MiniVI's docs/asset-policy.md, xtask/, LICENSE, and new NOTICE + clean-room README.md (linking MiniVI-Launcher/releases/latest).
    • Updated xtask/src/policy.rs for the larp layout (crates/larp-formats/src/bcpack-tables.bin, .larp-root, .views/.interface/.h/.cpp/.def/.ini/.ftl) and neutralized title-specific build IDs/identifiers/placeholder paths across docs, locales, and code.
  2. Single-File MiniVI.exe & Dual MSVC/GNU Agility SDK Support:

    • Added separate MiniVI and larp binary entrypoints backed by shared apps/larp/src/lib.rs.
    • Embedded compiled shader-replace assets (.dxil, .views, .interface) via OUT_DIR/embedded_shader_replace.rs (include_bytes!) with shader_replace::open() checking optional disk overrides first before falling back to embedded assets.
    • Added dual MSVC (/EXPORT:...,DATA + delayload) and GNU (agility-gnu.def + uuid) Agility SDK D3D12SDKVersion (620) / D3D12SDKPath (.\D3D12\) exports.
    • Ported upstream PR #265 (matrix -> mat_buf in two compute HLSL replacements).
  3. MiniVI-Launcher & GTAVI-Bench Compatibility Layer:

    • Preserved native larp subcommands (run, translate + shaders alias, inspect, census, lib-exports, shader-info, config, zip-logs, nv-profile).
    • Added MiniVI.exe play [EXE] supporting --series-s, --res, --dlss, --framegen, --framegen-ready, --fg-type, --fps, --preload, --stream-budget, --card-budget, and repeatable --set KEY=VAL.
    • Implemented VICTORY_* -> LARP_* / runtime translation without overriding explicit LARP_* values (covering VICTORY_HW_RT, VICTORY_RAYS, VICTORY_FULLSCREEN, VICTORY_OVERLAY, VICTORY_CACHE_DIR, VICTORY_DATA_DIR, VICTORY_ADAPTER, VICTORY_SKIP_BINK, VICTORY_D3D12_DRED, VICTORY_LOG, VICTORY_NO_CONSOLE, VICTORY_RESTART_EXIT_CODE, VICTORY_KEYS_FILE, and VICTORY_LIVE_FILE).
    • Added session log teeing to minivi-play-YYYYMMDD-HHMMSS.log with MiniVI v2.0 (<sha>) | Log: <path> startup line and MiniVI v2.0 (<sha>) stamp in both the log header and F9 performance overlay.
  4. CI & Automated Pre-Release Guardrails:

    • Updated .github/workflows/ci.yml for branches: [main, v2.0] + PRs, automated DXC v1.10.2611 (dxc_2026_11_26.zip) configuration when Windows SDK dxc.exe lacks -HV 2021, cargo xtask policy, strict clippy, and cargo test --workspace --locked.
    • Updated .github/workflows/release.yml to build MiniVI.exe, validate PE32+ exports (D3D12SDKVersion=620, D3D12SDKPath=.\D3D12\) & standard Windows DLL imports, emit MiniVI.exe.sha256, and automatically apply --prerelease + a top > [!WARNING] banner whenever `` contains -.

Local Verification Results (1.98.1-x86_64-pc-windows-gnu + DXC)

  • cargo xtask policy: 850 files ok (0 violations)
  • cargo clippy --workspace --all-targets --locked -- -D warnings: passed (0 warnings)
  • cargo test --workspace --locked: 217 passed, 0 failed (9 upstream hardware/benchmark tests ignored)
  • cargo build --release --locked --bin MiniVI: passed; verified PE32+ exports (D3D12SDKVersion=620, D3D12SDKPath='.\\D3D12\\') and standalone MiniVI.exe --help / MiniVI.exe play --help execution in an isolated folder without shader-replace/.

Left open for Gate 1 CI + Gate 2 Audit + Gate 3 GPU Test.

**@⁠Androtim** on GitHub · 2026-12-05 23:10 UTC · [original](https://github.com/Androtim/MiniVI/pull/443) `Androtim:feat/v2.0-foundation` → `v2.0` · +847151 −307281 · 772 files · 3 commits · merged 2026-12-06 00:34 UTC ## Wave 2.0-A — Clean `larp` Foundation, MiniVI Compatibility & Prerelease CI This PR targets **`v2.0`** (leaving `main` untouched at `v2026.12.04.10`). ### Summary of Changes 1. **Clean-Room `larp` (`f782a04`) Rebase & Attribution:** - Imported the audited `gamingwithhomie/larp` (`f782a04`, `GPL-3.0-or-later`) workspace alongside MiniVI's `docs/asset-policy.md`, `xtask/`, `LICENSE`, and new `NOTICE` + clean-room `README.md` (linking `MiniVI-Launcher/releases/latest`). - Updated `xtask/src/policy.rs` for the `larp` layout (`crates/larp-formats/src/bcpack-tables.bin`, `.larp-root`, `.views`/`.interface`/`.h`/`.cpp`/`.def`/`.ini`/`.ftl`) and neutralized title-specific build IDs/identifiers/placeholder paths across docs, locales, and code. 2. **Single-File `MiniVI.exe` & Dual MSVC/GNU Agility SDK Support:** - Added separate `MiniVI` and `larp` binary entrypoints backed by shared `apps/larp/src/lib.rs`. - Embedded compiled `shader-replace` assets (`.dxil`, `.views`, `.interface`) via `OUT_DIR/embedded_shader_replace.rs` (`include_bytes!`) with `shader_replace::open()` checking optional disk overrides first before falling back to embedded assets. - Added dual MSVC (`/EXPORT:...,DATA` + delayload) and GNU (`agility-gnu.def` + `uuid`) Agility SDK `D3D12SDKVersion` (`620`) / `D3D12SDKPath` (`.\D3D12\`) exports. - Ported upstream PR #265 (`matrix` -> `mat_buf` in two compute HLSL replacements). 3. **`MiniVI-Launcher` & `GTAVI-Bench` Compatibility Layer:** - Preserved native `larp` subcommands (`run`, `translate` + `shaders` alias, `inspect`, `census`, `lib-exports`, `shader-info`, `config`, `zip-logs`, `nv-profile`). - Added `MiniVI.exe play [EXE]` supporting `--series-s`, `--res`, `--dlss`, `--framegen`, `--framegen-ready`, `--fg-type`, `--fps`, `--preload`, `--stream-budget`, `--card-budget`, and repeatable `--set KEY=VAL`. - Implemented `VICTORY_*` -> `LARP_*` / runtime translation without overriding explicit `LARP_*` values (covering `VICTORY_HW_RT`, `VICTORY_RAYS`, `VICTORY_FULLSCREEN`, `VICTORY_OVERLAY`, `VICTORY_CACHE_DIR`, `VICTORY_DATA_DIR`, `VICTORY_ADAPTER`, `VICTORY_SKIP_BINK`, `VICTORY_D3D12_DRED`, `VICTORY_LOG`, `VICTORY_NO_CONSOLE`, `VICTORY_RESTART_EXIT_CODE`, `VICTORY_KEYS_FILE`, and `VICTORY_LIVE_FILE`). - Added session log teeing to `minivi-play-YYYYMMDD-HHMMSS.log` with `MiniVI v2.0 (<sha>) | Log: <path>` startup line and `MiniVI v2.0 (<sha>)` stamp in both the log header and F9 performance overlay. 4. **CI & Automated Pre-Release Guardrails:** - Updated `.github/workflows/ci.yml` for `branches: [main, v2.0]` + PRs, automated DXC v1.10.2611 (`dxc_2026_11_26.zip`) configuration when Windows SDK `dxc.exe` lacks `-HV 2021`, `cargo xtask policy`, strict `clippy`, and `cargo test --workspace --locked`. - Updated `.github/workflows/release.yml` to build `MiniVI.exe`, validate PE32+ exports (`D3D12SDKVersion=620`, `D3D12SDKPath=.\D3D12\`) & standard Windows DLL imports, emit `MiniVI.exe.sha256`, and automatically apply `--prerelease` + a top `> [!WARNING]` banner whenever `` contains `-`. ### Local Verification Results (`1.98.1-x86_64-pc-windows-gnu` + `DXC`) - `cargo xtask policy`: **850 files ok** (0 violations) - `cargo clippy --workspace --all-targets --locked -- -D warnings`: **passed** (0 warnings) - `cargo test --workspace --locked`: **217 passed, 0 failed** (9 upstream hardware/benchmark tests ignored) - `cargo build --release --locked --bin MiniVI`: **passed**; verified PE32+ exports (`D3D12SDKVersion=620`, `D3D12SDKPath='.\\D3D12\\'`) and standalone `MiniVI.exe --help` / `MiniVI.exe play --help` execution in an isolated folder without `shader-replace/`. *Left open for Gate 1 CI + Gate 2 Audit + Gate 3 GPU Test.*
- Import audited gamingwithhomie/larp workspace (commit f782a04, GPL-3.0-or-later)
  targeting v2.0, keeping LICENSE and adding NOTICE + upstream attributions.
- Update xtask clean-room asset policy for larp crates, text extensions
  (.views, .interface, .h, .cpp, .def, .ini, .ftl), shader sources, and
  neutralize title-specific strings across code, docs, and locales.
- Add [[bin]] MiniVI (alongside larp), embed compiled shader-replace assets
  via OUT_DIR include_bytes! with optional disk override, add dual MSVC/GNU
  Agility SDK exports (agility-gnu.def + -luuid), and port PR #265 HLSL fix.
- Implement MiniVI.exe play CLI compatibility (--series-s, --res, --dlss,
  --framegen, --framegen-ready, --fg-type, --fps, --preload, --stream-budget,
  repeatable --set), VICTORY_* -> LARP_* runtime translation (incl. adapter,
  bink skip, HW RT gate, keys script conversion, restart exit code, live file),
  minivi-play-YYYYMMDD-HHMMSS.log teeing + Log: <path> output, and MiniVI
  v2.0 (<sha>) stamp in logs and the F9 performance overlay.
- Update CI (main + v2.0, DXC setup, policy, clippy, workspace tests) and
  release workflow (PE32+ export/import checks, SHA-256, and automatic
  --prerelease + warning banner when tag contains '-').
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 23:12:12 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-12-05 23:26 UTC · original

Triage Review (d82e3fde — feat/v2.0-foundation -> v2.0)

  • CI (check run 47580961587): Configure DXC & Policy check PASS, Clippy FAIL on missing crates/larp-formats/src/bcpack-tables.bin (os error 2 at crates/larp-formats/src/bcpack.rs:38).
  • Root cause: .gitignore still has !/crates/victory-formats/src/bcpack-tables.bin under *.bin, so crates/larp-formats/src/bcpack-tables.bin was ignored and omitted from the branch.
  • Next steps to clear:
    1. Update .gitignore to !/crates/larp-formats/src/bcpack-tables.bin and commit the BCPack constant table file so CI Clippy + Tests run green.
    2. Keep PR descriptions and user-facing docs 100% title-neutral.
    3. Post plain --release smoke/A/B verification (0 crashes/DRED) once CI is green.

Marked triage: needs work until CI passes.

**@⁠Androtim** on GitHub · 2026-12-05 23:26 UTC · [original](https://github.com/Androtim/MiniVI/pull/443#issuecomment-7447572209) ### Triage Review (`d82e3fde` — `feat/v2.0-foundation` -> `v2.0`) - **CI (`check` run `47580961587`):** `Configure DXC` & `Policy check` **PASS**, `Clippy` **FAIL** on missing `crates/larp-formats/src/bcpack-tables.bin` (`os error 2` at `crates/larp-formats/src/bcpack.rs:38`). - **Root cause:** `.gitignore` still has `!/crates/victory-formats/src/bcpack-tables.bin` under `*.bin`, so `crates/larp-formats/src/bcpack-tables.bin` was ignored and omitted from the branch. - **Next steps to clear:** 1. Update `.gitignore` to `!/crates/larp-formats/src/bcpack-tables.bin` and commit the BCPack constant table file so CI `Clippy` + `Tests` run green. 2. Keep PR descriptions and user-facing docs 100% title-neutral. 3. Post plain `--release` smoke/A/B verification (0 crashes/DRED) once CI is green. Marked `triage: needs work` until CI passes.
Author
Owner

@⁠Androtim on GitHub · 2026-12-05 23:55 UTC · original

Gate 1 CI Cleared (f9805738 — feat/v2.0-foundation -> v2.0)

  • CI (check run 47584323489): PASS (DXC, Policy check, Clippy, and workspace tests green after tracking crates/larp-formats/src/bcpack-tables.bin and applying the Gate 2 fixes in f9805738).
  • Remaining gate before merge: Post plain --release (no --features diagnostics) real-GPU verification on RTX 4060 Ti (0 crashes/DRED, plus --features diagnostics visual sanity check) to clear Gate 3.

Updated label: triage: needs work -> triage: needs gpu test.

**@⁠Androtim** on GitHub · 2026-12-05 23:55 UTC · [original](https://github.com/Androtim/MiniVI/pull/443#issuecomment-7447946295) ### Gate 1 CI Cleared (`f9805738` — `feat/v2.0-foundation` -> `v2.0`) - **CI (`check` run `47584323489`):** **PASS** (DXC, Policy check, Clippy, and workspace tests green after tracking `crates/larp-formats/src/bcpack-tables.bin` and applying the Gate 2 fixes in `f9805738`). - **Remaining gate before merge:** Post plain `--release` (no `--features diagnostics`) real-GPU verification on RTX 4060 Ti (0 crashes/DRED, plus `--features diagnostics` visual sanity check) to clear Gate 3. Updated label: `triage: needs work` -> `triage: needs gpu test`.
github-bot changed target branch from v2.0 to gh-pr/443/base 2026-12-06 00:34:53 +00:00
github manually merged commit f980573822 into gh-pr/443/base 2026-12-06 01:27:28 +00:00
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!443
No description provided.