Skip to content
AndrotimPublic

About

MiniVI: low-VRAM (8 GB) & NVIDIA/AMD Xbox Series / GDK compatibility layer for Windows. Clean-room source-only repository.

Topics

Resources

Stars

37 stars

Watchers

0 watching

Forks

Repository files navigation

MiniVI

MiniVI (MiniVI.exe) is an experimental Xbox Series (Scarlett / GDK) Windows compatibility layer tuned for 8 GB VRAM GPUs and 16–32 GB system RAM hosts. Rebased onto upstream VIctory / foxhound / VIctory-NVIDIA (64d4931), MiniVI combines CPU/texqueue speedups, NVIDIA DLSS Super Resolution, 2x–6x DLSS / FSR 3 Frame Generation, water lighting (VICTORY_LOOPS_WAVE), Audio DSP mono convolutions, DualSense + DualShock 4 rumble, the F1 instant-save settings menu, and the F3 stats overlay with strict DXGI VRAM governance, level-by-level reserved mip streaming, title hang-watchdog disarmament, and BVH traversal fixes.

Strictly Clean-Room / Source-Only Repository: Zero game executables, asset archives, keys, screenshots, or binary artifacts are stored here. Users supply their own legally owned runtime executable and data directory locally. Automated cargo xtask policy checks block leaked binaries or prohibited strings on every commit. See docs/asset-policy.md.


Quick Start (Windows 10/11 x64)

Recommended: GUI Launcher (MiniVI-Launcher)

For everyday users and testers, MiniVI-Launcher is the easiest way to install, update, and launch MiniVI:

  • One-click updates directly from Androtim/MiniVI Releases (MiniVI.exe)
  • Automatic GPU/VRAM-aware settings scaling cleanly from 8 GiB to 16 GiB+ cards
  • Guided first-time setup for NVIDIA DLSS / AMD FSR 3 / Windows 10 D3D12 Agility SDK dependencies and shader preloading
  • One-click sanitized log & bug report export

Manual / CLI (MiniVI.exe)

Download MiniVI.exe from Releases (or build from source below), place it beside your GDK title executable (in the folder with MicrosoftGame.config), or pass the path explicitly:

# Default (Series X 1440p + DLSS Quality)
.\MiniVI.exe play

# Community Lab Spec (1440p internal -> 4K output, DLSS Quality, FG off, RT off)
.\MiniVI.exe play --res 4k --dlss quality

# Native 1440p + DLSS Quality
.\MiniVI.exe play --res 1440 --dlss quality

# Optional dependency helpers (run once as needed):
.\MiniVI.exe get-dlss
.\MiniVI.exe get-fsr
.\MiniVI.exe get-d3d12

# Optional offline shader cache pre-warm:
$env:VICTORY_EARLY_DEPTH = '1'
$env:VICTORY_NAN_SCRUB = '1'
.\MiniVI.exe shaders D:\Path\To\YourDump

Build from Source

cargo build --locked --release --bin MiniVI
# Diagnostics build (with frame capture & recording telemetry):
cargo build --locked --profile diag --features diagnostics --bin MiniVI

# Optional PowerShell launcher wrapper (720p Series S + DLSS Quality):
.\scripts\play-minivi.ps1 -Exe 'D:\Path\To\YourDump\title.exe' -Preset balanced-720p -Dlss quality
  • Press F1 in-game for MINIVI SETTINGS (changes save immediately to victory-settings.txt in VICTORY_HOME or %LOCALAPPDATA%\victory).
  • Press F3 in-game for MINIVI STATS (F3) (FPS, CPU/GPU timings, VRAM, and RAM overlay).
  • Compatibility: Settings, saves, caches, and logs remain in %LOCALAPPDATA%\victory (unless VICTORY_HOME is set), and all VICTORY_* environment switches remain unchanged so testers switching from other forks keep existing saves and scripts. If you run multiple VIctory / MiniVI forks on the same machine, set a distinct VICTORY_HOME per fork to avoid shader/pipeline cache crosstalk.

Architecture & Component Status

Component Workspace Crate Status Implementation Scope
PE32+ Image & Relocation Loader victory-loader, victory-pe ✅ Working Parses PE32+ headers, resolves delayed/static imports, patches IAT, sets up TLS callbacks, applies relocations, and disarms the title hang watchdog (VICTORY_NO_WATCHDOG=1)
Console Runtime & OS HLE victory-hle ✅ Working Implements kernelx virtual/placeholder memory (XMemVirtualAlloc), XGameRuntime, sync primitives, GameInput + focused-window mouse/IME support, and Bink video hooks
d3d12_xs to Host D3D12 Backend victory-gpu ✅ Working Translates d3d12_xs command lists (VICTORY_THIN=1, VICTORY_JOIN_PARTS=8), bindless heaps, pooled readbacks, CreateReservedResource mip tiling, Streamline DLSS / FSR 3 FG, F1 menu, and F3 stats overlay
Texture Formats & BCPack victory-formats ✅ Working Converts console texture swizzles and decodes BCPack blocks, paired with GPU memory compare (VICTORY_WIDE_BACK=1)
RDNA2 -> DXIL Shader Translator victory-shader ✅ Working Decodes GFX10 wave64/wave32 microcode, structurizes control flow, restores -1 BVH instance/procedural returns, allowlists validated group=64 culling & volumetric water kernels, and supports early depth (VICTORY_EARLY_DEPTH=1) + NaN scrubbing (VICTORY_NAN_SCRUB=1)
Telemetry & Clean-Room Policy victory, xtask ✅ Working Offline MiniVI shaders cache builder, F3 FPS/VRAM telemetry overlay, and cargo xtask policy source checks

Frame Generation & Upscaling Support

