跳到正文

Marvisak

VIctory

An attempt at running GTA VI on PC

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

这篇是英文原文

下面正文是项目自己的英文 README。想读全文就用浏览器自带的整页翻译: Chrome / Edge 点地址栏右侧的翻译图标,或用右键菜单里的「翻译成中文」; 手机浏览器一般在菜单里。

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

VIctory

Runs Grand Theft Auto VI (Xbox Series X|S) natively on Windows, from files the user supplies.

The title’s x86-64 code runs unchanged inside our process; VIctory supplies the platform underneath it and converts the title’s data, ahead of time where it can and on first use where it must (shaders). See docs/architecture.md.

Status (2026-11-23)

Not playable yet. The title boots, runs its menus at its own 30 fps and loads the world, where rendering fails.

StageState
Boot, first-boot screens (accessibility, language, settings, legal)works, 30 fps
Intro video with soundworks
Start screen, profile and savesworks
Loading into the world (about 50 s)works
The world (first mission’s intro)reached and runs with indirect draws; its title card renders, the scene after it is still dark; 0.5-1.8 s per frame

Tested on one machine: Windows 11, AMD RX 6700 XT.

Warning. Entering the world on a real GPU can currently hang it, and Windows then resets the display driver (every monitor goes black for a moment). To look further, use a diagnostics build with VICTORY_D3D12_WARP=1, which renders on the software adapter.

What each part does today and what it still needs:

SubsystemTodayNeeds
LoaderRuns the title’s executable and its DLLs in our process; crash reports name the faulting code and are kept in crashes.log–
Runtime servicesOne signed-in offline user, licences, packages, saves that survive a kill at any step, text entry dialogSpeech is silent; the dialog and relaunch are untested live
NetworkOffline by design: the title cannot reach the network–
Files and streamingArchives and streamed data read, zlib and BCPack decoded in parallelLoading is limited by writes into title memory
InputXInput pads, keyboard, keyboard stand-in padTrigger rumble
AudioMenu, video and loading sound; XMA voices and Opus streams decodeReverb is silent; Opus results unverified against the title
GPU: menusDraws, compute and presentation on host D3D12; only changed title memory is copiedFrame pacing drifts on one screen in release builds
GPU: worldMesh pipelines, shader-written buffers, descriptor lifetimes, indirect execution (arguments clamped), pipelines made by worker threads and kept on diskMost of the scene is still missing (untranslated shaders drop draws); frames take seconds; real queries, depth bounds, HDR and scaling are missing
ShadersConsole GPU code recompiled to DXIL at first use, cached on disk. Menus: all. World: mesh 8,191 of 8,506, vertex/pixel 10,617 of 12,346, compute 1,643 of 2,53964-bit image atomics, merged geometry stages, the ray-tracing builder’s shaders; some compute programs need a GPU with 64-lane waves
TexturesConsole tiled layouts and detiling for the modes the title usesRender-target metadata planes
Series S modeRuns through the menus to the loading screenThe world, as above

Getting started

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).

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 run \ --execute

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.

Input: XInput pads. With none connected the keyboard is a pad while the title’s window has focus:

KeysPad
W A S D / I J K Lleft / right stick
arrowsD-pad
Enter, Backspace, X, YA, B, X, Y
Q / E, Z / Cshoulders, triggers
F / Hstick clicks
Esc, TabMenu, View

Commands

victory inspect  [--imports] [--exports]
victory census [paths...] [--missing] [--strict]
victory lib-exports  [--list]
victory shader-info [paths...] [--verbose] [--disasm]
victory translate [paths...] [--validate] [--pipelines] [--list] [--jobs N]
victory run  [--execute] [--unimplemented trap|zero] [--strict]
            [--console series-x|series-s] [-- ]
victory config

Logging: VICTORY_LOG=victory_loader=trace,info (a release build logs info and above).

Debugging

A release build has no debugging aids. Build them in with

cargo build --profile diag -p victory --features diagnostics   # target\diag\victory.exe
VariableEffect
VICTORY_LOG==debug,...debug and trace output
VICTORY_STACKS=20,60every thread’s stack at those seconds
VICTORY_WATCH=,...logs a title u32 when it changes
VICTORY_KEYS=30:Enter,35:Xpresses keys at those seconds, focus or not
VICTORY_CRASH_SAVE=:,...saves title memory to the cache folder on a crash
VICTORY_CAPTURE=saves presented frames (powers of two, or VICTORY_CAPTURE_FRAMES=)
VICTORY_DUMP_TARGETS=1with the two above, saves every render target of those frames
VICTORY_D3D12_DEBUG=1host debug layer
VICTORY_D3D12_GBV=1with the above, GPU-based validation (bad descriptor use reported, not faulted; slow)
VICTORY_D3D12_DRED=1on a GPU failure, the allocation hit and the commands in flight
VICTORY_SKIP_PIPELINES=,...omit draws and dispatches, including indirect ones, whose pipeline contains a listed 16-digit shader hash
VICTORY_GPU_TIMING=1with the above, each list of a submission run and timed on its own; slow lists logged with their slowest commands
VICTORY_D3D12_WARP=1host device on the software adapter (slow; cannot reset the driver)
VICTORY_SHADER_LOOP_LIMIT=translated shader loops stop after n iterations per lane instead of 2^20 (own shader cache entries); if a lower n makes world frames much faster, loops hitting the limit are what makes them slow
VICTORY_AUDIO_CAPTURE=records what the title plays (our process only)
VICTORY_XMA_DUMP=saves the first 32 XMA voices’ context and input

Every build appends crashes and host GPU failures to crashes.log in the title’s data folder.

License

GPL-3.0-or-later. See LICENSE.

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。