Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8490fed
docs(readme): add in-game GTA VI showcase, animated preview, screensh…
utkarshxdev Nov 28, 2026
74d4d8b
Update README.md
utkarshxdev Nov 28, 2026
2de427f
docs(readme): feature GTA VI intro sequence animated GIF as hero preview
utkarshxdev Nov 28, 2026
610ba43
docs(readme): point Latest Release badge to verified pre-Series-S men…
utkarshxdev Nov 28, 2026
8862fc3
docs(readme): update release download links and SHA-256 for bundled D…
utkarshxdev Nov 28, 2026
766679b
keep upstream slot 73/74 mapping on Mac (fixes E_INVALIDARG int3 at +…
eLGatoRDV Nov 24, 2026
cfc6556
port upstream 8cad517: BCPack decoder (conflicts in dstorage.rs resol…
eLGatoRDV Nov 24, 2026
94090bf
DirectStorage: BCPack provenance, README row, one Request::check again
ivall Nov 24, 2026
b27bd9c
Tests: BCPack lanes against independent synthetic fixtures, models ag…
ivall Nov 24, 2026
6415f6f
DirectStorage: a refused request that is cancelled is not a failure
emirduran707 Nov 24, 2026
45b6c3b
DirectStorage: the error record keeps the request's offset, size and tag
emirduran707 Nov 24, 2026
6fb32bd
DirectStorage: a new status array's slots start complete with S_OK
emirduran707 Nov 24, 2026
f87d95e
on Mac, forget a late-released resource before its final Release (use…
eLGatoRDV Nov 24, 2026
cade80d
ordered CPU copies (done fence + test), GPU readback for copies out o…
eLGatoRDV Nov 24, 2026
f1dd5ff
GPU-view copies read where the CPU has the pages; opt-in view mirrors…
eLGatoRDV Nov 24, 2026
5dc1aa5
XCL_WATCH_WAITS – where the title's threads wait, without stopping them
eLGatoRDV Nov 24, 2026
7ee03fc
on Rosetta the title runtime's memmove / memcpy / memset use rep movs…
eLGatoRDV Nov 24, 2026
ca566f9
a CLZERO zeroing loop calls one helper after its first use; MONITORX/…
eLGatoRDV Nov 24, 2026
de7e3cd
XCL_WATCH_WAITS – every module's waits, a thread's Unix side, a fault…
eLGatoRDV Nov 24, 2026
a56f14b
on Rosetta, 256-bit stores and VCVTPS2PH store in parts Rosetta resumes
eLGatoRDV Nov 25, 2026
09886db
compose the title's display planes in the XCL window (Series S showed…
eLGatoRDV Nov 25, 2026
3bf778d
GPU objects and tile mappings wait for the GPU before they go (kernel…
eLGatoRDV Nov 25, 2026
b99fe21
XCL_SPARSE_64K_MAX_MB – a title's big page pool in plain memory
eLGatoRDV Nov 25, 2026
656114e
deferred releases – no re-mark on XCL's own Release (8 GB piled up in…
eLGatoRDV Nov 25, 2026
0bbfb0c
lazy title textures – video memory only where the title's memory is (…
eLGatoRDV Nov 25, 2026
acba79f
GPU hangs – ExecuteIndirect group counts checked, a dispatch-wide loo…
eLGatoRDV Nov 25, 2026
419fc09
DirectStorage page tables read at the request's turn and held for the…
eLGatoRDV Nov 25, 2026
92bf4e2
big pipelines built off the frame and giant ones refused; an unbuilt …
eLGatoRDV Nov 27, 2026
8488c77
0023.1 – GTA VI's stall watchdog resumed whichever report hook it cal…
eLGatoRDV Nov 28, 2026
8b06e4f
0023.2 – what the video memory holds counted (the views' census); pip…
eLGatoRDV Nov 28, 2026
41271a3
Merge utkarshxdev/xcl-mac main (8862fc3) into gta6-mac-fixes
eLGatoRDV Nov 29, 2026
d7dc70b
real.rs: drop the stale comment on device slots 73/74
eLGatoRDV Nov 29, 2026
544cd90
present.rs: the guard test's truncated vtable ends at a page with non…
eLGatoRDV Nov 29, 2026
56b3d0f
present.rs: composed planes read through the guarded GetDesc too
eLGatoRDV Nov 29, 2026
57f1e70
README: XCL_PRESENT_PLANE as the merged code reads it
eLGatoRDV Nov 29, 2026
416aa44
cpu_writes: a removed device stops the title from the writes' worker
eLGatoRDV Nov 29, 2026
6599b9c
fence_x: test that a fence cell takes all ones too
eLGatoRDV Nov 29, 2026
516033b
texture: test the kept upload buffer's growth and its STAGING_BYTES c…
eLGatoRDV Nov 29, 2026
1fdfa00
DirectStorage: XCL_DSTORAGE_AUTO_SUBMIT_DISABLED=0 turns off AutoSubm…
eLGatoRDV Nov 29, 2026
78c84ed
real.rs: XCL_MS_IN_AS_SLOT=0 refuses a console MS in the AS slot again
eLGatoRDV Nov 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 54 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
# XCL Mac Native — Apple Silicon & macOS Compatibility Layer for Xbox Series X|S

[![Discord](https://img.shields.io/badge/Discord-Join%20Community-5865F2?logo=discord&logoColor=white)](https://discord.gg/dYuNEsQMQ)
[![Latest Release](https://img.shields.io/badge/Release-Stage%206.4%20(Menu%20%26%20Intro)-blue?logo=github)](https://github.com/utkarshxdev/xcl-mac/releases/tag/v0.1.0-stage6.4-menu)
[![Mac cross-build](https://github.com/utkarshxdev/xcl-mac/actions/workflows/mac-cross.yml/badge.svg?branch=main)](https://github.com/utkarshxdev/xcl-mac/actions/workflows/mac-cross.yml?query=branch%3Amain)
[![Stage 6: Ingame 3D Rendering](https://img.shields.io/badge/Status-Stage%206%20(Ingame%203D)-success?logo=apple&color=34D399)](https://github.com/utkarshxdev/xcl-mac)
[![Stage 6: Ingame 3D Rendering](https://img.shields.io/badge/Status-Stage%206%20(In--Game%20Presentation)-success?logo=apple&color=34D399)](https://github.com/utkarshxdev/xcl-mac)
[![License: GPL-2.0](https://img.shields.io/badge/License-GPL%202.0-blue.svg)](LICENSE)
[![Platform: macOS](https://img.shields.io/badge/Platform-macOS%20%7C%20Apple%20Silicon-black?logo=apple)](https://github.com/utkarshxdev/xcl-mac)

<p align="center">
<img src="docs/media/gtavi_intro_preview.gif" alt="Grand Theft Auto VI running on Apple Silicon via XCL Mac Native" width="720">
</p>
<p align="center">
<b>Grand Theft Auto VI</b> running natively on Apple Silicon via <b>XCL Mac Native</b> under CrossOver & Apple D3DMetal (30.0 FPS locked presentation & intro sequence).
</p>

<p align="center">
<img src="docs/media/gtavi_splash_mural.jpg" width="32%" alt="GTA VI Splash Mural in XCL Window">
<img src="docs/media/gtavi_finish_setup.jpg" width="32%" alt="GTA VI Finish Setup UI at 30 FPS">
<img src="docs/media/gtavi_legal_policies.jpg" width="32%" alt="GTA VI Legal Terms & Policies Screen">
</p>
<p align="center">
🎬 <b><a href="docs/media/gtavi_on_mac_demo.mp4">Watch Full 70-Second High-Resolution Gameplay Capture (MP4)</a></b>
</p>

---

**XCL Mac Native** (`utkarshxdev/xcl-mac`) is the dedicated, production-ready macOS and Apple Silicon distribution of [XCL](https://github.com/ivall/xcl) — the Xbox Series X|S (GDK) compatibility layer.

By executing console x86_64 code seamlessly via Apple's Rosetta 2 and mapping RDNA2 console GPU pipelines through DirectX 12 into Apple **D3DMetal (Game Porting Toolkit 2+)**, XCL enables GDK retail titles to run on macOS under Wine and CrossOver **without CPU emulation**.
Expand Down Expand Up @@ -97,7 +116,12 @@ All Mac-specific subsystems are strictly gated behind `crate::util::mac_host()`
5. **D3D12 Agility SDK:** Place `D3D12Core.dll` into a `D3D12\` folder next to `xcl.exe` or configure `XCL_D3D12_DIR`.

### Pre-Built Binaries
Download the latest `xcl-mac-wine-x86_64` build directly from the **[GitHub Actions Releases](https://github.com/utkarshxdev/xcl-mac/actions/workflows/mac-cross.yml)**.
- **Latest Verified Release (Stage 6.4 — Menu & Intro, Pre-Series S):**
👉 **[Download `xcl-mac-stage6.4-menu.zip`](https://github.com/utkarshxdev/xcl-mac/releases/download/v0.1.0-stage6.4-menu/xcl-mac-stage6.4-menu.zip)** *(includes `xcl.exe`, `dxcompiler.dll`, `dxil.dll` — SHA-256: `d0cf51561411a8ebb83c66b043174ebc56226dc6df5ddae33463720a24263f23`)*
- **Experimental Series S / Multi-Plane Pre-release (Run 15):**
👉 **[Download `xcl-run15-window-checked.zip`](https://github.com/utkarshxdev/xcl-mac/releases/download/v0.1.0-stage6.4-run15-planes/xcl-run15-window-checked.zip)** *(includes `xcl.exe`, `dxcompiler.dll`, `dxil.dll` — SHA-256: `4ed9133051d74df5e30bc1be9c81d80773e5122711eaf743c72430dc32fc6d97`)*
- View all releases and changelogs on the **[GitHub Releases Page](https://github.com/utkarshxdev/xcl-mac/releases)**.
- Automated CI builds are available on the **[GitHub Actions Workflows](https://github.com/utkarshxdev/xcl-mac/actions/workflows/mac-cross.yml)**.

### Launch Command
Launch your title through your Wine environment with the recommended Mac environment flags:
Expand All @@ -119,8 +143,10 @@ env XCL_TEXTURE_SKIP_UNCHANGED=0 XCL_NETWORK=0 wine64 xcl.exe run "C:\Games\Your
| `XCL_COHERENT_HEAPS` | `0` (Off) | `1` (On) | Avoids write-watch page protection traps on coherent heaps |
| `XCL_WATCHDOG_BYPASS` | Off | — | Enables recovery for recognized watchdog sites. Unknown traps still follow normal exception handling. |
| `XCL_DSTORAGE_BCPACK_ACCEPT` | Off | — | Set to `1` to complete eligible BCPack requests with solid placeholder blocks. Texture decompression is required for the original pixels. |
| `XCL_DSTORAGE_AUTO_SUBMIT_DISABLED` | On | On | A DirectStorage queue made with AutoSubmitDisabled waits for the title's Submit. Set to `0` to ignore that option: such a queue then submits by itself at half full, like any other. |
| `XCL_TRACE_GPU_STALL` | Off | `1` | Logs command lists, recent dispatches and pipeline IDs when a bottom-of-pipe fence stalls |
| `XCL_PRESENT_PLANE` | `0` | `0` | Set to `1` to try the second PresentX plane. The log shows the requested and active planes and whether the resources can be presented. |
| `XCL_MS_IN_AS_SLOT` | On | On | A console mesh shader in a pipeline's AS slot, with no MS subobject, is translated as the mesh shader. Set to `0` to refuse such pipelines instead. |
| `XCL_PRESENT_PLANE` | Unset | Unset | Unset: two PresentX planes or more are composed, as the console's display does. Set to `n` to show plane `n` alone (plane `0` when the title presents fewer planes or plane `n` has no presentable resource); `0` shows plane 0 alone and turns composition off. The log shows the requested and active planes and whether the resources can be presented. |
| `XCL_FRAME_DUMP` | `0` | `0` | Dumps every Nth presented frame to disk with luminance telemetry |
| `XCL_FRAME_DUMP_FROM` | `0` | `0` | Delays frame sampling until frame index N is reached |

Expand Down Expand Up @@ -157,7 +183,7 @@ cargo build --release --locked --target x86_64-pc-windows-gnullvm -p xcl

## 🧪 Subsystem Verification

We provide an automated verification suite that audits all 22 Mac-native architectural subsystems:
We provide an automated verification suite that audits all 39 Mac-native architectural subsystems:

```bash
./scripts/verify_mac_build.sh
Expand All @@ -173,24 +199,41 @@ Checking: Stand-in PS dual-source blending (SV_Target0 + SV_Target1) [PASS]
Checking: D3DMetal shader refusal host fallback (refused_on_mac_host) [PASS]
Checking: Compute blob cache charging fix (insert_compute_blob) [PASS]
Checking: Rosetta missing AMD instruction handlers (CLZERO, INSERTQ) [PASS]
Checking: Rosetta AVX masked store decoder module (maskmov.rs) [PASS]
Checking: Rosetta masked store fault helper patching [PASS]
Checking: Rosetta AVX masked store decoder module (crates/xcl/src/maskmov.rs) [PASS]
Checking: Rosetta masked store fault helper patching (replace_masked_stores) [PASS]
Checking: Rosetta CPU detection (util::rosetta) [PASS]
Checking: UMA Shadowed fallback implementation [PASS]
Checking: UMA Shadowed fallback implementation (OpenExistingHeapFromAddress) [PASS]
Checking: UMA note_copy_into for readback buffers [PASS]
Checking: GPU-visible fallback write-watch disable [PASS]
Checking: GPU-visible fallback write-watch disable (XCL_WATCHED_FALLBACK) [PASS]
Checking: Command queue #31 GPU view page mappings (gpu_views) [PASS]
Checking: Unwatched title textures content comparison (poll_unwatched) [PASS]
Checking: Unchanged title texture upload skip override [PASS]
Checking: Unchanged title texture upload skip override (XCL_TEXTURE_SKIP_UNCHANGED) [PASS]
Checking: CopyMemoryToMemoryX CPU fallback for non-UMA ranges [PASS]
Checking: D3DMetal depth-only format mapping [PASS]
Checking: D3DMetal depth-only format mapping (pc_depth_view_format) [PASS]
Checking: Mac host utility detection (util::mac_host) [PASS]
Checking: Wine isolated thread heap for DXC (own_heaps) [PASS]
Checking: Network isolation default off (netoff) [PASS]
Checking: 16 MiB title stacks under Wine [PASS]
Checking: Sparse buffer lock safety (try_lock in forget_buffer) [PASS]
Checking: World-load watchdog & fatal crash bypass at 0x23cf683 [PASS]
Checking: DirectStorage BCPack acceptance (XCL_DSTORAGE_BCPACK_ACCEPT) [PASS]
Checking: Mesh root-argument layout (user_data_ms, inline_ms) [PASS]
Checking: Mesh companion DISPATCH signature creation [PASS]
Checking: Real D3D12 DispatchMesh hooking (slot 127 / newer 129) [PASS]
Checking: GPU-side root-changing ExecuteIndirect repack [PASS]
Checking: Two-pass DispatchMesh & ExecuteIndirect execution harness [PASS]
Checking: Mac cross-build CI workflow (.github/workflows/mac-cross.yml) [PASS]
Checking: CreateShaderCacheSession translation layer fallback [PASS]
Checking: Pointer alignment guard in is_adopted (align_of::<usize>) [PASS]
Checking: Heap mirroring and bounded root SRVs [PASS]
Checking: Lock-free atomic pipeline building accounting (pso_async::counts) [PASS]
Checking: XUserCompare 64-bit pointer overflow prevention [PASS]
Checking: XAsyncGetResult zero-used out parameter preservation [PASS]
Checking: GetModuleFileName ERROR_INSUFFICIENT_BUFFER on size 0 [PASS]
Checking: Vertex buffer slot unbind & purge on null/zero views [PASS]
Checking: QueryInterface wrapper interface vtable release dispatch [PASS]
======================================================================
Verification Summary: 22 Passed, 0 Failed
Verification Summary: 39 Passed, 0 Failed
======================================================================
Status: Verification SUCCESSFUL! All Mac host subsystems present.
```
Expand Down
Loading
Loading