A source-only patch stack on top of victory-fork for running the title on Linux (Proton + vkd3d-proton) on NVIDIA cards. No binaries, game data, saves or frames are in this repository: a pinned public base commit, an ordered patch series, a build script, a launch preset and notes. It is a living base: we build on it, and anyone may take single patches from it (GPL-3.0, like the base).
We work on the Series X profile (--console series-x): the aim is the full picture on a fast card, and our
measurements and picture checks are made there. The Series S profile is faster and needs less memory; for work focused
on it, and for an opt-in ray-tracing preview on Linux, see ThomasHFWright's
LinVxtory (its earlier builds used this kit's v0.1).
BASE: the pinned base (victory-forkmainat4c6046614).patches/: the series, numbered, one concern per patch, applied in the order ofpatches/series.patches/README.mdlists every patch with its source (fork PR, upstream VIctory PR, other forks, or "own") and licence; each patch also carriesKit-Source:/Kit-Licence:trailers. v0.1 gave the tree we measure as--pr9b(minus four default-off experiments); v0.2 is that stack on fork maine4245f3c1; v0.2.1 moves it to fork main4c6046614and addsVICTORY_DT_MAX; v0.2.2 adds a small mod loader and two fixes (CHANGELOG.md).build.sh: fetch the base, check the inputs, apply the series, build release + diagnostics.launch/:speed.env(the speed preset) and the launch flags (launch/README.md).docs/: the scene we measure on (scene.md), where in the game we can check things for you (test-scenes.md), known issues (known-issues.md), how to move to a newer base (rebase.md).CHANGELOG.md: measured results per round and per patch.
Highlights: fork #995 frame-rate work, #854/#993 wave64 programs paired on 32-lane GPUs, an ambient stand-in for the missing ray-traced indirect light (#917 +
Belobug's refinements), small title buffers resident on the card (VICTORY_CARD_BUFFERS_MIN_KB=64, +33 %), and the
dark-cell fix (VICTORY_PIPELINE_WAIT_FIRST_MS). From the base: #927 faces, #1002 cascade shadows and the black-face
streaming fix (VICTORY_PAGE_WRITES 1|2|8), all in fork main since v0.2.
Needs git, a Rust toolchain (the base's rust-toolchain.toml), and for a Linux cross build clang-cl, lld-link,
llvm-lib and an MSVC SDK (e.g. from xwin).
XWIN=/path/to/xwin-sdk sh build.sh /path/to/empty-dir # add --no-diag for release only
The script refuses a work dir that is not at the pinned base or has local changes. Output:
<dir>/target/x86_64-pc-windows-msvc/{release,diag}/victory.exe. Then see launch/README.md.
Patches are plain git format-patch mails; paths in this README are relative to the kit root.
git am -3 /path/to/inkvi-kit/patches/0013-vpr1489-ascilch-gather4-c.patch
- Patches marked "own (build fix ...)" or "resolution" only make sense together with the patch they fix.
- The series was resolved against fork main as one merge; its merge-time resolutions (mostly in 0005 #995, 0012
#854/#993 and 0027 striped lock, against fork main's #927, #646, clamp windows, #3198, page writes, #1312 and
#1352) are collected in
0037-own-resolution-4c6046614.patch. Taken alone onto4c6046614a patch applies with-3, but you may need the matching hunks of 0037 to compile. - Every new switch is off unless set; read the patch's commit message for its switch and default.
inkVI loads data-only mods: a folder mods/<name>/ beside victory.exe (or the folder VICTORY_MODS_DIR names)
holding a mod.toml of byte patches. Each patch names its place (an offset and the bytes that must be there, or a
byte pattern that must match exactly once) and is checked before anything is written. A mod applies whole or not at
all and can be limited to one game build. No DLLs are loaded and no third-party mods ship with the kit;
VICTORY_MODS=0 turns the loader off.
The format is documented at the top of crates/victory-loader/src/mods.rs. The log says what was applied
("inkVI loaded. 1 mod."). An on-screen notice is on the roadmap, for example "Thanks for using inkVI. 1 mod loaded."
in the game's own phone pop-up.
brighten.cso, the compiled compute shader of #995 (VICTORY_BRIGHTEN):build.shcompiles it from the patchedbrighten.hlslwhenDXC=<dxc binary>is set (dxc -T cs_6_0 -E main), otherwise it fetches the blob from #995's head commit (pinned inBASE) and checks its sha256.
A separate kit for 32:9 / 21:9 on top of this one: the title's own output size, the camera's field of view, a borderless window, cutscenes without bars. Work in progress: inkVI-ultrawide.
Test tooling on top of this kit: teleport, bookmarks, clock and cutscene replay from a command channel, and captures for comparing pictures. A testing aid, work in progress: inkVI-dive.
- docs/linux-problems.md: what you see, why it happens on Linux / Proton / NVIDIA, the fix and who made it. Seventeen entries so far; several causes are marked unverified.
- docs/wineserver-viewtree.md: building a wineserver that keeps memory views in a tree. On stock Proton 11 with cold caches this kit ran at 1-2 fps for us; with that wineserver and warm caches, 5-6.6.
- Discussions: setups, numbers and fixes from anyone running VIctory on Linux, whatever the fork.
In v0.2.2
- Mods: a small loader for data-only mods (see Mods)
- The pipeline library works under Proton: a fresh cache folder now keeps its pipelines (same fix as fork PR #885)
- The gather barriers are counted in the barrier statistics (Discussion #1)
- From v0.2.1:
VICTORY_DT_MAX; from v0.2: the prison cell lit, faces and skin fixed - Native 32:9 with a correct field of view (inkVI-ultrawide, work in progress)
Next
- Frame rate on Linux, our main focus: the prison and Chapter 1 first; measurements and open leads in Discussion #2
- Ultrawide: a new inkVI-ultrawide release on this kit, with the loading screens and the intro video at 32:9
- In-game notices from inkVI itself, in the game's own phone pop-up: a test build already showed a live message from the port in one (no game files changed); next is opening the pop-up ourselves, for messages like "x mods loaded"
Why inkVI stays on its base for now
On 2026-11-27 the fork's main moved to the VIctory-NVIDIA line. We tested it on Linux (RTX 5090, Proton 11, Series X,
same scene): 2.7-2.8 fps, against 6.1 for inkVI on its base, and parts of the lighting were missing. The new line
does more GPU work each frame; its ray-tracing preparation runs even with ray tracing off. So inkVI stays on
4c6046614 and takes single fixes from the new main, with credit. If the new line runs better on Linux later, we
might rethink this.
Later
- Ray tracing, building on TomTomAIbot's LinVxtory and its ray-reconstruction work
- Picture fixes: eyes and glasses, the black phone screen
- More test tooling in inkVI-dive
- Mods: more ways in (a folder of the user's own DLLs, other loaders' formats), opt-in only
Updated with each release. Issues and test requests are welcome (docs/test-scenes.md).
GPL-3.0 (LICENSE), the licence of the base and of every patch source. Authors are kept in each patch.