- Rust 99.4%
- PowerShell 0.5%
- Batchfile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cargo | ||
| .githooks | ||
| .github/workflows | ||
| apps/victory | ||
| crates | ||
| docs | ||
| scripts | ||
| tests/fixtures/hle-probe | ||
| tools | ||
| xtask | ||
| .gitattributes | ||
| .gitignore | ||
| .victory-root | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| early-keys.txt | ||
| Launcher-V7.cmd | ||
| LICENSE | ||
| Play-V7.cmd | ||
| Play-VIctory.cmd | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
| victory.example.toml | ||
HITMAN-V7
A fork of VIctory, the compatibility layer that runs an Xbox Series title natively on Windows from a dump of your own copy, tuned for NVIDIA RTX cards. It is built on playablegames-peppa and carries fixes from other VIctory forks (see Credits).
Current build: V7.1 + warm-up (2026-12-03). What changed in each version: CHANGELOG.md.
- Build it or download it: the source builds as below. Each release on the
Releases page also
carries the program built from that exact snapshot (
victory.exe), with its SHA-256 in the release notes. Put it attarget\release\victory.exeandPlay-V7.cmduses it. - No game files: nothing from the game is in this repository; you need your own dump.
- Readable launcher:
Play-V7.cmdis a plain text script. Read it before you run it.
What you need
- Windows 11 and an NVIDIA RTX card. V7.1 was tuned and measured on an RTX 5080; other cards are untested.
- To build it: Rust (rustup installs the version in
rust-toolchain.tomlby itself) and Visual Studio Build Tools with the C++ workload and the Windows SDK. - Your own dump of the title.
- Optional, for DLSS: NVIDIA's Streamline SDK 2.14.16, from NVIDIA's own GitHub (NVIDIA-RTX/Streamline). NVIDIA's files can't be shipped here. Without them the game runs without DLSS.
Build and run
git clone https://github.com/composerdemon-design/HITMAN-V7
cd HITMAN-V7
cargo build --release --locked -p victory
$env:VICTORY_GAME_DIR = 'D:\Games\MyDump' # your dump: the folder with game_scarlett_master.exe (or GTAVI.exe)
$env:VICTORY_STREAMLINE_DIR = 'C:\sdk\Streamline\bin\x64' # optional, for DLSS
.\Play-V7.cmd precompile # once: translates every shader ahead of time
.\Play-V7.cmd # play
| Command | What it does |
|---|---|
Play-V7.cmd |
Series X profile, borderless 4K, DLSS Quality (how the figures below were measured) |
Play-V7.cmd fg |
Adds DLSS frame generation 2x with Reflex |
Play-V7.cmd nodlss |
Runs without DLSS (no Streamline needed) |
Play-V7.cmd precompile |
Translates every shader into the cache, then exits. Run it once, and again after you update |
Play-V7.cmd nowarmup |
Starts without the pipeline warm-up list (early-keys.txt), as V7.1 before |
Play-V7.cmd nopanel |
Starts without the startup panel |
Launcher-V7.cmd |
Optional window: tick Preload shaders and Frame generation 2x, then Play (runs Play-V7.cmd with those choices) |
Optional launcher window (Launcher-V7.cmd, which opens tools\HITMAN-X-Launcher.ps1, plain text):
- Two choices, remembered in
%APPDATA%\HITMAN-X\launcher.json:- Preload shaders on: the warm-up list and the startup panel. Off:
nowarmup nopanel. - Frame generation 2x on:
fg.
- Preload shaders on: the warm-up list and the startup panel. Off:
- Play runs
Play-V7.cmdwith those words in its own console window, and the launcher closes. - Nothing is forced:
Play-V7.cmdalone starts the game as before. - Each step and any error is written to
%TEMP%\HITMAN-X\launcher.log, and an error also shows in the window.
What the launcher does:
- Process name: it copies the program you built,
target\release\victory.exe, toGTAVI.exein the same folder and runs that copy, so tools that record by process name (such as PortWatch's Lab) see the game asGTAVI.exe. It is the same program. - Shader cache: translated shaders stay in
%LOCALAPPDATA%\VIctory\cache-v7, so later starts don't translate them again. - No kept pipeline library: it clears the port's pipeline library folder at every start, because a kept library corrupted the picture in our tests (black staircase tiles in shadows).
- Warm-up: the pipelines listed in
early-keys.txtare made while the title starts, instead of at their first draw. Only the keys are kept, never compiled pipelines.nowarmupturns this off. - Startup panel: a HITMAN-X window (
tools\startup-panel.ps1, plain text) shows the warm-up while the game starts.- It shows "Preparing shaders..." until the game has read its list, then the percentage and how many listed pipelines are ready.
- It closes when they are all ready, or when the warm-up has gone quiet with the game on screen.
- The game never waits for it. Hide or Esc closes it.
- The game reports progress through one line in a temporary file
(
VICTORY_STARTUP_PROGRESS).
- Settings: it sets V7.1's tested switches. Any
VICTORY_...variable you set yourself wins over the launcher's.
Play-VIctory.cmd and scripts\play.ps1 are upstream launchers kept from
playablegames-peppa (Series S); V7.1's settings are only in Play-V7.cmd.
Tips
- Without
precompile, the first start translates about 23,000 shaders while you play, and it stutters. NVIDIA's driver also keeps its compiled pipelines between sessions, so stutter drops from the second session on. - Close RTSS and MSI Afterburner. With them open, our runs (frame generation 2x) were held at 71.4 ms (14 fps) 64-67 % of the time; with them closed, 1-2 %.
- Keep NVIDIA Smooth Motion off when you use DLSS frame generation.
- F3 steps the HUD through its views: off, play, benchmark and diagnostics
(
VICTORY_HUD=panelbrings back the older panel). - If the title's watchdog ends a run while frames are slow, set
$env:VICTORY_NO_WATCHDOG = '1'before starting. - Ray tracing is off.
Measured
RTX 5080, Ryzen 7 5700X3D, 32 GB RAM, Windows 11; DLSS Quality, no frame generation; PresentMon over whole sessions, menus and loading included. Each column is a separate session, not a side-by-side test:
| V7.1 | V7 | V6 | |
|---|---|---|---|
| Session | 12.6 min | 7.4 min | 8 min |
| Average | 18.7 fps | 17.3 fps | 13.7 fps |
| Median frame | 39.7 ms | 51.5 ms | 53.6 ms |
| p95 | 116 ms | 110 ms | 160 ms |
| p99 | 206 ms | 168 ms | 403 ms |
The warm-up was measured on its own in two pairs with it off and on, on the same route:
- loading 64 against 74 s;
- freezes over 1 s 0-3.5 against 2.9-4.6 s a session;
- p99 129-200 against 196-215 ms;
- the same median and memory.
Known issues
- Long frames over 250 ms: the title's main thread waits on a fence that the layer signals once the card's writes are copied back. In the worst traced frame it was blocked by a Windows memory-manager rebuild while RAM was nearly full. Not fixed yet.
- Freezes of several seconds: mostly pipelines made at first use. The warm-up removes most of them on the map it was recorded on.
- Near roads flat in the city: the terrain's feedback image is never written. Under investigation.
New in V7.1 + warm-up
- The pipeline warm-up (
VICTORY_EARLY_LIST, on inPlay-V7.cmd). - Per-pipeline wait recording (
VICTORY_EARLY_LIST_SAVE). - A card-time sampler per program (
VICTORY_GPU_SAMPLE), off unless set. - Details in CHANGELOG.md.
New in V7.1 (over V7)
- The Hitman-X HUD with Off, Play, Benchmark and Diagnostics views (
VICTORY_HUD, F3), Play by default. - The optional finer refresh path (
VICTORY_TAKE_FINE=1, still off by default) sends its dirty ranges sorted and joined. - Diagnostics tools, all off unless set: heavy-list timing (
VICTORY_HEAVY_LISTS), buffer lock timing (VICTORY_BUFFERS_TIMING), PIX and Nsight markers (VICTORY_MARKERS,VICTORY_PIX).
New in V7 (over V6)
- Shaders on NVIDIA: max, min and med3 in exact host float forms (
VICTORY_HOST_FLOAT, from foxhound). - Particle emitters from models are translated instead of dropped
(
VICTORY_EMITTERS_WIDE, from foxhound). - Shadow rays with no acceleration structure count as occluded, for the grid of white dots in the shade (from trustno1's VIctory-NVIDIA).
- Tearing presents where Windows allows them (
VICTORY_TEARING). - Pads without XInput (such as Thrustmaster) work through the joystick driver
(
VICTORY_JOYSTICK). - Closing the window ends the game cleanly.
Every VICTORY_... switch is described in a comment where the code reads it. More
notes: docs/architecture.md,
docs/rendering-checklist.md and the upstream commands
in docs/README-fxceless.md.
Credits
This repository is a single snapshot without history. The commits and their authors are in the upstream repositories below.
- VIctory by Marvisak and its contributors: the loader, the runtime services, the Direct3D 12 back end and the shader recompiler.
- playablegames-peppa by Peppacodes: the tree this build starts from.
- avatarmanz/VIctory-7900XTX by avatarmanz: the speed work Peppa's tree is built on, and the bringing together of the forks below.
- fxceless/victory-fork: the fork avatarmanz started from, and the people whose pull requests it carries.
- trustno1-coder/VIctory-NVIDIA: NVIDIA work (render scale, own upscaler, faces, the intro video, the shadow-ray fix in V7), with patches it took from vitutu1's victory-perf and ZigZagBoi1's ScarlettPort.
- foxhound: the exact NVIDIA float forms and the particle emitter translation in V7.
- Proudnoob4, for the RTX 4080 recipe in avatarmanz's issue 143, which named most of the pull requests brought in; and their authors: UwUCammie, gomeaw, sawetco, kalijerry, SousaTrashBin, rivaldodev, secure-silicon, ESAT586, Chipsraine, Steenax6, beamdotdev, tippythetaidum.
- 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 in avatarmanz's tree for how the same title behaves under another layer.
- Changes here and upstream 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.