Read-only copy of github.com/Slaktarn700/SlaktarnVI · Linux + AMD Radeon only. Valhalla, by Slaktarn: an Xbox Series compatibility layer for Linux under Proton, built on VIctory-xmem and tuned for the AMD RX 9070 XT. Not for Windows, NVIDIA or Intel. No game files.
  • Rust 97.8%
  • Python 1.4%
  • Shell 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 17:22:45 +01:00
.cargo A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
.githooks Valhalla, by Slaktarn: a VIctory fork for Linux under Proton on AMD RX 9070 XT 2026-11-27 15:29:16 +01:00
.github/workflows A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
apps/victory A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
config A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
crates Launcher: Update and Clear caches in TOOLS, a suggested preset, the game folder found by itself, Prepare after an update, last time's numbers, Back to a preset, a clearer note when the game stops; Skip the intro keeps the TVs 2026-12-02 17:12:25 +01:00
docs README banner: flat, no gradient 2026-12-02 16:43:56 +01:00
linux Launcher: closing while a Tools job runs asks first, and the job's end no longer touches the closed window 2026-12-02 17:22:45 +01:00
patches A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
scripts A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
tests/fixtures/hle-probe Valhalla, by Slaktarn: a VIctory fork for Linux under Proton on AMD RX 9070 XT 2026-11-27 15:29:16 +01:00
tools A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
xtask A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
.gitattributes A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
.gitignore A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
.victory-root A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
build.sh A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
Cargo.lock A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
Cargo.toml A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
env.sh A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
install.sh One command, plainly: checks first, offers to install what is missing, your game folder, the app menu; Start here in the README 2026-12-02 16:33:58 +01:00
LICENSE Valhalla, by Slaktarn: a VIctory fork for Linux under Proton on AMD RX 9070 XT 2026-11-27 15:29:16 +01:00
README.md Launcher music: a file of your own from a chosen second, looped, with volume and mute 2026-12-02 17:19:24 +01:00
run.sh A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
rust-toolchain.toml Valhalla, by Slaktarn: a VIctory fork for Linux under Proton on AMD RX 9070 XT 2026-11-27 15:29:16 +01:00
rustfmt.toml Valhalla, by Slaktarn: a VIctory fork for Linux under Proton on AMD RX 9070 XT 2026-11-27 15:29:16 +01:00
setup.sh A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00
victory.example.toml A new base: VIctory-xmem, with steadier light, fewer texture flashes and a new README 2026-12-02 16:11:00 +01:00

SlaktarnVI: Valhalla, by Slaktarn. An Xbox Series compatibility layer for Linux and AMD Radeon.

License: GPL-3.0-or-later Platform: Linux GPU: AMD Radeon Base: VIctory-xmem Rust 1.98

Start here  |  Status  |  Quick start  |  How it works  |  Presets  |  Keyboard and mouse  |  Troubleshooting  |  Credits


Warning

Linux only, AMD Radeon only. This build runs under Proton on Linux with a copy of Mesa's AMD driver that it builds for itself. Windows, NVIDIA and Intel are not supported, and on this base they cannot be: the program relies on that driver. Please use a project made for your system.

Important

No game files, code or assets are in this repository, and no binaries built from them. You need your own legally obtained copy of the title. This project is not affiliated with or endorsed by the title's developer or publisher, nor by Microsoft or AMD.

SlaktarnVI (Valhalla, by Slaktarn) is a fork of VIctory-xmem by lobomfz, itself built on VIctory by Marvisak and many other forks. VIctory-xmem lets a patched AMD driver map the title's memory straight into the graphics card, the way the console shares it, so nothing is copied back and forth every frame. On top of it this fork adds its own launcher, keyboard and mouse play, the light and texture fixes below, and fixes taken from other forks with their authors' names (Credits).

Start here

1. Before you begin

  • An AMD Radeon card (RDNA 3 or 4 recommended) with resizable BAR on: in the BIOS, "Above 4G Decoding" and "Re-Size BAR" (or "Smart Access Memory").
  • Steam with Proton Experimental installed: in Steam, Library, search "Proton Experimental", Install.
  • Your own copy of the game.

2. Open a terminal and paste this

