Reading the repo
Opening the box…
Reading the repo
Opening the box…
Written by AI from the README.
Saved setup from 2 h ago
Will it work on macOS?
Made for Windows only. These steps build it, but the result only runs on Windows.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/Marvisak/VIctory.git cd VIctory
Rust 1.98.1
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup show # installs the pinned toolchain
cargo build
cargo test
Requirements: Windows 10/11 x64, a CPU with AVX2, a Direct3D 12 GPU with
shader model 6.6 (and mesh shaders for the world), Rust (pinned in
rust-toolchain.toml).
To install Rust, use rustup (winget install --id Rustlang.Rustup -e, or
the installer from https://rustup.rs). The first cargo command in this
repository then fetches the pinned toolchain. Building needs the MSVC C++
build tools: Visual Studio or its Build Tools with the "Desktop development
with C++" workload.
The title also needs several GiB of available Windows commit at startup.
Check Committed under Task Manager → Performance → Memory. If
crashes.log reports Windows error 1455, close other applications or increase
the Windows paging file size, then retry.
cargo xtask install-hooks # asset-policy check on every commit
copy victory.example.toml victory.toml # then set your paths (outside the repo)
cargo test --workspace # needs no game data
cargo run -p victory -- config # check your paths
Run the title:
cargo build --release -p victory
target\release\victory.exe translate --cache --pipelines <game dir>\shaders.rpf <game dir>\<the title's exe> <game dir>\XboxBvhBuilder.dll <game dir>\amd_fidelityfx_upscaler_xbox.dll
target\release\victory.exe run <game dir>\<the title's exe> --execute
The translate --cache step (minutes; again after a change of the shader
translator) translates every shader the title can ask for into the cache
(about 1.3 GB), so a run does not translate them while it plays; without it
they are translated at first use, and their draws wait. With --pipelines
it then makes every pipeline in the title's shader pack (inside
shaders.rpf) into the host pipeline library (about 27,000 pipelines, 4 MB;
some 20 minutes on 16 threads, most of it the 2,700 compute ones), so a run
compiles none of those either; the library belongs to the GPU and driver it
was made on. Run again, it skips what is there in seconds; stopped
early, it keeps what it made.
Upscaling (Series S mode): the title upscales with AMD FidelityFX. To run
it with the PC build on your GPU instead of the console build, get the
FidelityFX SDK
and point VICTORY_FIDELITYFX_DIR (or [paths].fidelityfx_dir) at its
Kits/FidelityFX/signedbin folder, which holds
amd_fidelityfx_upscaler_dx12.dll. Without it, or if that DLL offers no
upscaler for your GPU (the log says so), the title's own DLLs run.
The window caption shows the framerate. Saves, settings and crashes.log
are kept under the data folder (default %LOCALAPPDATA%\victory\data), derived
data under the cache folder.
Set VICTORY_WINDOW_MAX=1920x1080 before launching to limit the title's
top-level window to that bounding box. Smaller windows keep their size,
larger windows keep their proportions, and the monitor's work area still
limits them. This scales the displayed image; it does not change the
console render resolution or the swap-chain buffers. With the variable
unset, window sizing is unchanged.
Input: XInput pads. With none connected the keyboard is a pad while the title's window has focus:
| Keys | Pad | |------|-----| | W A S D / I J K L | left / right stick | | arrows | D-pad | | Enter, Backspace, X, Y | A, B, X, Y | | Q / E, Z / C | shoulders, triggers | | F / H | stick clicks | | Esc, Tab | Menu, View |
No reports for macOS yet.
GitManual AI Agent reads the 4 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.