d032b8a241c80a0de9ad15583a6368319089c1ff
GetModuleHandle* and LoadLibrary* find the title's images and our console modules by file name. LoadLibrary* of a title DLL nothing imports maps, binds and attaches it on the calling thread (a title's own loader DLL may load its backends this way). FreeLibrary never unloads title images. 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%