Clean-room Rust Xbox Series X|S (Scarlett) translation layer, GDK shim suite & SM 6.6 DXIL shader recompiler for Windows x64 โ built for TheBig6 ๐.
fail=0)cdylib shim DLLs (0 warnings)LoadLibraryW)Based on verifiable public metrics from each repository and PortWatchVI:
| Capability | PercyScarlett v0.3.1 (Ours) | Leonida | xvalkyrie | XCL / xbox-emulator |
|---|---|---|---|---|
| Language & Architecture | Pure Rust, 9 cdylib shims + Xbox GUI | C++ / Python static recomp (Vulkan) | Translation layer | Rust runtime / Wine-style |
| Hardware GPU Bring-Up | Real ID3D12Device + CommandQueueX + 60-frame DXGI PresentX (RTX 2060 SUPER) | 60-frame Vulkan test; d3d12_xs command list & descriptors still TODO | Boots Minecraft / XDefiant / Fortnite | Partial |
| TheBig6 ๐ RDNA2 Shaders | 21,522 / 21,522 (100.0%) SM 6.6 DXIL (VS/PS/CS/13,588 Mesh/64 RT) | 26,503 SPIR-V (spirv-val + 30-GPU test) | Xbox One/Series runtime | 24,064 HLSL / ~35% VS |
| PE32+ Loader & C++ EH/TLS | .reloc, sanitized .pdata, RtlPcToFileHeader redirect, static .tls (gs:[0x58]), --dry-run | .pdata, RtlPcToFileHeader, tls_host.dll | PE loader | Basic |
| Shipped Sidecars & Audio | 6/6 Win11 live-loaded + XAudio2Create + 0 GB NTFS overlay | Offline extractors (no 0 GB overlay) | Runtime | Live / Standard |
| Community Verification | 8/8 1-Click Self-Test + Pre-Filled GitHub Issue Reporter (.exe & .bat) | Manual CLI scripts | Manual | Manual |
dxcompiler.dll)Every shader in shaders.rpf (PS09) lifted from RDNA2 (GFX10.3) ISA to HLSL (with PerDrawCB, g_tex[8], g_samp[4], MIMG, SMEM, LDS, and Mesh/RT exports) and compiled live via IDxcCompiler3::Compile:
PS09 Shaders: total=21522, benchmarked=21522, lifted=21522/21522 (100.0%) in 29.27s Stages: VS=89 PS=7730 CS=51 Mesh=13588 RT=64 DXIL SM 6.6 (dxcompiler.dll): ok=21522/21522 (100.0%), fail=0
samples/scarlett_sample.rs)Clean-room GDK sample launched via percyscarlett launch on Windows 11 x64, creating a real hardware ID3D12Device + ID3D12CommandQueue + Win32 HWND + IDXGISwapChain1, compiling RDNA2 VS/PS to SM 6.6 DXIL live, initializing XAudio2Create, and presenting 10 DXGI frames via PresentX:
[ScarlettSample] XSystemGetDeviceType = 4 [ScarlettSample] XAudio2Create OK (0x1f29576c3e0) [ScarlettSample] D3D12XboxCreateDevice OK (0x1f2957ecd00) [ScarlettSample] ID3D12CommandQueue created (0x1f2979be090) [ScarlettSample] Auto-HWND + IDXGISwapChain1 created! [ScarlettSample] RDNA2->VS_6_6 DXIL compiled (7136 bytes) [ScarlettSample] RDNA2->PS_6_6 DXIL compiled (4596 bytes) [ScarlettSample] RDNA2->CS_6_6 DXIL compiled [ScarlettSample] RDNA2->MS_6_6 DXIL compiled [ScarlettSample] Presented 60 real DXGI frames via PresentX! Launched target\release\scarlett_sample.exe with PercyScarlett overlay
[PASS] amd_fidelityfx_loader_xbox.dll loaded at 0x7ffd2e170000 [PASS] amd_fidelityfx_upscaler_xbox.dll loaded at 0x7ffcdf570000 [PASS] Bink2Scarlett.dll loaded at 0x7ffcdf5f0000 [PASS] libHttpClient.GDK.dll loaded at 0x7ffcdf540000 [PASS] XboxBvhBuilder.dll loaded at 0x7ffcdf5d0000 [PASS] XCurl.dll loaded at 0x7ffcdf680000 DLL verification: 6 passed, 0 failed
9 Compiled Shim DLLs: kernelx.dll, d3d12_xs.dll, xmem.dll, xgameruntime.dll, dstorage.dll, GameInput.dll, xg_xs.dll, winrt_xs.dll, xaudio2_9.dll โ View Source on GitHub