- Rust 98.9%
- Python 0.5%
- PowerShell 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cargo | ||
| .githooks | ||
| .github | ||
| apps/victory | ||
| crates | ||
| docs | ||
| scripts | ||
| tests/fixtures/hle-probe | ||
| xtask | ||
| .gitattributes | ||
| .gitignore | ||
| .victory-root | ||
| bindings.ini | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Get-AMD-FSR.cmd | ||
| Get-NVIDIA-DLSS.cmd | ||
| LICENSE | ||
| Play-VIctory.cmd | ||
| PLAY_FRAMEGEN.cmd | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| victory.example.toml | ||
MiniVI
MiniVI (MiniVI.exe) is an experimental Xbox Series (Scarlett / GDK) compatibility layer for Windows 10/11 built around one core mission: achieving the lowest possible system resource footprint (VRAM, system RAM, and CPU overhead) across both NVIDIA and AMD GPUs — keeping 6–8 GB GPUs and 16 GB PCs rock-solid while giving 12–24 GB+ systems maximum headroom and stability. 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.
Note
MiniVI v2.0 (In Active Tester Preview on branch
v2.0): Rebased onto auditedgamingwithhomie/larp(GPL-3.0-or-later) with flat<10 GBsystem RAM leak fixes, smart DXGI VRAM auto-presets, 1st-class AMD Radeon RDNA 2/3/4 support, and async audio offload — available to registered testers via MiniVI-Launcher whilemain(v1) stays stable for general users.
Strictly Clean-Room / Source-Only Repository: Zero executables, asset archives, keys, screenshots, or binary artifacts are included. All runtime title directories and optional third-party SDKs reside locally outside this repository. Automated
cargo xtask policychecks 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 6–8 GB GPUs to 12–24+ GB 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\GDKTitle
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\GDKTitle\title.exe' -Preset balanced-720p -Dlss quality
- Press
F1in-game forMINIVI SETTINGS(changes save immediately tovictory-settings.txtinVICTORY_HOMEor%LOCALAPPDATA%\victory). - Press
F3in-game forMINIVI STATS (F3)(FPS, CPU/GPU timings, VRAM, and RAM overlay). - Compatibility: Settings, saves, caches, and logs remain in
%LOCALAPPDATA%\victory(unlessVICTORY_HOMEis set), and allVICTORY_*environment switches remain unchanged so testers switching from other forks keep existing saves and scripts. If you run multipleVIctory/MiniVIforks on the same machine, set a distinctVICTORY_HOMEper 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
F1in-game for the live settings menu (MINIVI SETTINGS— changes save immediately tovictory-settings.txtinVICTORY_HOMEor%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 offC:and isolate shader/pipeline caches per fork. - On Windows 10, Shader Model 6.6 requires the D3D12 Agility SDK (
.\MiniVI.exe get-d3d12or.\scripts\get-d3d12.ps1).
Minimal Resource Footprint Architecture (MiniVI Layer)
MiniVI minimizes VRAM, system RAM, and CPU overhead across all hardware tiers — keeping 6–8 GB GPUs and 16 GB PCs rock-solid while giving 12–24 GB+ systems maximum headroom and stability:
- Reserved Mip Streaming & Reclaim (
tiles.rs,texture.rs,resource.rs): EnablesVICTORY_LEVELS_ON_DEMAND=1,VICTORY_LEVELS_ALL=1,VICTORY_LEVELS_MAX_DIM,VICTORY_LEVELS_RECLAIM=1(returning unheld standard tiles viaretire), a256 KiBtile floor on<= 9 GiBGPUs that scales up cleanly on higher-VRAM GPUs, and optionalVICTORY_TEXTURE_MIP_DROP. - VRAM-Scaled Headroom (
resource.rs,memory.rs,shadow.rs): Avoids unnecessary VRAM over-allocation by capping reserved render-target headroom at<= budget / 4on<= 9 GiBcards while preserving upstream settle decay (targets_seen/targets_kept) and full headroom on 12–24+ GB cards, scaling address-indexed RT/BVH page limits (most_pages_for,spare_pages_for,VICTORY_BVH_FAULTS_ALL), and scaling card-memory shadow budgets (memory_card_budget). - Bounded Host Pools & RAM Pressure Trimming (
host.rs,list.rs,shadow.rs,texback.rs): Keeps host memory usage lean across all system RAM tiers via boundedReadbackPool(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) underresidency::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 upstreamVICTORY_EARLY_DEPTH=1,VICTORY_AMBIENT_SPECULAR=1, andVICTORY_LEAVE_OUT, fixes-1BVH instance/procedural returns, and allowlists 6 validatedgroup=64culling and volumetric water compute kernels for wave32.
Community & Support
- Official MiniVI Fluxer Server: fluxer.gg/uEV5HznW — tester discussions,
v2.0preview feedback, troubleshooting, and community support. - GUI Launcher (
MiniVI-Launcher): github.com/Androtim/MiniVI-Launcher — recommended companion for one-click updates (includingv2.0tester preview builds), dependency setup, and sanitized log exports.
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 6–8 GB VRAM vs. 12–24+ GB VRAM).
Please include:
- Rig Specs: CPU, GPU + VRAM size, system RAM, Windows version, and GPU driver version.
- Run Settings & Build Profile: build profile (
releaseordiag) and commit SHA, console profile (series-s/series-x), internal resolution / render scale (540p/720p/1080p/1440p), Ray Tracing (offor-RayTracing), Upscaling (off/ DLSS mode / title upscaler), Frame Generation (off/ DLSS2x–6x/ FSR 32x), exact launcher command/preset + any customVICTORY_*overrides, and the scene/area + session duration tested. - 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 [email protected] 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.