curl -fsSL https://raw.githubusercontent.com/Slaktarn700/SlaktarnVI/main/install.sh | bash

Answer its questions. It asks before it installs anything (sudo then asks for your password) and where your game is. The first time takes 20 to 40 minutes.

3. Play

Start SlaktarnVI from your applications menu, choose the S70 preset, and press PLAY.

To update later, paste the same command again.

Features

Area What you get
Graphics The console's Direct3D 12 and its shaders translated to PC ones, at Series X or Series S settings
Memory The title's memory mapped straight into the card by this project's copy of the RADV driver
Lighting without ray tracing A stand-in for the traced indirect light that remembers the light by direction, so turning or looking up does not swing the whole room
Upscaling The title's own upscaler in the presets; AMD FSR 4 and FSR 3.1 by choice
Frame generation AMD FSR, one generated frame for each real one (by choice; see Frame generation)
Keyboard and mouse Built in, with a key guide on F1 and your own keys in a file
Controller Works as on the console, also beside keyboard and mouse
Screens Windowed or borderless full screen; on an ultrawide screen the picture keeps its shape, with black bars beside it
Launcher Presets, resolution, upscaler, controls, the driver and Proton set-up, shader and pipeline preparation, logs, launcher music (a file of your own, from a chosen second, looped, with volume and mute)
Numbers on screen F3: rendered and displayed rate, upscaler, frame time, 30 s high, low and average, draws, CPU, GPU, RAM, VRAM
Ray tracing Works, slower by about a third, with picture problems: off in the presets

Status

Real frames per second on the tested PC: previous release about 18 in the open world and 20 to 22 in the opening scenes; this release a median of 43.1 and 35.3 for the slowest tenth over three hours.

Tested on one PC only (below), 2560x1440, Series X settings, ray tracing off, no frame generation:

Real frames a second
This release, a 3-hour session in the open world (2026-12-02, preset S70) median 43.1, slowest tenth 35.3, lowest 21.7; no crash
This release, shorter runs with the light memory and the texture fixes (2026-12-02) median 41 to 45, slowest tenth 35
Previous release, opening scenes (2026-11-29, FSR 4 Quality) 20 to 22
Previous release, a parking lot in the open world (2026-11-30, FSR 4 Quality) about 18

