754619f30e880a4b9b6212aaca1c26415f4925b1
Loader: map title-shipped DLLs, patch static TLS loads to slot 0, crash reporter, title paths for GetModuleFileName*. HLE: task queue and async, XUser (one offline user), system ids, title id, features, invites, game events, persistent local storage, GameInput with no devices, xmem, console audio hardware queues, life cycle (close suspends, then terminates), and a file layer with virtual drives rewritten in path-taking imports. GPU: D3D12.X device, DXGI chain, heaps, resources, fences, queues and command lists translated onto a host D3D12 device; clears, barriers, copies, resolves and PresentX into the title's window. Shaders: SGD5 reader and `victory translate`; SSA IR with node splitting for irreducible flow; structurisation removing EXEC. Co-Authored-By: Claude Opus 5.5 <[email protected]>
VIctory
Runs Grand Theft Auto VI (Xbox Series X|S) natively on Windows, from files the user supplies.
Rule #1: nothing from the game is ever stored in this repository: no assets, no code, nothing derived from them. Everything is built on the user's machine from the user's own files. See docs/asset-policy.md.
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.
Getting started
Requirements: Windows 10/11 x64, a CPU with AVX2, Rust (pinned in
rust-toolchain.toml).
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
Commands
victory inspect <exe|dll> [--imports] [--exports]
victory census [paths...] [--missing] [--strict]
victory lib-exports <import.lib> [--list]
victory shader-info [paths...] [--verbose] [--disasm]
victory run <exe> [--execute] [--unimplemented trap|zero] [--strict]
victory config
Logging: VICTORY_LOG=victory_loader=trace,info.
License
GPL-3.0-or-later. See LICENSE.
Languages
Rust
99.3%
PowerShell
0.6%