Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

0xjohnnydev/VIctory-macOS-halfwave50

Games

Forked from halfwave50/VIctory-macOS-halfwave50

Run the Xbox Series build of GTA VI on Apple Silicon Macs via Wine, with an optional native Metal backend fork.

116
9
Rust
GPL-3.0
new today

What it is

This is a fork of Halfwave's VIctory for macOS, which makes the Xbox Series build of GTA VI run on Apple Silicon Macs. The runtime is Rust: a PE loader maps the console executable into a Windows x64 process under Wine running through Rosetta 2, an HLE layer stands in for Xbox system libraries, the GPU layer translates D3D12 to PC D3D12 for Apple's D3DMetal, and a shader recompiler turns RDNA 2 shaders into HLSL/DXIL. The fork on top of upstream adds an opt-in native Metal backend (VICTORY_GPU=metal) that bypasses D3D12/D3DMetal through a Wine unix-call bridge, plus a live FPS/CPU/RAM overlay.

Only source code is distributed; no game assets are included. You must own the game and point the tool at your own copy. This is for people who already have the game and are willing to tinker, not for players expecting a drop-in installer.

Build and run

Requirements: an Apple Silicon Mac (16 GB minimum, 48–64 GB recommended), macOS 15 Sequoia or newer, Xcode Command Line Tools, Rosetta 2, Homebrew, about 15 GB free disk, and Apple's Game Porting Toolkit 4.0 beta 3 or newer from Apple's developer downloads, left unopened in ~/Downloads.

  1. Clone the repository and enter it.
  2. Run ./setup.sh; the first run takes about an hour and builds patched Wine into target/wine-cx and victory.exe.
  3. Build the Metal bridge: sh tools/macos/metal-bridge.sh target/metal tools/macos/gnullvm-cc.sh.
  4. Edit victory.toml so game_dir points at your Xbox Series game folder, keeping the pack/<name>/<name>.rpf layout intact.
  5. Launch with the env vars and tools/macos/play-main-mac.sh "$(win_path "$GAME_EXE")" --console series-s command shown in the run instructions. Omitting VICTORY_GPU=metal falls back to the upstream D3DMetal path.

After a git pull, rebuild with cargo build --release -p victory --target x86_64-pc-windows-gnullvm and rerun the bridge script. cargo test --workspace runs the loader, HLE and shader tests documented for macOS.

Performance and limits

The native Metal backend reports 26–30 fps in cutscenes and 15–22 fps driving at 1280×720 on an M5 Pro (64 GB), against roughly 2–5 fps for the upstream D3DMetal path on an M4 Pro per the README's measurements. These are author-reported numbers, not independently verified, and free roam, ray tracing, late-streaming objects and occasional crashes are listed as open issues. The project itself is not playable at console frame rates; its stated goal is 15 fps on the Series X profile.

Operational constraints: shader and archive caching is required for the quoted speeds and lives under VICTORY_CACHE_DIR; on 48 GB+ Macs the optional vm.global_user_wire_limit change is needed to avoid a slow state but requires sudo and resets on reboot; App Nap must be disabled to stop macOS throttling; DualShock 4/DualSense pads need a DisableHidraw registry step. Output resolution is limited to a fixed set of values enumerated in the README. The license is GPL-3.0.

HotRepo's take

The repository entered HotRepo's new-project list for Rust on 2026-12-01 with 100 stars and 7 forks, all gained in the roughly 11-hour window after creation. That is a fast initial signal for a Rust project in this niche, but it is a single-day sample with no best all-language daily rank recorded, so it does not yet say anything about sustained interest or adoption. The substantive reason to look at it is the native Metal backend work and the detailed per-Mac measurement table, which other forks of this game effort don't offer in one place.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. halfwave50/VIctory-macOS-halfwave50Runs the Xbox Series build of GTA VI on Apple Silicon Macs through Wine and D3DMetal, with very low frame rates.Rust132
  2. LakshanSivakumar/Native-Victory-macOSRust-based native macOS port of an Xbox Series emulator, letting Apple Silicon Macs run GTA VI with a user-supplied game copy.Rust100
  3. pragyaangaur/VIctory-macOSRun the Xbox Series build of GTA VI on Apple Silicon Macs via Wine, D3DMetal and Rosetta 2, using your own game copy.Rust106
  4. Marvisak/VIctoryA Rust compatibility layer that runs the Xbox Series build of GTA VI natively on Windows from a user-supplied game copy.Rust14,387
  5. fxceless/victory-gta6A work-in-progress compatibility layer fork that aims to run GTA VI's Xbox Series build natively on Windows.Rust160