The two releases differ in base and in upscaler (the previous one used FSR 4 Quality, the presets now use the title's own), so the comparison is of what you get, not of equal work. Scene cuts still drop for a moment. The goal is a steady 30 real frames a second without ray tracing, then with it.

What is new

2026-12-02: a new base, steadier light, fewer flashes
  • A new base: VIctory-xmem. The title's memory is mapped straight into the card by a patched RADV (Mesa's AMD Vulkan driver), which this project builds as a copy for itself (linux/setup-driver.sh; your system's driver is not changed). About twice the real frame rate of the previous release on the tested PC.
  • Light that does not swing as you turn. Without ray tracing the indirect light is estimated from what is on screen; a bright window or looking up or down used to brighten or darken the whole room. It now remembers the light by the direction it came from, in the title's own camera frame, and a direction never seen does not count (VICTORY_AMBIENT_MEMORY, on in the launcher). The title's camera is read as ReVIctory decodes it.
  • Fewer black and grey flashes on textures, four fixes on in the launcher: a texture whose memory has not all arrived is shown from its first complete level instead of black (VICTORY_PARTLY_CLAMP, from foxhound); a slot keeps its texture while the next one uploads, also when the card is short of memory (VICTORY_KEEP_SHOWN=2, from jaxe); slots that wait or were let go show grey, not black (VICTORY_GRAY_WAITING, from Leila); the grey stand-in's alpha is under a half, so leaves are not drawn as grey cards while they load (VICTORY_NEUTRAL_ALPHA=127, from jaxe).
  • No more dark 16x16 tiles in the local lights' shadows (wave-wide branch splits off by default).
  • Vehicle parts: four instance-culling pipelines that could not be made before (a loop with two back edges) are made now.
  • Full screen on any screen: borderless full screen, with black bars on screens that are not 16:9, also with the interface on a plane of its own (by ARustyOven, and ours for the two-plane case). The numbers' panel reports the frame's size, not the window's (by ARustyOven).
  • The numbers' panel is ours again (F3), and the key guide sits beside or below it.
  • Small card buffers placed together in shared heaps (by Bushyon, VICTORY_CARD_POOL=0 to turn off).
  • Shader preparation runs on a larger stack and no longer stops on a deep shader.

The launcher, later the same day:

  • Six presets: Low, Medium, High and Ultra are back beside S70 and S700, and the PLAY page suggests the one for your card (its memory, and RX 9000 or not). A Custom set-up has Back to its preset.
  • TOOLS, Update: brings SlaktarnVI up to date and builds again what changed, without a terminal.
  • TOOLS, Clear caches: for when something looks wrong after an update (asks first; saves and settings kept).
  • Prepare after an update: when an update changes how shaders are translated, PLAY offers to prepare them again first, against stutter and dark places.
  • The game folder is found by itself (SYSTEM, Find it, and at PLAY when none is set), in your home, Games, Downloads, Steam's libraries and other drives.
  • Last time's numbers next to PLAY: how long you played and the median real frame rate.
  • When the game stops by itself it says so plainly, with Copy a report and Open the logs.
  • "Skip the intro" no longer stops the TVs: it skips the movies of the first 90 seconds only (the logos and the intro), not the clips the TVs play in the world (VICTORY_SKIP_BINK=intro).

Open pull requests made for the previous base may no longer apply. Please rebase them on main.

Earlier updates (previous base)

2026-12-01: starts and first starts on other PCs

  • Set up Proton (Tools, or linux/setup-proton.sh): the two Proton patches, built for you. About twice the frame rate where they were missing (21 against 8 to 11 fps), and no random crashes while loading.
  • A crash of the driver's shader compiler no longer ends the game without a word; the pipeline is left out and named in the log.
  • No face or broken hair on a first start: what the game makes once is waited for.
  • Cards of 8 GB: textures get the memory first (8 GB is the least; 4 GB stays mostly black).
  • A d3dcompiler_47.dll or dxil.dll that is a web page, incomplete, 32-bit or ARM64 is named before the start.
  • Two presets, S70 and S700, instead of five; the HUD at its 4K size below 4K (by Timmybread22); fewer card-memory waits (by Timmybread22); frame generation takes the picture without the HUD (by Timmybread22); full screen and a compact overlay (by BottyIvan).

2026-11-30

  • Picture fixes from other forks: BC7 textures read one step off (coloured specks), decorations baked after their uploads, the ocean's height map in memory, the terrain's page table in time.
  • The launcher has logs and "Copy a report"; what is missing or wrong is named instead of a black screen; the executable is found by itself; settings that ruined the game are gone or mended.
  • FSR drew a black picture in release builds: fixed. Keyboard and mouse play. FSR 3.1 on cards that are not of the RX 9000 series. A damaged newest save never costs an older whole one. Phone calls, TVs and other filtered sound are heard (after ReTerryDavis/ReVIctory and zeex64).

2026-11-29 and before

  • The shore's sand and the plants on the water are drawn (after ReTerryDavis/ReVIctory); late or lost textures; pipelines prepared on an empty cache; a crash dumper and a stall watch that do not hang; a dead zone for the sticks (thanks to pmaho); characters stretched to a point; trees popping.

Known problems

  • Scene cuts drop the frame rate for a moment; the first start prepares every pipeline (several minutes).
  • Without ray tracing the light still follows the title's own exposure (its eye adaptation) and, out of doors, its own sky light, which change with the view. Ceilings can look dark when you look up while facing a bright window.
  • Bright dust specks float in some sunlit rooms.
  • Textures can still arrive late or flash for a moment in places; please report where.
  • Ray tracing is slow and has picture problems.
  • Keyboard and mouse: some button meanings are guesses (change them in keys.txt); in vehicles the mouse buttons do nothing yet.
  • Not supported: Windows, NVIDIA, Intel. Not tested here: AMD cards other than RDNA 4. Several fixes came from people who reported them.

Quick start

One command does all of it, from nothing to PLAY, and the same command updates it later:

curl -fsSL https://raw.githubusercontent.com/Slaktarn700/SlaktarnVI/main/install.sh | bash

In nine steps, each skipped or quick when it is done already:

Step What it does
1. This PC Checks for an AMD Radeon with resizable BAR and for Steam's Proton Experimental, and says how to fix either
2. Tools and libraries Names everything your system lacks at once, with the command for Arch/CachyOS, Fedora or Debian/Ubuntu, and offers to run it (sudo asks for your password); offers to install rustup too
3. The source Clones into ~/SlaktarnVI, or brings it up to date with git pull (a clone with your own changes is left as it is)
4. The launcher Puts its Python library (PySide6) in linux/.venv if your system has none
5. The program linux/setup-build.sh: Rust through rustup, cargo-xwin, the build (asks you to accept Microsoft's SDK license)
6. The DLLs linux/setup-dlls.sh: Microsoft's shader compiler and AMD FSR
7. The driver linux/setup-driver.sh: this project's copy of the AMD driver
8. Proton linux/setup-proton.sh: the patched copy of Proton Experimental
9. Your game Asks where it is (or --game <folder>), offers to prepare its shaders and pipelines, and adds SlaktarnVI to your applications menu

Then it starts the launcher. Nothing is changed outside the folder, your home's caches and the menu entry, unless you say yes to installing packages or rustup. In a clone, ./install.sh does the same. Options: --game, --dir, --yes (yes to every question), --check (says what is there and what is missing, changes nothing), --no-fsr, --no-proton, --no-prepare, --no-menu, --no-launch; --help lists them. The first run takes 20 to 40 minutes and roughly 1 to 2 GB of downloads: the driver and Proton are built from source.

The steps it runs, to do them by hand:

You need: your own copy of the title; an AMD Radeon card (RDNA 3 or 4 recommended) with resizable BAR on in the BIOS ("Above 4G Decoding" and "Re-Size BAR"); Steam's Proton Experimental; rustup (not your distribution's rust or cargo package); Python 3 with PySide6; git, curl, unzip, a C compiler and the build tools the set-up scripts name.

1. Get the source and build it

git clone https://github.com/Slaktarn700/SlaktarnVI
cd SlaktarnVI
./linux/setup-build.sh

It installs, through rustup, the Rust version rust-toolchain.toml names with the Windows target, then cargo-xwin, and builds the Windows program in target/ (--diag for the build with diagnostics). It uses rustup's own cargo whichever comes first in your PATH. cargo-xwin downloads Microsoft's C runtime and Windows SDK headers and libraries on first use; the script asks whether you accept Microsoft's license (or set XWIN_ACCEPT_LICENSE=1 once you have read it).

The same by hand
rustup toolchain install 1.98.1 --profile minimal --component rustfmt,clippy --target x86_64-pc-windows-msvc
rustup run 1.98.1 cargo install --locked cargo-xwin
rustup run 1.98.1 cargo xwin build --locked --release -p victory --bins --target x86_64-pc-windows-msvc

2. Build this project's driver (once, and again when patches/mesa.patch changes)

./linux/setup-driver.sh

A copy of Mesa 26.3.1's AMD Vulkan driver with this project's patch, in linux/driver, used by this program alone. Your system's driver is not replaced or changed, nothing is installed and no rights are asked for; delete linux/driver to undo it. About 1.5 GB of disk and 5 to 15 minutes. The launcher can do it too (Tools).

3. Set up Proton (once, recommended)

./linux/setup-proton.sh

A copy of Proton Experimental in linux/proton-patched with two files built again from Valve's source with this project's patches: on the tested PC about 21 fps with it and 8 to 11 without, at the same place and settings, and no memory that reads as zeros (random crashes in 2 of 60 test runs without it, 0 of 60 with). Steam's own Proton is not changed. About 4 GB of disk and 5 to 20 minutes. Details: docs/proton-patches.md.

4. Microsoft's shader compiler and AMD FSR

./linux/setup-dlls.sh

Fetches the Windows DLLs the program needs, from their makers' own releases, and keeps each only if its SHA-256 is the expected one:

File Where it goes From Needed
d3dcompiler_47.dll linux/keep/ms-d3d/ Microsoft's shader compiler, a Windows 10 SDK build (via mozilla/fxc2) yes: without it the world is black
dxil.dll linux/keep/ms-d3d/ Microsoft's DirectX Shader Compiler, release v1.9.2609 yes
amd_fidelityfx_upscaler_dx12.dll linux/keep/fidelityfx/ AMD FidelityFX SDK 2.4 for FSR only
amd_fidelityfx_framegeneration_dx12.dll linux/keep/fidelityfx/ AMD FidelityFX SDK 2.4 for frame generation only

About 125 MB of download (--no-fsr: about 36 MB, Microsoft's two only). DLLs already there are kept, also ones you put there yourself; --check says what there is and changes nothing, --force fetches all again. The launcher does the same from Tools, Get the DLLs. Nothing is installed anywhere else.

Warning

A d3dcompiler_47.dll of your own must be a Windows 10 or 11 SDK build (file version 10.0.x). The 6.3.9600 one many games ship knows no shader model 5.1: the world would be black under the interface. The script and the launcher both say so, and the script replaces such a one.

5. Start the launcher

./linux/valhalla.sh

Choose the title's folder (anywhere outside this repository), choose a preset, and press Play. Before the first start, or after an update, run Shaders and pipelines in Tools: every shader is translated and the pipelines are built (several minutes and about 6 GB of cache). Saves, caches, logs and the launcher's settings are in ~/.local/share/valhalla-xmem/ (VALHALLA_HOME= for another place), never in the source folder.

Without the launcher

GAME_DIR=/path/to/your/copy ./linux/run-xmem.sh play

./linux/run-xmem.sh shaders and warm prepare the shaders and pipelines. RT=1 turns on ray tracing, OUT=3840x2160 sets the picture's size, CONSOLE=series-s runs as that console, and any VICTORY_ setting in the environment wins over the script's own. The launcher's choices (the light memory, the texture fixes) are set by the launcher; without it, set them yourself as in Settings.

How it works

The program is a Windows program; Proton runs it, and the card's Linux driver draws.

flowchart LR
  A["Your copy<br/>of the title"] --> B["Valhalla<br/>loader, system calls,<br/>the console's Direct3D 12"]
  B --> C["Shaders translated<br/>and kept on disk"]
  B --> D["Proton (Wine),<br/>patched copy"]
  C --> E["vkd3d-proton<br/>Direct3D 12 to Vulkan"]
  D --> E
  E --> F["RADV, this project's copy:<br/>the title's memory mapped<br/>into the card"]
  F --> G["Radeon card"]
  B --> H["Stand-in light,<br/>texture fixes, FSR"]
  H --> E
  • Built on Linux: cargo xwin makes the Windows program here; no Windows is needed.
  • The driver: linux/driver, made by setup-driver.sh from Mesa's source and patches/mesa.patch, used through VK_DRIVER_FILES by this program alone.
  • Proton: the launcher takes linux/proton-patched/ if it is there, else PROTON=, else Steam's Proton Experimental. The console's memory tricks make thousands of memory views, and Wine looks them up slowly: linux/wineserver-view-tree.patch finds them by address. The second patch, for ntdll.so, fixes memory that Wine can lose for a moment.
  • Patches: patches/ holds what changes in Mesa, vkd3d-proton and Wine (from VIctory-xmem).

Presets

Preset Output Upscaler Frame cap For
Low 1920x1080 AMD FSR Performance 30 fps weaker cards
Medium 1920x1080 AMD FSR Quality 60 fps mid-range cards
High 2560x1440 AMD FSR Quality 60 fps strong cards
Ultra 3840x2160, rendered at 2560x1440 AMD FSR Quality 60 fps cards of 16 GB
S70 2560x1440 the title's own 60 fps the tested settings
S700 3840x2160, rendered at 2560x1440 the title's own 60 fps the tested settings at 4K, cards of 16 GB (up to 15.7 GB in use)

All of them: full screen, Series X settings, no frame generation, no ray tracing, and the light memory and the four texture fixes on. Where AMD's FSR DLLs are missing, the FSR presets use the title's own upscaler. S70 and S700 are what the numbers above were measured with; Low, Medium, High and Ultra are back from the first release, without the settings that were taken out because they broke the game on some PCs (the Series S profile, low memory mode, the pipeline wait).

On cards under 9 GB every preset is 1080p; the 4K ones on cards under 15 GB, or whose memory is not known, are 1440p. Change any setting and it is Custom. FSR 4 Quality runs at about the speed of the title's own upscaler (44.8 against 46.8 fps standing, equal while driving).

FSR

Your card FSR 4 FSR 3.1 What the launcher picks with "AMD FSR"
RX 9000 (RDNA 4) yes, best picture yes FSR 4 (turn "FSR 4" off for 3.1)
RX 7000, RX 6000 and others no yes FSR 3.1, by itself
Mode Share of each side At 1440p At 4K
Native AA 100% 2560x1440 3840x2160
Quality 67% 1706x960 2560x1440
Balanced 59% 1505x847 2258x1270
Performance 50% 1280x720 1920x1080
Ultra Performance 33% at 4K, 37.5% at 1440p, else 50% 960x540 1280x720

Tip

A lower mode helps only where the graphics card is the limit. By hand: VICTORY_FSR_VERSION=4 or 3. Under Proton, FSR 4 comes through PROTON_FSR4_UPGRADE, which the launcher sets on RX 9000 cards.

Frame generation

One generated frame for each real one (2x), with FSR. On this base the real rate falls a lot with it (20 to 23 real fps while driving, 37 without), so it is off in the presets and not recommended yet. Motion looks smoother with it; the title still reacts at its real rate.

Keyboard and mouse

On in the launcher (Controls). Click into the window to hold the mouse; F2, Esc or Alt+Tab free it. A controller works at the same time. The title sees the keys as a pad.

Key Always
F1 The key guide: which key is which button, in the lower right corner
F2 Holds or frees the mouse
F3 The numbers' panel
Caps Lock Changes between the on foot and vehicle keys by hand (F does it as you get in or out)
Page Up, Page Down Mouse sensitivity, more and less
Esc, Enter, Backspace, arrows Pause, A, B, D-pad (menus)
Key On foot In a vehicle
W A S D Move Accelerate, brake, steer
Mouse Look Look
Left, right mouse Fire (RT), aim (LT)
Space Jump (A) Handbrake (RB)
Shift Run (X) A
Ctrl Crouch (L3) Horn (L3)
F Interact, get in (Y) Get out (Y)
E D-pad right D-pad right
Q Cover (RB) D-pad left
R Reload, back (B) B
X X X
Tab (hold) Weapon wheel (LB) Weapon wheel (LB)
H R3 Horn (L3)
C, middle mouse R3 R3
I J K L Look (right stick) Look (right stick)
P Phone out, and away again; the wheel scrolls in it the same
M Map, and away again; the mouse moves it, the wheel zooms, a click marks the same
G, Z D-pad left, D-pad down the same
1 2 3 4 D-pad up, down, left, right the same
Mouse wheel D-pad right, left

Mouse sensitivity is set in the launcher (Controls: sensitivity, up and down, while aiming, invert) and while playing with Page Up and Page Down, on top of the launcher's. If fast turns stay slow at a high value, raise the camera speed in the title's own settings: it turns the view as with a pad's stick.

Some button meanings are guesses: the title knows only a pad. Change any key in ~/.local/share/valhalla-xmem/keys.txt (changes count while it runs). All of it: docs/keyboard-mouse.md.

Settings

What the launcher sets, for runs without it. Any of these in the environment wins over the start script.

Setting What it does
VICTORY_AMBIENT_MEMORY=1 The stand-in light remembers the light by direction (launcher: on)
VICTORY_PARTLY_CLAMP=1 Textures not all there yet are shown from their first complete level (launcher: on)
VICTORY_KEEP_SHOWN=2 A slot keeps its texture while the next one uploads (launcher: on)
VICTORY_GRAY_WAITING=1 Waiting or released slots show grey, not black (launcher: on)
VICTORY_NEUTRAL_ALPHA=127 The grey stand-in's alpha under a half (launcher: on)
VICTORY_AMBIENT=0.8 The stand-in light's strength (launcher: Indirect light)
VICTORY_FULLSCREEN=1, VICTORY_PILLARBOX=1 Borderless full screen; black bars on screens that are not 16:9
VICTORY_OUTPUT=2560x1440 The picture's size
VICTORY_PANEL=1 (or compact) The numbers' panel at the start (F3 shows and hides it)
VICTORY_KBM=1 Keyboard and mouse play
VICTORY_CARD_POOL=0 Small card buffers each in memory of their own again
VICTORY_SKIP_BINK=intro Skip the movies of the first 90 s (logos, intro); intro,<seconds> for another time; 1 every movie that plays once (the TVs too), all the menu's too (launcher: Skip the intro)
RT=1 The title's ray tracing

Troubleshooting

What you see Try
cargo install cargo-xwin fails, or the build says can't find crate for core or that the target x86_64-pc-windows-msvc is not installed Your distribution's Rust is in use: install rustup and use ./linux/setup-build.sh (step 1). A linker cc not found: install a C compiler
It does not start The launcher says why; also Tools, "The launcher's log"
"The driver is not built yet" or "of another patch" Run ./linux/setup-driver.sh (again after an update)
"Resizable BAR is off" Turn on "Above 4G Decoding" and "Re-Size BAR" in the BIOS
World black under the interface ./linux/setup-dlls.sh (step 4): the 10.0.x d3dcompiler_47.dll
Very slow while driving The Proton patches; ray tracing off
TVs show a green, glitching picture Update (TOOLS, Update): "Skip the intro" now skips only the first 90 seconds' movies
It ends without a word Started from VS Code or another Electron program, it can inherit a realtime limit of 0 and the kernel ends it (found by Fedalv): start it from a terminal of its own or the desktop's menu
Mouse stuck, or the wrong keys Alt+Tab or F2; Caps Lock for the other layout; check keys.txt
W fires on foot The vehicle keys are in use: Caps Lock

Reports are welcome: say what you did and add "Copy a report" from the launcher's Tools (read it first; your home folder's name is left out). The whole logs are in ~/.local/share/valhalla-xmem/. No game files or links to them, please.

Tested system

Part Version
OS CachyOS, kernel 7.3.5-2-cachyos
GPU AMD Radeon RX 9070 XT (RDNA 4, gfx1201), 16 GB, resizable BAR on
GPU driver This project's RADV, built from Mesa 26.3.1 with patches/mesa.patch
CPU AMD Ryzen 7 9800X3D (8 cores)
RAM 32 GB
Proton Proton Experimental experimental-11.0-20261112, with both patches
Rust 1.98.1 (rust-toolchain.toml), target x86_64-pc-windows-msvc, cargo-xwin 0.24.1
Python 3.14 with PySide6 6.12 (the launcher)

For developers

The build with the diagnostics the logs need:

cargo xwin build --locked --profile diag -p victory --features diagnostics --bins --target x86_64-pc-windows-msvc

cargo xtask policy checks that only small text files we wrote are in the tree. Tests are Windows programs too (cargo xwin test --no-run); the card's tests run under Proton on a real Radeon. Pull requests go through the checks in .github/workflows; a pull request that changes files able to run code at build time waits for the owner's review. Upstream's own scripts (setup.sh, run.sh, build.sh) are kept, and its README is in docs/README-xmem.md.

Credits and license

GPL-3.0-or-later, as VIctory and VIctory-xmem (see LICENSE).

  • Base: VIctory-xmem by lobomfz and its contributors, on VIctory by Marvisak and contributors, through the forks of avatarmanz, fxceless, DexNom, Belobug, FQY55kai, myokex, triippywhale, trustno1-coder, PastiiJay, Geckomacabre and cxy0072019-sketch.
  • Taken into this fork, under their authors' names: ARustyOven, Bushyon, TreXito, psychonaut0, Not4Eric, MathiewMay, LOCKhart07, k-qno1, Unverifiedd; earlier Timmybread22, BottyIvan and Molier.
  • Ideas and code ported by hand, credited in the code: ReVIctory by ReTerryDavis and zeex64 (the title's camera, light rules), foxhound by readmet3xt-lab (partly mapped textures), jaxe by eikkapine (keeping textures shown, the grey stand-in's alpha), Leila by tshado (grey for waiting slots), VIctory-Belobug-AMD by beloooo (the stand-in light), and the forks of ivall, HexNomad23, fcompanies, MJ26gaming and borntofrag34.

Thank you to everyone who reports, measures and sends patches.