Read-only copy of github.com/californiaAlmonds/OpenScarlett · Open-source MIT C++20 Xbox Series X|S (Scarlett) translation layer for Windows 10/11 — D3D12, Vulkan 1.4, RDNA2 shader lifting, GDK shims, and real-binary telemetry
  • C++ 98.1%
  • CMake 0.7%
  • Python 0.5%
  • C 0.3%
  • PowerShell 0.2%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-26 21:47:33 +05:30
.github Merge branch 'main' into feat/ue5-matrix-awakens-imports 2026-11-23 11:04:32 +05:30
cmake feat(gpu,d3d12_xs): fix Bink2 video, GFX10 v_cmpx ramps, untiling, and Scaleform FTUE UI 2026-11-26 04:24:25 +05:30
docs docs: update Discord invite link 2026-11-26 13:39:24 +05:30
include/openscarlett fix(xmem,kernel,d3d12_xs): keep Scarlett allocations <40-bit, handle 3-arg null unmap, and heal fwPool ABA 2026-11-26 16:29:25 +05:30
src fix(d3d12_xs): fix Mesh PSO root sig v1.0/1.2/fallback, bound 4GB VRAM/lazy textures, and guard streaming RVAs 2026-11-26 21:47:33 +05:30
tests fix(d3d12_xs): fix Mesh PSO root sig v1.0/1.2/fallback, bound 4GB VRAM/lazy textures, and guard streaming RVAs 2026-11-26 21:47:33 +05:30
tools docs: update Discord invite link 2026-11-26 13:39:24 +05:30
wiki docs: update Discord invite link 2026-11-26 13:39:24 +05:30
.gitignore perf(build,test): add shared sccache, parallel CTest locks, rdna2_lifter /Og fix & agent speed rules 2026-11-23 10:22:26 +05:30
AGENTS.md perf(build,test): add shared sccache, parallel CTest locks, rdna2_lifter /Og fix & agent speed rules 2026-11-23 10:22:26 +05:30
build.cmd perf(build,test): add shared sccache, parallel CTest locks, rdna2_lifter /Og fix & agent speed rules 2026-11-23 10:22:26 +05:30
build_wt.cmd perf(build,test): add shared sccache, parallel CTest locks, rdna2_lifter /Og fix & agent speed rules 2026-11-23 10:22:26 +05:30
CMakeLists.txt Merge pull request #50 from leonredfish/fix/msvc-utf8-charset 2026-11-26 13:22:23 +05:30
CONTRIBUTING.md chore(docs): streamline repository wording across docs, comments, and wiki 2026-11-22 23:48:35 +05:30
LICENSE chore: initialize OpenScarlett MIT C++20 workspace and engineering guide 2026-11-21 20:05:34 +05:30
README.md docs: update Discord invite link 2026-11-26 13:39:24 +05:30

OpenScarlett

Download Latest Release Join Discord Windows CI Interactive Dashboard OpenScarlett Wiki MIT License

Because Xbox Series X|S uses an AMD x86-64 processor like a gaming PC, OpenScarlett runs game CPU code natively on Windows 10 & 11 instead of emulating the CPU — translating only Xbox-specific graphics, RDNA2 shaders, audio, input, and OS calls to native DirectX 12 & Vulkan 1.4.


Current Status

OpenScarlett is in early alpha (v0.6.0-alpha, 90/90 automated tests, 33 shimmed DLLs / 1,372 PE exports, 0 stub-tier DLLs). Commercial AAA titles beyond Minecraft are not fully playable yet — we are bringing them up step by step.

Live-Tested vs. In Progress

