4b2526918b172f7015c5d127538a90f2b6f0d144
The prepared images get no DLL_THREAD_ATTACH/DETACH from Windows. A TLS callback in our exe, called on every thread of the process, passes each start and end on to the attached images: their TLS callbacks, then a DLL's DllMain. DisableThreadLibraryCalls stops the DllMain calls and fails for images with static TLS, as on Windows. 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%