This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Welcome to the OpenScarlett Wiki
OpenScarlett is an MIT-licensed, 100% clean-room C++20 compatibility and translation layer for running Xbox Series X|S (Scarlett / Gen9 Game Core) x86-64 Windows PE software natively on Windows 10 & Windows 11 PCs.
Because the Xbox Series X|S runs an AMD Zen 2 x86-64 CPU with a Windows-derived Game Core kernel, OpenScarlett executes guest CPU code natively rather than emulating an instruction set — translating only the console-specific graphics (d3d12_xs, xg_xs), AMD RDNA2/GFX10.3 shaders, unified memory, DirectStorage/BCPack streaming, audio, input, and GDK/OS runtime calls to native PC DirectX 12, Vulkan 1.4, and Win32 APIs.
Legal & Clean-Room Policy: OpenScarlett is strictly for legally obtained, unencrypted apps, homebrew, and SDK samples. OpenScarlett never extracts Microsoft keys, decrypts retail
.xvc/.xvdpackages, or bypasses DRM. All code is 100% original MIT clean-room C++20 written from public specifications.
Project Snapshot (Sprint 12 — Early Alpha)
| Metric | Live Measured Value |
|---|---|
| Automated CTest Suite | 62 / 62 passing (NVIDIA GTX 1650 Ti, D3D12 WARP, CI Release/Debug, plus 6 community GPUs) |
| Shimmed Xbox / GDK DLLs | 30 DLLs (993 PE exports — 12 High, 8 Partial, 10 Stub) |
| Shipping GDK Thunk Parity | 292 / 292 XGamingRuntimeThunks.dll exports (24 COM QueryApiImpl interfaces, 0 E_NOINTERFACE) |
| RDNA2 / GFX10.3 ISA Coverage | 774 / 779 (99.4%) decoded, lifted (SPIR-V + DXIL) & CPU-referenced · 615 / 779 real-GPU verified |
| Validated AAA Shader Corpus | 3,120 / 3,120 5-stage (CS/VS/PS/MS/AS) shaders across 12 workloads (spirv-val + dxc SM 6.5) |
| Verified Community Hardware | 7 PCs — NVIDIA Turing/Ampere/Blackwell (GTX 1650 Ti, RTX 2060S, 3080 Ti, 5070) & AMD RDNA 3/4 (RX 7600, 7900 XTX, 9070 XT) |
| Commercial Retail Title Status | Early Alpha — Playable demos (Freedoom: Phase 1, ScarlettArena), shadowed 3D dual-API GDK scene, and 4 untouched MIT Xbox-GDK-Samples run live; commercial retail Xbox Series games are not playable yet. |
Wiki Directory
Getting Started & Guides
- Getting Started — Download the portable Win64 build, use
OpenScarlettLauncher.exe, run the 60-second Hardware Self-Test, and launch unpacked GDK apps. - Building From Source — Build with MSVC C++20, CMake, Ninja, Clang-CL, or MinGW-w64; run the 62-test CTest suite; regenerate status dashboards.
Architecture & Subsystem Deep Dives
- Architecture Overview — How native x86-64 execution, APC injection, 30-DLL routing, dual D3D12/Vulkan 1.4 rendering, and RDNA2 lifting fit together.
- Loader & Virtual Filesystem (VFS) — PE32+ inspection, suspended-process APC hook loader,
CreateProcesschild-hook propagation,PeForwarderResolver,MicrosoftGame.Config,ConsoleLsaPolicy, clean-room 12 KiB XVD inspection, andNtCreateFile/ CoWG:\,T:\,S:\mounts. - Graphics: DirectX 12 (
d3d12_xs) & Vulkan 1.4 — All 13 Xbox COM proxies, 6-thread multi-queue sync, GXDK extensions, Sampler Feedback,QueryAccumulatorX, HDR10PresentX, directd3d12_xs→ Vulkan 1.4 routing,xg_xsGPU compute untiling, and GPU FSR 1.0. - RDNA2 Shader Lifter & Ray Tracing — GFX10.3 ISA decoders (
774/779), Xbox DXBC/PM4/SGPR container parser, SSA IR + EXEC-mask CFG hardening, SPIR-V 1.6 (TaskEXT/MeshEXT) & DXIL SM 6.5/6.6 lifting, Wave64-on-Wave32, bindlessV#/T#/S#, async PSO cache, and DXR 1.1 /image_bvh64_intersect_rayRayQuery bridge. - Memory, Streaming & Storage —
kernelx/xmemVirtualAlloc264 KiB & 4 MiB page aliasing,GpuTilePool, 64-bitTitleVAMirror(MEM_WRITE_WATCH), LRUVramResidencyManager, anddstorage_xs(priority queues, GDeflate v1, BCPack BC1–BC7 texture arrays, GPU untile upload). - Audio, Video & Input — Lock-free 128-voice
XAudio2_9/ WASAPI /X3DAudio,AcpHal, XMA2/Opus/ADPCM,mfplat_xsH.264/HEVC D3D12 video decode,Bink2Scarlett, andGameInput(XInput, Raw Input mouse, hot-plug, impulse triggers).
References & Community
- System DLL Shims Reference (All 30 DLLs) — Export counts, coverage tiers, and capabilities for all 30 shimmed DLLs (
993exports). - CLI, Environment Variables & Diagnostics —
openscarlett.exesubcommands,OpenScarlettLauncher.exe, First-Boot Probe mode, VEH 50-call crash ring buffer,CallTelemetry, frame/shader capture, and allOPENSCARLETT_*env vars. - Testing, Compatibility & Hardware — Honest workload compatibility matrix, all 62 CTest suites, live GPU measurements, and community hardware tiers.
- Contributing & Roadmap — Clean-room rules, sprint history (
v0.1→ Sprint 12), parallel worktree workflow, and how to contribute code or hardware reports.
Quick Links
- GitHub Repository: californiaAlmonds/OpenScarlett
- Interactive Coverage Dashboard: californiaalmonds.github.io/OpenScarlett
- Latest Portable Win64 Release: GitHub Releases
- Community Discord: Join Discord
OpenScarlett Wiki
User & Build Guides
Architecture & Subsystems
- Architecture Overview
- Loader & Virtual Filesystem
- Graphics: D3D12 & Vulkan 1.4
- RDNA2 Lifter & Ray Tracing
- Memory, Streaming & Storage
- Audio, Video & Input
Reference & Diagnostics
Community
OpenScarlett — Clean-room MIT Xbox Series X|S translation layer for Windows 10 & 11 x64 · Repository · Dashboard · Discord · Strictly no retail DRM decryption or key extraction.