- Rust 98.4%
- Batchfile 1%
- PowerShell 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
PLAY_ARC_CAPTURE.cmd (diag build, F10 frame capture), PLAY_ARC_CLOUD.cmd (exact forms for the cloud programs), PLAY_ARC_EMPTY.cmd (empty indirect record counter), PLAY_ARC_OPT.cmd (VICTORY_SHADER_OPT=127), PLAY_ARC_UNPIN2.cmd (six more unpinned programs) and PLAY_ARC_TILE.cmd rebuilt on the current PLAY_ARC.cmd. Co-Authored-By: Claude Opus 5.5 <[email protected]> |
||
| .cargo | ||
| .githooks | ||
| .github/workflows | ||
| apps/victory | ||
| crates | ||
| docs | ||
| scripts | ||
| tests/fixtures/hle-probe | ||
| xtask | ||
| .gitattributes | ||
| .gitignore | ||
| .victory-root | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Get-AMD-FSR.cmd | ||
| Get-NVIDIA-DLSS.cmd | ||
| LICENSE | ||
| Play-VIctory.cmd | ||
| PLAY_ARC.cmd | ||
| PLAY_ARC_CAPTURE.cmd | ||
| PLAY_ARC_CLOUD.cmd | ||
| PLAY_ARC_DIAG.cmd | ||
| PLAY_ARC_EMPTY.cmd | ||
| PLAY_ARC_FPS.cmd | ||
| PLAY_ARC_FULL.cmd | ||
| PLAY_ARC_OPT.cmd | ||
| PLAY_ARC_PERF.cmd | ||
| PLAY_ARC_TILE.cmd | ||
| PLAY_ARC_TIMING.cmd | ||
| PLAY_ARC_TRI.cmd | ||
| PLAY_ARC_UNPIN.cmd | ||
| PLAY_ARC_UNPIN2.cmd | ||
| PLAY_FRAMEGEN.cmd | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| victory.example.toml | ||
VIctory-INTEL
A fork of trustno1-coder/VIctory-NVIDIA that runs the title's Xbox Series build on Intel Arc cards. The shader translation is fixed for Intel's driver, and Intel XeSS does the upscaling and the frame generation in place of DLSS and FSR.
Tested on one PC: Intel Arc A770 16 GB, Core i5-11400F, 16 GB of RAM, Windows 11, Series S profile (1920x1080 output).
This repository contains no game files, code or assets. You need your own legally obtained copy of the title. It is not affiliated with or endorsed by the title's developer or publisher, nor by Intel. See docs/asset-policy.md.
Frame rate: where it started, where it is
Frames a second in gameplay on the Arc A770, at each step of this fork (the layer's own count; the last one is frames shown with frame generation):
xychart-beta
title "GTA VI on an Arc A770 16 GB: frames a second in gameplay"
x-axis ["Upstream", "Exact forms everywhere", "Meetings (game FSR)", "XeSS Quality", "XeSS Perf + frame gen"]
y-axis "fps" 0 --> 25
bar [1, 2, 10, 11, 20]
| Step | fps | What changed |
|---|---|---|
| Upstream VIctory-NVIDIA on the Arc | under 1 | 170-340 ms a frame on the card; freezes in gameplay |
| Exact (drained) forms for every program | 1-3 after a few minutes | right picture, but group barriers everywhere slowed the card more and more |
| Pair meetings, approximate forms where needed | 8-10, steady | the translator fixed for Intel's waves; the game's own FSR from 1280x720 |
| XeSS Super Resolution, Quality | about 11 | Intel XeSS in place of the game's FSR (1280x720 to 1920x1080) |
| XeSS Performance + XeSS frame generation | about 20 | the scene at 960x540, XeSS upscales, XeSS-FG shows a made frame between each two |
How a frame goes through
flowchart LR
A[Game renders the scene<br/>960x540 to 1280x720] --> B{ffxDispatch<br/>upscale}
B -->|XeSS on| C[Intel XeSS<br/>Super Resolution]
B -->|XeSS off| D[Game's own FSR4]
C --> E[1920x1080 frame<br/>+ interface plane]
D --> E
C -. depth, motion vectors .-> F
E --> F[XeSS-FG swap chain<br/>with XeLL]
F --> G[Screen: rendered frame<br/>+ one generated frame]
The game asks its FidelityFX upscaler for every frame. VIctory-INTEL takes that call and has XeSS do it from the same colour, depth and motion vectors. With frame generation on, the same depth and motion vectors go to XeSS-FG at the present.
Quick start
You need Windows 10 or 11 (x64), an Intel Arc card with a recent driver, 16 GB
of RAM or more (32 GB is more comfortable), an SSD, Rust,
the Visual Studio Build Tools
with "Desktop development with C++", and your own dump of the title's Xbox
Series build v1.0.2.1 (the folder with game_scarlett_master.exe).
-
Get the code:
git clone https://github.com/djesseazy/VIctory-INTEL cd VIctory-INTEL -
Get Intel's XeSS SDK (3.0.2 tested) from intel/xess releases and unpack it into
intel-sdk\xessin this folder (git-ignored). The layer loadslibxess.dll,libxess_fg.dllandlibxell.dllfromintel-sdk\xess\bin. They are Intel's, under Intel's licence, and this repository does not carry them. -
Edit
PLAY_ARC.cmd:- put the path of your
game_scarlett_master.exeafter-Exe; - put your
intel-sdk\xess\binfolder inVICTORY_XESS_DIR.
- put the path of your
-
Double-click
PLAY_ARC.cmd. The first start builds the layer (a few minutes) and translates every shader (more than 10 minutes, once per build).
In the game
- F1: the settings menu (arrow keys pick and change, Enter does it).
- F3: the stats panel (frame rate, frame generation, draws, GPU and memory).
The F1 menu
| Row | Values | What |
|---|---|---|
| XESS UPSCALING (INTEL) | QUALITY, BALANCED, PERFORMANCE, OFF | QUALITY renders at 1280x720, BALANCED at 1114x626, PERFORMANCE at 960x540, all to 1920x1080. OFF: the game's own FSR |
| XESS FRAME GENERATION | OFF, 2X, 3X, 4X | 1 to 3 generated frames between each two rendered (2x to 4x the fps shown, a little more input lag). The most the card and driver take is used if less; the log says how many (shown_per_rendered). Needs XeSS upscaling on |
| FRAME RATE CAP | NONE, 120, 60, 30 | 30 is the game's own |
| FPS AT THE TOP, STATS PANEL | ON, OFF | live |
| FULLSCREEN, MOUSE CAPTURE, ENGLISH KEYBOARD | ON, OFF | |
| CONSOLE | SERIES S, SERIES X | keep SERIES S on an Arc with 16 GB of RAM |
| LIGHT ESTIMATE, REFLECTION ESTIMATE, FOG CAP | the estimates that stand in for the game's ray tracing |
The menu saves to victory-settings.txt and restarts the game itself. The
launcher's own settings (the -More of PLAY_ARC.cmd) are kept across that restart.
What this fork changes for Intel Arc
Shader translation for Intel's driver
- No
SV_Barycentricson Arc: interpolation falls back to a form the Arc runs. Characters and hair render again. - Waves of 8 to 32 lanes: console compute programs are pinned to 32-lane
waves, and the two halves of a console 64-lane wave meet to exchange their
lane masks (
VICTORY_PAIR_MEET=1). This ended the freezes. - Copies that read textures written as
R32_UINThung the card: they go through a conversion pass instead. - Programs that could not be translated at all are translated in the exact
"drained" form (group barriers, exit drain), which fixed the black water
patches (
VICTORY_DRAINED_FORMS=dropped). The rest keep their fast form, because the exact form everywhere cost most of the frame rate. - Character and hair shadow programs in the exact form
(
VICTORY_DRAINED_SHADERS), aimed at the white tiles on faces. Each listed program has a cache key of its own, so changing the list does not retranslate everything. - Shadow meshes that page-faulted the card, and compute passes that never
ended on it, are left out (
VICTORY_LEAVE_OUTinPLAY_ARC.cmd).
Intel XeSS
- XeSS Super Resolution in place of the game's FSR, with the quality modes in F1. For BALANCED and PERFORMANCE the game is patched to render smaller. Its own FSR4 context is still made at a size it accepts, which stopped a crash at 960x540.
- XeSS frame generation (XeSS-FG with Intel's XeLL latency reduction): our swap chain is XeSS-FG's, and it is given the depth, the motion vectors and the scene without the interface at every present.
Memory, on 16 GB of RAM
- Textures stop at three quarters of the card's budget, with no blocks held ahead
(
VICTORY_TEXTURE_POOL=0,VICTORY_TEXTURE_ROOM_PERCENT=75). - Texture levels are loaded as needed (
VICTORY_LEVELS_ON_DEMAND=1), some game memory is read by the card in place (VICTORY_INPLACE=1), and the pipeline library is read rather than mapped (VICTORY_LIBRARY_MAP=0).
Launchers
| File | What |
|---|---|
PLAY_ARC.cmd |
play: release build, every Arc setting |
PLAY_ARC_DIAG.cmd |
the diagnostics build, with a 30 s hang watchdog that writes the stacks of a freeze to the log |
PLAY_ARC_TIMING.cmd |
the diagnostics build with GPU timings (which pass is slow) |
PLAY_ARC_FULL.cmd |
with fewer passes left out, to compare the picture |
Each one explains its switches in its own comments.
Known problems
- Stray triangles now and then, and a slight "painted" look on some edges.
- White tiles on faces: the fix (character shadow programs in the exact form) is new and not confirmed yet.
- A crash at one point of the story, reached in two long runs.
- RAM: 16 GB is tight. Close other programs; 32 GB is better.
- The first start of a new build translates every shader (more than 10 minutes) and stutters while the driver makes pipelines.
- No ray tracing: the game's own is off, and estimates stand in for indirect light and reflections.
Reporting a problem
Attach the log of the run that went wrong. Paste %LOCALAPPDATA% into the address bar of
File Explorer to get there:
- The play log, in
%LOCALAPPDATA%\victory\logs\: the newestvictory-intel-<date>-<time>.log. - The crash log:
%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log.
Say which Arc card, how much RAM, and which F1 settings you used.
How it works, and the findings
- docs/architecture.md: the layer's parts.
- docs/findings.md: measurements behind upstream's choices.
- docs/README-foxhound.md: the foxhound base this line of forks grew from.
- docs/windows-memory.md: memory troubleshooting.
- docs/asset-policy.md: what may and may not be in this repository.
Credits
A tree of other people's work with an Intel layer on top; the history is kept.
- trustno1-coder/VIctory-NVIDIA: the base of this fork (F1 menu, F3 panel, launcher, much of the layer).
- foxhound by readmet3xt-lab, and through it VIctory by Marvisak and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler.
- fxceless/victory-fork, avatarmanz/VIctory-7900XTX, codec-d/cool_fox, DexNom/VIctory, Belobug/VIctory-Belobug-AMD and the others foxhound's README names.
- Intel XeSS, XeSS-FG and XeLL are Intel's. They are loaded at run time from a folder you supply.
- Much of this fork's code was written with Claude Code.
License
GPL-3.0-or-later, as VIctory and foxhound. See LICENSE. The one file that is not covered is named in docs/asset-policy.md.