概要
VIctory LITE — VIctory fork optimized for 4 GB VRAM GPUs and 16 GB RAM (native 1080p menus/loading, low SHARED footprint, fast scene streaming)
その他のプロジェクト計測したスター増加
- 24時間
- +8
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルVIctory LITE
A lightweight community fork of VIctory (built on top of codec-d/cool_fox, avatarmanz/VIctory-7900XTX, fxceless/victory-fork, Belobug/VIctory-Belobug-AMD, and crossducking/RAZDA4A-XEN) specifically tuned to run on 4 GB VRAM GPUs and 16 GB RAM (tested on NVIDIA GTX 1650 4 GB + Ryzen 5 5500 + 16 GB DDR4 with Windows 11 and an SSD pagefile).
This repository contains no game files, code, or assets. You need your own legally obtained copy/dump of the title. It is not affiliated with or endorsed by the game's developer or publisher.
What this 4 GB VRAM fork adds
Native 1080p menus & loading screens with scaled 3D rendering: keeps Plane 1 UI/menus/loading artwork uncapped (
world_targets_active()threshold at 280 MiB inresource.rs+VICTORY_DISPLAY_MODE=1920x1080) while scaling the 3D scene (VICTORY_RENDER_SCALE=0.5,960x540) and avoiding the1280x720display-mode trap.Smart BC texture mip capping & dynamic VRAM pressure control:
VICTORY_TEXTURE_MAX_DIM=512for BC world textures,VICTORY_TEXTURE_MAX_DIM_AUX=256for BC4/BC5 normal/mask maps, andVICTORY_TEXTURE_PRESSURE_CAP=1dynamic step-down at>= 90%VRAM, skipping non-BC UI/HUD and non-power-of-two banners.Reduced WDDM
SHAREDGPU memory & RAM footprint (incorporating audited ports fromcrossducking/RAZDA4A-XEN):CardCpu::Cpu(Box<[u8]>)host-heap CPU backing for card buffers (shadow.rs).- Configurable
VICTORY_SEND_SPARE_MB(send.rs, set to32MiB) and fast idle window eviction (VICTORY_WINDOW_IDLE_MS=2500+ 2 s eviction atSHARED >= 70%). shared_twin_scratch()(upstream#2162),typed_storedescriptor check (upstream#2462), andVirtualAlloc(..., MEM_RESET)inXMemFreePhysicalPages.- Async
victory-sweepandvictory-burylow-priority background threads (host.rs).
Low-fragmentation VRAM pool & fast scene streaming (anti pop-in):
VICTORY_POOL_BLOCK_MB=4(4 MiB texture pool blocks) to cut trapped free holes in 4 GB VRAM without committed-resource fence stalls.- 4 Copy-Queue upload-ahead workers (
texture/ahead.rs, 64 MiB in-flight, 24 MiB / 128-texture batches),16,384-slot scan window per pass, ~1.4 s retry cap on partially-mapped slots (draw.rs),128 MiB / 35 msearly pre-draw upload pass, and adaptiveVICTORY_MAP_THREADS=auto.
16 GB RAM post-scene OOM crash fix & faster first-world load (v5.2 patch):
- WDDM
SHAREDGPU memory pressure guard (residency.rs,host.rs): tracks WDDMSHAREDGPU memory usage (80%pressured /88%critical) alongside OS commit so 16 GB RAM systems (8 GB WDDM shared cap) flush retired buffers immediately (bury_lag=0), trim scratch/staging/snapshot pools, and retryE_OUTOFMEMORY(0x8007000E) preludes instead of crashing after scene transitions (#4). - Smaller shadow windows (
Play-4GB-VRAM.cmd):VICTORY_WINDOW_KB=512,VICTORY_WINDOW_TAILS=1,VICTORY_WINDOW_IDLE_MS=2000cutshadow_live_mbspikes by 1.5–2+ GB across scene cuts. - Faster first-world-scene entry & balanced lighting:
VICTORY_LIBRARY_IDLE_MS=120000(keepshost-pipelines.binhot in RAM during loading),VICTORY_PIPELINE_LOWEST=0,VICTORY_PIPELINE_WORKERS=10,VICTORY_EARLY_TEXTURES_MS=100, plusVICTORY_AMBIENT_FLOOR=0.05+VICTORY_AMBIENT_ONCE=1to keep both dark indoor hallways and nighttime/phone exposure balanced.
- WDDM
Long-session RAM stability, barrier batching & dynamic day/night lighting (v5.1 patch):
- Placed descriptor normalization (
VICTORY_PLACED_NORMAL, on by default,=0to disable,descriptor.rs): zeroes ABI padding (resource[1],resource[13], SRVdesc[3]) and inactive SRV/UAV union tail words before deduplicating placed view shapes (ported fromVIctory-NVIDIA4eead678/144aca0f), preventing the ~3.3 GB multi-million-shape RAM growth on 16 GB RAM sessions (#4). - D3D12 barrier coalescing (
VICTORY_JOIN_BARRIERS=1,host/rec.rs): batches consecutiveResourceBarriercalls (transitions, texture aliasing barriers, UAV barriers) into single D3D12 submissions without reordering or merging same-resource transitions. - Gradual day / afternoon / night lighting & readable phone screen: switched
Play-4GB-VRAM.cmdtoVICTORY_AMBIENT=1.0,VICTORY_AMBIENT_FLOOR=0,VICTORY_SHADOW_LIFT=0.8so indirect ambient radiance tracks the real time-of-day smoothly instead of clamping night to daytime brightness (which previously made characters look fullbright at night and caused auto-exposure to crush the smartphone screen to near-black).
- Placed descriptor normalization (
GPU performance & visual clarity (v5 — 6.9 FPS avg / 8 FPS peaks, 144 ms GPU busy on GTX 1650 4 GB, zero shader-cache invalidation):
- Non-RT GPU pass skip list in
VICTORY_SKIP_PIPELINES: skips decal defrag, heat-haze, plus the 41bvh_skinningand 4 RT-only light-probe passes (CS_Primary_GatherCopy,GatherVBuffer_WithFar,ShadeCopy,RegisterAllocationRequests, credited toDathinel/victory-4gb), cutting ~40 ms/frame of wasted GPU work on 4 GB cards with zero visual loss. - Safe idle RAM & VRAM trimming (opt-in flags enabled in
Play-4GB-VRAM.cmd, cuttingSHAREDGPU RAM by 1.0–1.3 GB and texture pool VRAM by ~180 MB without touching live geometry/textures):VICTORY_LIBRARY_IDLE_MS=15000,VICTORY_SNAPSHOT_POOL_MB=128,VICTORY_EXACT_TRIM=1,VICTORY_DSTORAGE_RAM_ACCOUNTING=1,VICTORY_SCRATCH_SPARE_MB=32,VICTORY_POOL_IDLE_BLOCKS=2,VICTORY_STAGING_SPARES=2,VICTORY_STAGING_PACK=1,VICTORY_TILE_IDLE_RELEASE=1. groupshared-tiled[numthreads(8, 8, 1)]indirect-lightambient::gathercompute shader withrcp/rsqrtand per-list deduplication (ambient.rs).- Inline 5-tap Contrast Adaptive Sharpening (
VICTORY_SHARPEN=0.55,compose.rs) on the 3D scene plane only (native 1080p UI/menus stay untouched). - Dynamic anisotropic filtering cap (
VICTORY_MAX_ANISO=4,sampler.rs), deadCopyForBVHUpdateskip whenVICTORY_BVH_BUILDER=0(pipeline/make.rs), full-scene rendering (VICTORY_CARD_AWAKE=1), and top-right F2 overlay (host/panel.rs).
- Non-RT GPU pass skip list in
Requirements (IMPORTANT)
- GPU with hardware Mesh Shaders + Shader Model 6.6 (REQUIRED):
- Supported: NVIDIA GTX 16xx (Turing) / RTX 20xx / 30xx / 40xx / 50xx, AMD RX 6000 / 7000 / 9000 (RDNA 2+), Intel Arc.
- NOT supported: NVIDIA GTX 10xx (Pascal) or older, AMD RX 400/500 (Polaris), RX 5000 (RDNA 1), and Vega / Intel UHD iGPUs. Without hardware Mesh Shaders, world geometry and character bodies cannot render (only Lucia's eyes, mouth/teeth, and HUD appear).
- OS & Drivers: Windows 10 2004+ or Windows 11 (x64), up-to-date GPU drivers, CPU with AVX2.
- RAM & Pagefile: 16 GB RAM + 32 GB pagefile on an SSD recommended. On 8 GB RAM, a manual 32–40 GB SSD pagefile is mandatory to avoid
0x8007000E(E_OUTOFMEMORY) crashes; run.\Play-4GB-VRAM.cmd 8gb.
Quick start (4 GB VRAM / 8–16 GB RAM)
Install the pinned Rust toolchain and MSVC C++ Build Tools (with Windows SDK), build in release mode, and run Play-4GB-VRAM.cmd (do NOT use the upstream Play-VIctory.cmd on 4–6 GB VRAM / 8–16 GB RAM PCs):
cargo build --release -p victory
$env:VICTORY_GAME_DIR = 'D:\Games\MyDump'
.\Play-4GB-VRAM.cmd
# Or on 8 GB RAM systems (with a 32-40 GB SSD pagefile):
.\Play-4GB-VRAM.cmd 8gb
First launch (cold shader cache): On a new PC, %LOCALAPPDATA%\VIctory\cache-pareto starts empty. The first launch translates and compiles shaders on the fly, which can show a black screen (or missing bodies while audio/subtitles play) for several minutes until Mesh Shaders finish compiling. Subsequent launches reuse the cache immediately. To precompile shaders ahead of time:
.\target\release\victory.exe shaders "$env:VICTORY_GAME_DIR"
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Only Lucia's eyes & mouth render (rest of body/room missing) | Mesh Shaders (ms_6_6) are not running — either the GPU lacks Mesh Shaders, Windows picked the integrated GPU, drivers/Windows are outdated, or the cold shader cache is still compiling. |
Verify your GPU is GTX 16xx / RTX / RX 6000+ / Arc, update GPU drivers & Windows 10 (2004+)/11, on laptops/APUs set victory.exe to High Performance in Windows Graphics Settings, and wait for/precompile the shader cache. |
Crash at subtitles (0x8007000E, no host list for a state prelude, command list did not close) |
Out of OS committed memory (RAM + pagefile.sys), common on 8 GB RAM or small/disabled pagefile. |
Set a 32–40 GB manual pagefile on an SSD, close browser/background apps, and run .\Play-4GB-VRAM.cmd 8gb (or .\Play-4GB-VRAM.cmd on 16 GB RAM). |
| Black screen on first launch while audio plays | Cold shader cache (%LOCALAPPDATA%\VIctory\cache-pareto empty) translating thousands of shaders on CPU. |
Wait several minutes for initial compilation to finish, or precompile first with .\target\release\victory.exe shaders "$env:VICTORY_GAME_DIR". |
Crash at startup on Windows 10 22H2 (0x80070057, Unsupported bit-flag set (root signature flags c00)) |
Windows 10's built-in System32\D3D12Core.dll is too old for SM 6.6 directly-indexed heaps. |
Download x64 D3D12Core.dll from Microsoft's official NuGet package Microsoft.Direct3D.D3D12 1.620.2 (or 1.614+) and place it at target\release\D3D12\D3D12Core.dll beside victory.exe (victory.exe delay-loads d3d12.dll and matches the D3D12Core.dll version automatically). |
| Nighttime looks flat/fullbright & smartphone screen is near-black at night | A high VICTORY_AMBIENT_FLOOR (e.g. 1.2) or VICTORY_AMBIENT=constant:... injects daytime-level diffuse light at night, making GTA 6's auto-exposure crush camera exposure and darken the phone's emissive screen. |
Use the updated Play-4GB-VRAM.cmd defaults (VICTORY_AMBIENT=1.0, VICTORY_AMBIENT_FLOOR=0, VICTORY_SHADOW_LIFT=0.8) so lighting tracks day, afternoon, and night smoothly while post-tonemap shadow lift keeps dark interiors readable. |
Credits & Community Thanks
Huge thanks to everyone who tested, reported logs, and shared optimizations that made VIctory LITE v5 possible:
- @Dathinel (
Dathinel/victory-4gb) — for measuring and sharing the 41bvh_skinning+ 4 RT light-probe skip hashes (rt_work_off_hashes.txt) that cut ~40 ms/frame of GPU busy time on 4 GB VRAM cards. - @purab69 — for nighttime lighting & smartphone screen exposure feedback, testing, and launcher tuning contributions.
- @dmmchh (#4) — for detailed 16 GB RAM multi-run logs and OOM diagnostics.
- @BattleBruh098 (#5) — for testing and feedback on RTX 3050 4 GB VRAM.
- @vinicius0309 (#2) — for the Windows 10 22H2 / RX 6600 report that led to the D3D12 Agility SDK delay-load fix.
- @MatiasNoble3 (#1) and @sgsyun (#3) — for early testing on 4 GB VRAM / 8 GB RAM and release feedback.
- Upstream & community forks:
Marvisak/VIctory,codec-d/cool_fox,avatarmanz/VIctory-7900XTX,fxceless/victory-fork,Belobug/VIctory-Belobug-AMD,crossducking/RAZDA4A-XEN,trustno1-coder/VIctory-NVIDIA, andRodriON VI.
Upstream README (codec-d/cool_fox & avatarmanz/VIctory-7900XTX)
Run the codec_d Windows build
Download and extract the Windows x64 ZIP from the private releases. Open PowerShell in the extracted folder and point the launcher at your own complete Xbox dump.
$env:VICTORY_GAME_DIR = 'D:\Games\MyDump'
.\Play-VIctory.cmd pareto-residency
The launcher selects Series S and the RTX-tested residency settings. It builds its shader cache locally under %LOCALAPPDATA%\VIctory\cache-pareto. Set VICTORY_CACHE_DIR to reuse an existing cache outside the checkout. Windows x64, an AVX2 CPU, and a Direct3D 12 GPU with shader model 6.6 and mesh shader support are required.
To build from this checkout, install the pinned Rust toolchain and the MSVC C++ build tools with a Windows SDK, then run cargo build --release --locked -p victory. The same launcher finds target\release\victory.exe. The sections below describe the upstream AMD fork and its separate launcher.
A fork of VIctory, a compatibility layer that runs an Xbox Series title natively on Windows from files the user supplies. This one is about speed on AMD RDNA 3: the world at 30 frames a second on one PC, without giving up the picture. It is not there yet.
This repository contains no game files, code or assets. You need your own copy of the game. It is not affiliated with or endorsed by the game's developer or publisher.
Where it stands (2026-11-25)
Tested on one machine only: Windows 11, Intel i9-12900K, 64 GB RAM, Radeon RX 7900 XTX, 1440p, the Series X profile.
| Menus, videos, loading screens | 30 fps |
| Prologue, indoors | 50-75 ms a frame (13-20 fps) |
| First mission with the boat | 46-53 ms (19-22 fps) |
| Street chase with many cars and people | 100-165 ms (6-10 fps), single frames far longer |
| Outdoors on foot, the camp | 60-90 ms |
| Flying | 42-57 ms |
| Longest session so far | 41 minutes, no crash |
| Memory | 40-46 GB of private memory: 64 GB of RAM recommended |
It started at 280 ms a frame in the same scenes two days earlier.
What is known to be wrong:
- Trees, plants and far buildings flicker outdoors in some places.
- Rooms with little direct light are too dark without
-RayTracing. - Textures of what just came into view appear late while the title streams.
- The first run with a new driver or a new build stutters while the driver makes
pipelines (
victory warmmakes them ahead). - Recording a frame in the world makes the title's own watchdog end it.
How to run it
You need Windows 10/11 x64, a CPU with AVX2, a Direct3D 12 GPU with shader model 6.6 and mesh shaders, Rust (the toolchain is pinned), the MSVC build tools, and your own dump of the title.
git clone https://github.com/avatarmanz/VIctory-7900XTX
cd VIctory-7900XTX
copy victory.example.toml victory.toml # then set your paths, outside this folder
cargo build --locked --profile diag -p victory --features diagnostics
scripts\play.ps1 -Exe <path of your copy's executable>
scripts\play.ps1 -Safe leaves out the newest, faster ways; try it first when
something is wrong. -RayTracing turns the title's ray-traced indirect light on.
Before the first run, ahead of time (both can be stopped and go on later):
target\diag\victory.exe shaders <the shader archives> # every shader translated, minutes
target\diag\victory.exe warm --used # pipelines earlier runs drew with, for a new driver or build
Commands, debugging switches and upstream's own description:
docs/README-fxceless.md. Every VICTORY_... switch is
described in a comment where it is read.
What is different here
In short; the reasons and the measurements are in docs/findings.md.
- List calls are written down, not carried out, on the title's threads
(
VICTORY_THIN): eight threads of ours translate them. - Submissions are prepared by a thread of ours and joined
(
VICTORY_ASYNC_SUBMIT,VICTORY_JOIN_PARTS), with what can be spread over threads spread: refreshes, compares (AVX2), descriptor records, landings. - What shaders wrote comes back beside the write guards, by the dwords that
changed, on a thread of its own (
VICTORY_RELAY,VICTORY_LAND). - Buffer fills that need bytes still on the card are done on the card
(
VICTORY_CARD_STEPS) instead of waiting for it. - The title's writes are caught more cheaply: one view opened at a fault, blocks that rest, places in the title's code that look before they write.
- Textures go up on a copy queue of their own and a slot shows one only after its upload ran, which also ended a device loss that came every 15 minutes or so.
- Boats float: textures that shaders write and the title's CPU reads go back to title memory (from fxceless and Geckomacabre, on by default here).
- Frame record and replay with per-pass times and shader variants compared turn by turn (docs/replay.md).
Credits
This is a tree of other people's work with more on top. The history is kept, and commits taken from elsewhere name the commit and its author.
- VIctory by Marvisak and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler.
- codec-d/cool_fox (
codec_d): the Windowspareto-residencyfork this repository directly builds upon. - avatarmanz/VIctory-7900XTX:
upstream AMD RDNA 3 performance fork (
VICTORY_THIN, async submit, copy-queue uploads, relay/land). - crossducking/RAZDA4A-XEN
(
RAZDA4A XEN):CardCpu::Cpuhost-heap backing, asyncvictory-sweep/victory-burythreads,VirtualAlloc(MEM_RESET)physical page discard,VICTORY_SEND_SPARE_MB,VICTORY_WINDOW_IDLE_MS,shared_twin_scratch, and upstream#2462descriptor fix. - fxceless/victory-fork
(
Hyphen): the fork this family started from, and the people whose pull requests it carries. - DexNom/VIctory: ray tracing fixes, cube gradients, sparse textures.
- Belobug/VIctory-Belobug-AMD: the ambient light idea, pipeline workers, and work by romainhedouin.
- FQY55kai/ZJOU-VICTORY.
- myokex/victory-amd: the guard over every view of a page (with Spexivus, joroyt and tightfall), and Joshua Odom's reads into title memory.
- Geckomacabre and cxy0072019-sketch: the texture read-back.
- XCL (GPL-2.0-only) was read for how the same title behaves under another layer; no code of it is here.
- This fork's changes were made with Claude Code.
License
GPL-3.0-or-later, as VIctory. See LICENSE; the one file that is not covered is named in docs/asset-policy.md.
関連プロジェクトを探す
読み込み中…