GPU Tier Upscaling Frame Generation Notes
GeForce RTX 40 / 50 DLSS Super Resolution (quality/balanced/performance/dlaa) DLSS Frame Generation (2x on RTX 40, up to 6x on RTX 50) Run .\MiniVI.exe get-dlss or .\scripts\get-nvidia-sdks.ps1 once to fetch NVIDIA's runtime DLLs
GeForce RTX 20 / 30 DLSS Super Resolution AMD FSR 3 Frame Generation (2x, requires DLSS upscaling) Run .\MiniVI.exe get-fsr or .\scripts\get-amd-fsr.ps1 (or optional MFG Unlocker via F1)
AMD Radeon / Other Title upscaler (VICTORY_UPSCALER=6) AMD FSR 3 Frame Generation (2x, Series S profile) Use scripts\play-minivi.ps1 -Amd
  • Press F1 in-game for the live settings menu (MINIVI SETTINGS — changes save immediately to victory-settings.txt in VICTORY_HOME or %LOCALAPPDATA%\victory).
  • Set VICTORY_HOME (e.g., setx VICTORY_HOME D:\victory, or $env:VICTORY_HOME = 'D:\victory-minivi' per shell/shortcut when testing multiple forks on one PC) to relocate settings, saves, caches, and logs off C: and isolate shader/pipeline caches per fork.
  • On Windows 10, Shader Model 6.6 requires the D3D12 Agility SDK (.\MiniVI.exe get-d3d12 or .\scripts\get-d3d12.ps1).

8 GB VRAM / 16–32 GB RAM Hardening (MiniVI Layer)

  • Reserved Mip Streaming & Reclaim (tiles.rs, texture.rs, resource.rs): Enables VICTORY_LEVELS_ON_DEMAND=1, VICTORY_LEVELS_ALL=1, VICTORY_LEVELS_MAX_DIM, VICTORY_LEVELS_RECLAIM=1 (returning unheld standard tiles via retire), 256 KiB tile floor on <= 9 GiB GPUs, and optional VICTORY_TEXTURE_MIP_DROP.
  • VRAM-Scaled Headroom (resource.rs, memory.rs, shadow.rs): Caps reserved render-target headroom at <= budget / 4 on <= 9 GiB cards while preserving upstream settle decay (targets_seen/targets_kept), scales address-indexed RT/BVH page limits (most_pages_for, spare_pages_for, VICTORY_BVH_FAULTS_ALL), and scales card-memory shadow budgets (memory_card_budget).
  • Bounded Host Pools & RAM Pressure Trimming (host.rs, list.rs, shadow.rs, texback.rs): Adds bounded ReadbackPool (VICTORY_READBACK_POOL=1, VICTORY_READBACK_POOL_MB=64), RAM-aware CPU snapshot pooling (snapshot_pool_bytes, trim_snapshot_pool), and idle command-list pool trimming (trim_on_pressure, VICTORY_LIST_POOL_MOST) under residency::pressured().
  • Watchdog & Shader Completeness (victory-loader, victory-shader): Disarms the title hang watchdog (VICTORY_NO_WATCHDOG=1), preserves full hair/lighting/world shader coverage alongside upstream VICTORY_EARLY_DEPTH=1, VICTORY_AMBIENT_SPECULAR=1, and VICTORY_LEAVE_OUT, fixes -1 BVH instance/procedural returns, and allowlists 6 validated group=64 culling and volumetric water compute kernels for wave32.

Contributing, Bug Reports & Pull Requests

When opening an Issue or Pull Request (or sharing performance/stability logs), please include both your hardware rig specs and the exact run settings you used. Behavior and bottlenecks differ drastically between configurations (for example, 1080p + Ray Tracing + DLSS + Frame Generation vs. 720p + no RT + no Frame Generation, or 8 GB VRAM vs. 16+ GB VRAM).

Please include:

  1. Rig Specs: CPU, GPU + VRAM size, system RAM, Windows version, and GPU driver version.
  2. Run Settings & Build Profile: build profile (release or diag) and commit SHA, console profile (series-s / series-x), internal resolution / render scale (540p / 720p / 1080p / 1440p), Ray Tracing (off or -RayTracing), Upscaling (off / DLSS mode / title upscaler), Frame Generation (off / DLSS 2x–6x / FSR 3 2x), exact launcher command/preset + any custom VICTORY_* overrides, and the scene/area + session duration tested.
  3. Measured Results (for PRs & benchmarks): base FPS without Frame Generation alongside FG FPS, average/peak VRAM & RAM usage, and whether crashes/DRED resets occurred.

(Templates in .github/PULL_REQUEST_TEMPLATE.md and .github/ISSUE_TEMPLATE/bug_report.md will pre-fill these fields automatically.)


Credits

Built on trustno1-coder/VIctory-NVIDIA, which itself builds on readmet3xt-lab/foxhound, Marvisak/VIctory, fxceless/victory-fork, codec-d/cool_fox, avatarmanz/VIctory-7900XTX, Belobug/VIctory-Belobug-AMD, and DexNom/VIctory.

Non-Commercial & Rights-Holder Notice

MiniVI is a strictly non-commercial, clean-room educational and interoperability research project (no donations, ads, or paid access) containing zero proprietary software files, binaries, assets, or decryption keys. If any rights holder has concerns or requests removal of any material, please contact minivi.landmine288@passmail.com and we will comply promptly and without dispute.

License

GPL-3.0-or-later, matching VIctory, foxhound, and VIctory-NVIDIA. See LICENSE and docs/asset-policy.md.

About

MiniVI: low-VRAM (8 GB) & NVIDIA/AMD Xbox Series / GDK compatibility layer for Windows. Clean-room source-only repository.

Topics

Resources

Stars

37 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages