This is shayanCSknu's version of ztrx. Based on ztrx (Zettrox), VIctory (Marvisak) and victory-fork (fxceless).
Added in this version:
VICTORY_PAD_MAP: change which keyboard keys press which pad buttons (see "Play" below).
ztrx runs the Xbox Series build of the game natively on Windows PCs with NVIDIA graphics cards, from game files you supply yourself.
This repository contains no game files or assets. You need your own copy of the game. Not affiliated with or endorsed by its developer or publisher.
Tested on Windows 11 with an NVIDIA GeForce RTX 3050 (8 GB):
| Boot, first-boot screens, intro, opening credits | works |
| Prologue | playable from the cell to the boat chase: cell, cafeteria, robbery, police chase (wanted level, minimap), boat, binoculars |
| Stability | 1 h 30 min+ in one session without a crash |
| Frame rate | 1-3 fps in the world (the first run is slower while shaders translate; they are cached after that) |
| Known problems | anything in shadow is black and bright scenes overexpose (the game's ray-traced lighting does not run yet); some blocky artifacts; boats sit low in the water |
- Windows 10/11 x64, a CPU with AVX2
- A Direct3D 12 GPU with shader model 6.6 and mesh shaders (NVIDIA RTX 20 series or newer)
- Rust (the version in
rust-toolchain.toml) - Several GB of free Windows commit memory (raise the paging file if
crashes.logreports error 1455)
cargo build --release -p victorypowershell -ExecutionPolicy Bypass -File scripts\play.ps1 -Game "<your game folder>\<the game's exe>"scripts\play.ps1 keeps the shader cache and saves in folders you choose
(-Cache, -Data) and presses no buttons for you. Controller: XInput pads
(a DualShock/DualSense through DS4Windows works). With no pad connected the
keyboard acts as one while the game window has focus.
The keyboard's buttons can be changed with VICTORY_PAD_MAP, a list of
<key>=<button> entries, for example $env:VICTORY_PAD_MAP = "Space=A,R=LB".
Keys: a letter, a digit, Enter, Esc, Tab, Back, Space, Up,
Down, Left, Right. Buttons: A, B, X, Y, LB, RB, LS, RS,
Menu, View, Up, Down, Left, Right. W/A/S/D, I/J/K/L (sticks) and
Z/C (triggers) stay fixed. To keep a map, put it in victory.toml instead
(see victory.example.toml); VICTORY_PAD_MAP wins when both are set:
[input]
pad_map = 'Space=A,R=LB'VICTORY_RELAY=2, or VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 cut frame
time on the test machines. Set them in PowerShell before running the script.
| Switch | Effect |
|---|---|
VICTORY_CAPTURE=<dir> + VICTORY_CAPTURE_FRAMES=<list> |
save those frames as PNG (diagnostics build) |
VICTORY_KEYS=30:Enter,35:X |
press keys at those seconds (diagnostics build) |
VICTORY_D3D12_DRED=1 |
on a GPU failure, report the commands in flight (diagnostics build) |
VICTORY_PIPELINE_WAIT_MS=24 |
shorter per-frame wait for pipelines still being built |
Diagnostics build: cargo build --profile diag -p victory --features diagnostics
victory settings lists every switch above and more, shows which are set now,
and warns about a set switch that this build ignores.
GPL-3.0-or-later (see LICENSE). Based on VIctory (Marvisak) and victory-fork (fxceless).