Track Status Verified Progress
Minecraft Preview (1.18.3064.0) 🟢 Live Playable (60 FPS) Boots, saves/loads P:\ LevelDB worlds, and runs flicker-free 3D gameplay at locked 60 FPS (12-chunk render distance, 8× AA, borderless fullscreen) on a 4 GB GTX 1650 Ti laptop (~14% CPU), with XInput-first polling, Raw Mouse + F8 cursor-lock (#41), and depth-aware MSAA clamping.
Retail GRDK 2504/2510 (RAGE9) Bring-Up 🟡 Menus, Video & World Streaming Live Boots through 4K Bink2 intro video, crisp scanline-free Scaleform FTUE/Legal menus (exact GFX10 RbPlus untiling, v_cmpx ramps, XGameSave), and razor-sharp BC7 loading splash screens at 30–60 FPS on a 4 GB GTX 1650 Ti. Lifts live XDAT/XBCH/FSSM v5/v6 graphics, compute & Mesh/Amplification PSOs (pruned to NVIDIA's 32 KiB limit) and streams 6.2+ GiB via zero-syscall DirectStorage RDS5 scatter transfers. Next: resolving the post-loading XMemMapPhysicalPagesScatter physical-page alias handoff into live 3D gameplay.
GDK Samples, Demos & Dual-API Stack 🟢 Live Verified 6/6 untouched MIT _GAMING_XBOX_SCARLETT samples at 4K, 60 FPS Freedoom: Phase 1 & ScarlettArena, dual-API (D3D12 + Vulkan 1.4) gdk_3d_scene, 779/779 decoded (775/779 real GPU-verified) GFX10.3 RDNA2 opcodes across 3,120 corpus shaders (all 7 shader stages live GPU-verified), and verified across 15 NVIDIA & AMD PCs.
flowchart LR
    S1["1. Core Engine ✓\nLoader · 33 DLLs · Shaders"] --> S2["2. Xbox Samples ✓\n3D · Mesh · HDR10 · DXR"]
    S2 --> S3["3. Playable Demos ✓\nFreedoom 60 FPS & Arena"]
    S3 --> S4["4. Commercial 3D ✓\nMinecraft 60 FPS"]
    S4 --> S5["5. Next-Gen AAA ◐\nVideo · Menus · Streaming ✓ · 3D ◐"]

    style S1 fill:#e11d48,stroke:#fb7185,color:#ffffff
    style S2 fill:#e11d48,stroke:#fb7185,color:#ffffff
    style S3 fill:#e11d48,stroke:#fb7185,color:#ffffff
    style S4 fill:#e11d48,stroke:#fb7185,color:#ffffff
    style S5 fill:#d29922,stroke:#f0b72f,color:#ffffff

How It Works

flowchart LR
    A["Unpacked Xbox App\n(.exe + MicrosoftGame.Config)"] --> B["Native PC CPU\nRuns x86-64 directly\n(no CPU emulation)"]
    B --> C["OpenScarlett Layer\nTranslates D3D12, RDNA2 shaders,\nmemory, audio, input & saves"]
    C --> D["Windows 10 / 11 GPU\nDirectX 12 & Vulkan 1.4"]

    style C fill:#2a121c,stroke:#e11d48,color:#ffffff

Coverage Visualizer

Open the Interactive Dashboard for live search & filters across subsystems, RDNA2 opcodes, and all 33 shimmed DLLs.

OpenScarlett Honest Subsystem Progress

OpenScarlett RDNA2, D3D12/Vulkan & 33-DLL Coverage Matrix


Quick Start & 60s Hardware Test

No coding or SDK required to test your GPU or launch unpacked GDK binaries:

  1. Download the latest OpenScarlett-*-win64.zip and extract anywhere (includes OpenScarlettLauncher.exe and open-source dxc.exe).
  2. Run OpenScarlettLauncher.exe → open 60s Hardware Self-Test → click Run 60s Hardware Test (automatically strips usernames and local paths).
  3. Share your sanitized hardware report or --telemetry report.json in Discord or GitHub Issues — no game files ever need to be shared.

Technical Details

Subsystem & 33-DLL Breakdown

Automated Tests: 90/90 passing · Shimmed DLLs: 33 (1372 PE exports) · Shipping GDK Thunks: 292/292 · RDNA2 Opcodes Decoded: 779/779 · Validated Shader Corpus: 3120/3120 · Verified Hardware: 15 PCs (NVIDIA + AMD)

Subsystem Area Status Progress Highlights
RDNA2 / GFX10.3 Shader Lifter Shaders 🟢 Live Verified 100% 779/779 opcodes decoded (775/779 real GPU-verified), 3,120/3,120 corpus shaders & all 7 stages (CS/VS/PS/MS/AS/HS+DS/GS) verified on DXIL SM 6.5/6.6 + SPIR-V; live retail XDAT/XBCH/FSSM v5/v6 graphics, compute & mesh PSO lifting with 32 KiB output pruning and CRC32 disk cache.
d3d12_xs, Vulkan 1.4 & xg_xs Graphics 🟢 Live Verified 100% All 13 Xbox COM proxies (Scarlett V4 0x20004 vtables, Slot_129 DispatchMesh), 256 MiB Tier-2 VA aliasing heap + L0 spill, exact GFX10 RbPlus texture untiling, async UMA readback ring, >65,535 dispatch split, 16-bit RT stand-ins, live GPU FMASK/DCC/HTILE resolve, HDR10 PresentX, and direct Vulkan 1.4 routing.
Unified Memory (kernelx/xmem) & DirectStorage Memory & IO 🟢 Live Verified 100% VirtualAlloc2/MapViewOfFile3 64 KiB & 4 MiB aliasing, placeholder splits, __XMemAllocationHooks__, TitleVAMirror 64 KiB dirty-hashing, and DirectStorage X2 with native SRWLOCK IOCP, cross-chunk RDS5 decompression, and zero-syscall physical scatter transfers.
GDK & Console Shims (33 DLLs) GDK Shims 🟢 Live Verified 100% 0 stub-tier DLLs (30 High / 3 Partial): xgameruntime (292/292 shipping thunks + GRDK 2504/2510 COM IIDs), chad.dll, kernelx, winrt_xs, XCurl, XSAPI, GameInput (XInput-first + Raw Mouse + F8 cursor-lock), and stateful diagnostics/debug shims.
Codecs, Audio & Video Media 🟢 Live Verified 100% Live 4K Bink2Scarlett GPU YUV→RGBA playback, mfplat_xs/mfhevcdec, 128-voice XAudio2_9 + AcpHal/xapu/chad, BCPack BC1–BC7 + BC6H + TTPF, GDeflate v1, RDNA2 BVH4, Opus/XMA2/WASAPI, and FidelityFX 2.0 / FSR 1.0.
PE32+ Loader, CoW VFS & Tools Loader & UX 🟢 Live Verified 100% Suspended-process APC hook loader with child-process propagation, G:/T:/S:/P: CoW VFS, Zen 2 VEH emulation (CLWB/MONITORX/MWAITX/RDPRU), --probe-unknown-imports, OpenScarlettLauncher.exe, and os_live_profiler.
Real-World Title Compatibility Compatibility 🟡 Partial 50% Live Playable (60 FPS): Minecraft Preview (1.18.3064.0), Freedoom, ScarlettArena, 6/6 untouched MIT GDKX samples. In Progress: Retail GRDK 2504/2510 (RAGE9) — 4K Bink2 video, crisp FTUE/Legal menus, clean BC7 splash screens, and 6.2+ GiB world streaming live; finishing post-loading 3D world entry.
Build From Source & CLI Usage

Requirements (Windows 10 / 11 x64)

  • Windows 10 (1903+) or Windows 11 (x64)
  • Visual Studio 2022 (MSVC C++20) + Windows 10/11 SDK (with dxc.exe)
  • CMake 3.20+ and Ninja

Build & Run Tests

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
ctest --test-dir build --output-on-failure

Launcher & CLI

# Native Win32/Direct2D GUI (Play & Launch, 60s Hardware Self-Test, PE Inspector, Updater)
.\build\OpenScarlettLauncher.exe

# Probe GPU capabilities (D3D12, DXR, Mesh Shaders, Vulkan, DXC)
.\build\openscarlett.exe probe-gpu

# Inspect x64 .exe / .dll imports & exports
.\build\openscarlett.exe inspect path\to\binary.exe

# Run an unpacked Xbox Series X|S package folder
.\build\openscarlett.exe run path\to\package_dir_or_game.exe --telemetry report.json
.\build\openscarlett.exe run --backend=vulkan path\to\package_dir_or_game.exe

Community Hardware Reports

Generation GPU Windows Result Reported By
NVIDIA Blackwell (RTX 50) RTX 5090 (32 GB) Win11 25H2 🟢 67/67 Pass @violet-dusk (#36)
RTX 5080 (16 GB) Win11 26H2 🟢 67/67 Pass @djsweatyfingerz (#45)
RTX 5070 Ti (16 GB) Win11 26H2 🟢 67/67 Pass @johnibatista99-sys (#53)
RTX 5070 (12 GB) Win11 26H2 🟢 67/67 Pass @C01derest (#62), @marquezinii (#17)
RTX 5070 Laptop (8 GB) Win11 26H2 🟡 66/67 @GennyDotJson (#61)
RTX 5060 (8 GB) Win11 25H2/26H2 🟢 67/67 Pass @aidenhrld (#31), @Kris399 (#58)
RTX 5060 Laptop (8 GB) Win10 22H2 🟢 67/67 Pass @GuihongWang (#52)
NVIDIA Ada Lovelace (RTX 40) RTX 4070 Laptop (8 GB) Win11 26H2 🟢 67/67 Pass @leonredfish
RTX 4060 Laptop (8 GB) Win11 25H2 🟢 67/67 Pass @LinZhongHu (#46)
RTX 4050 Laptop (6 GB) Win11 26H2 🟢 67/67 Pass @vrajeshkumar1 (#55)
NVIDIA Ampere (RTX 30) RTX 3090 (24 GB) Win11 25H2 🟢 67/67 Pass @3090test (#47)
RTX 3080 Ti (12 GB) Win11 25H2 🟢 13/13 Pass @sackboysplayer (#13)
RTX 3080 (10 GB) Win11 26H2 🟢 67/67 Pass @kyappy731 (#48)
RTX 3060 (12 GB) Win11 25H2 🟢 67/67 Pass @spoox009 (#34)
NVIDIA Turing (GTX 16 / RTX 20) RTX 2060 SUPER (8 GB) Win11 26H2 🟢 13/13 Pass @rpatty-dev (#1, #8)
GTX 1650 Ti (4 GB) Win10 22H2 🟢 90/90 Pass Maintainer
NVIDIA Pascal (GTX 10 / MX) MX250 (4 GB, MeshTier=0) Win11 26H2 🟢 90/90 Pass @GennyDotJson (#44, #59)
AMD RDNA 4 (RX 9000) RX 9070 XT (16 GB) Win11 26H2 🟢 67/67 Pass @tatbkath (#30), @silentbay22 (#10, #27, #29)
RX 9060 XT (16 GB) Win11 25H2 🟡 82/89 @kevsoto01 (#49), @m0nn3t (#56)
AMD RDNA 3 (RX 7000 / 700M) RX 7900 XTX (24 GB) Win11 26H2 🟢 13/13 Pass @wellgamer789 (#9)
RX 7600 (8 GB) Win11 26H2 🟢 13/13 Pass @AntoninMichelq (#12)
Radeon 780M (6 GB UMA) Win11 25H2 🟡 64/67 (fix landed) @violet-dusk (#38)
AMD RDNA 2 (RX 6000) RX 6750 XT (12 GB) Win11 25H2 🟡 60/62 @Sootie1776 (#2)
RX 6700 XT (12 GB) Win10 22H2 🟡 64/67 @rahendraputrap (#57)
RX 6600 (8 GB) Win11 26H2 🟡 63/67 @itzzpog2013-sudo (#54)
Intel Arc Battlemage (B-Series) Arc B390 Win11 26H2 🟡 60/67 (PR #60 pending) @lovexyzforever (#33)

Thanks to everyone who has contributed PRs, test vectors, and hardware reports: @rpatty-dev, @wellgamer789, @silentbay22, @AntoninMichelq, @sackboysplayer, @marquezinii, @Sootie1776, @Ahmet-Dedeler, @DeviousCardi, @tatbkath, @aidenhrld, @spoox009, @lovexyzforever, @violet-dusk, @GennyDotJson, @djsweatyfingerz, @LinZhongHu, @3090test, @kyappy731, @GuihongWang, @johnibatista99-sys, @vrajeshkumar1, @Kris399, @C01derest, and @leonredfish. Contributions and bug reports are welcome — see CONTRIBUTING.md. Licensed under MIT.