English · Français · Español · Deutsch · Italiano · Português · 日本語 · 中文 · Русский
Note
Where we are (2026-11-25)
Measured on an i7-13700KF + RTX 4070 SUPER, Windows 11, with the VIctory fork LooperSalty/victory at commit 80d58f8 (branch anyxboxx/fork-7b0-lot9-murs) (third_party/victory) started by tools/lancer_victory.ps1 -GameDir <game folder>:
- 🆕 ~14 fps in the world (Series X, RTX 4070 SUPER), measured 2026-11-25:
third_party/victorynow stands on Neptune (VIctory Edit.) 2026-11-25c with the set measured the same day (median 13.8 fps, 15.6 to 17 fps over the last minute, 72.5 ms a frame; before it, 10.9 fps median with the launcher settings ofmain, from automated 13-minute Series X runs, no crash). The figures below were measured with the previous base80d58f8. - 🆕 Picture-first mode, measured by the maintainer on 2026-11-25:
tools\lancer_victory.ps1 -Quality(window copies read fresh each frame, smaller pools) gives clearly better lighting and textures, about 7-9 fps, and far fewer texture refusals (51-93 against about 300). The default stays the fast set (about 14-17 fps, median 13.7 over 7 minutes in the world with PR #272).-Override @{ VICTORY_X = '...' }lets anyone try a setting without editing the launcher. - ✅ Boats float (PR #263 by Exorion1er: the ocean height maps are copied back for the title's CPU).
- 🦀 Rust port, branch
rust/full(not yet inmain): the native launcher (PR #249) and the GPU runneranyxboxx_gpu_run.exe(PR #266) are now Rust; the RDNA 2 reference interpreter is ported to Rust (crateanyxboxx-rdna2-ref) and runs every instruction the Python model runs (1,060 of the 1,490 LLVM encodings), byte for byte, with 28 parity tests; the saves, local storage, store and HDR/DXGI objects of xgameruntime are ported. Still to port: the HLSL recompiler, the rest of xgameruntime, then removing the C++ and Python. Status: docs/rust-full-status.md. - ⛔ Known limits (work in progress): system RAM is the bottleneck on a 32 GB PC (the process holds about 22-25 GB: the title's own memory, plus CPU mirrors, plus VRAM spilled to shared memory), and a 12 GB card runs out of texture room (hundreds of refusals per session), which causes dips to 1-6 fps while the world streams.
- ✅ The Xbox Series 1.0.2.1 build of GTA VI launches on PC: boot, profile screen, first-run settings, legal screens, loading, pause menu. Menus run at 30 fps.
- ✅ It reaches the world and displays it: the character moves under the player's control and the 3D image is shown, at 4.8 to 5.4 frames per second with about 6,550 draws per frame (measured by the maintainer, Windows 11, RTX 4070 Super, VIctory log, about 4 min 20). The startup animation does not flicker (observed). The irradiance cache, never lit before (0 dispatch in a PIX capture of a cutscene frame), now has its two shade shaders translated, with their pipelines created and bound in game (observed).
- ✅ All the cutscenes play in full (observed by the maintainer on 25 November with the launcher settings and the pinned commit
80d58f8), with some graphics still missing in places (the ray-tracing structure builder is off). The maintainer observed peaks at 9 fps and a steady 7 to 8 fps during the cutscenes (window caption, 25 November); in one scripted run the medians measured from the log were lower, 2 to 3 fps, depending on the scene. - ✅ The first two missions have been played through: a contributor of the project played for about 45 minutes at about 2 fps and completed the first two missions (reported to the maintainer on 25 November; not measured from our logs).
- ✅ Past the prologue into chapter 1 on Linux (Jason on the boat): played on 25 November on Proton (GE-Proton11-12 with a community wineserver patch) and an AMD RX 9070 XT with the pin
890a83a, a 23-minute run without a crash, about 3 to 5 fps the whole way (VIctory log: median 3.7 fps, 80 % of the time between 2.2 and 4.5). Shadowed and indoor areas stay black (no ray tracing). - ⛔ Current limits: 6 shaders are still not translated (9 before), 16 pipelines are refused by the driver (the fork's issue #75 reports about 80 more on an RTX 3070, not seen on the 4070 Super), ray-traced lighting is absent (the BVH builder stays off, about 350 dispatches dropped per frame), with the
VICTORY_LATE_WAITsetting some walls of the first room can be transparent (fork issue #168, fixes in progress: #191, #206), and long-run stability is only measured over about 4 min 20 without device loss.VICTORY_RELAYis off by default: the fork's issue #89 reports that it makes the characters' skin disappear and overlaps the subtitles. - 👁 History of 24 November (measured or observed by the maintainer, VIctory logs):
d279e69about 4 fps, 13 min in the prison, then device lost →7b0f736+VICTORY_RELAY=2about 4.5 fps → launcher settings of PR #172 without DRED about 5.5 fps → batch 4 (3 pull requests) about 6.6 fps withVICTORY_RELAY=2, startup flicker fixed → this batch (7 pull requests, withoutVICTORY_RELAY) about 5.4 fps but 6,449 draws per frame and the best image so far → batch 8 (batch 5 plus one pull request, #11) about 4.8 to 5.4 fps, about 6,550 draws per frame, irradiance cache shaders now translated. - 🆕 VIctory is now copied into this repository (
third_party/victory, no longer a submodule) as our own code, with nothing synced or pinned:80d58f8plus 57 commits for Proton (Wine) and AMD cards, from the forkfxceless/victory-fork, VIctory, klbf-lab, JoshuuDev's and myokex'svictory-amd, and ours (authors in THIRD_PARTY.md). Measured on Linux only (Fedora 44, RX 9070 XT, RADV, GE-Proton11-12 with a community wineserver patch, VIctory log of one run of about 23 min): about 3.7 fps (266 ms median world frame), no crash or device loss; faces, skin and geometry complete (observed); indoor and shadowed areas are black, ray tracing does not run. Not yet measured on Windows; the launcher's settings are unchanged. An existing clone must rungit submodule deinit -f third_party/victoryand deletethird_party/victoryand.git/modules/third_party/victorybefore pulling (see the guide). - 📌 Pinned since the commit
80d58f8of the branchanyxboxx/fork-7b0-lot9-murs: batch 8 plus threexg:commits of ours (the layout ofxg_xs.dllis now answered exactly like Microsoft's library: tail mips in parent mode with a position, 64 KiB tilings indexed by subresource; a test compares 54 descriptions with the real DLL and the maintainer measured 0 difference in game, so-XgDllis now only an oracle), the offline precompilation of shaders and pipelines (port of pull request #282 of the forkfxceless/victory-fork, t4l03):victory translate --cache --pipelines, launcher switch-Precompile(measured: 25,689 shaders translated in about 4.5 min, 296 refused, 13 GB of cache), and seven other pull requests of that fork (#349, #355, #396, #386, #358, #353, #374). Measured by the maintainer (VIctory logs, night of 24 to 25 November): 4.8 to 5.1 fps and about 12.7% of draws dropped per frame (11 to 14% before); the cutscene is judged better (observed). Plus two commits by Yorivel from the fork (e49864a,bf870de): DirectStorage writes into physical pages are now reported to the GPU side (VICTORY_DSTORAGE_NOTIFY=1, set by the launcher), so it no longer keeps stale copies of the first room's walls. Measured by the maintainer (VIctory log, 25 November, about 02:41 to 02:50): from a new save into the world in about 9 minutes, 5.3 to 6.9 fps, 4,200 to 6,300 draws per frame, no device loss; full cutscenes, judged "incredible" (observed); some graphics are still missing in places. Most dropped draws come from the ray-tracing structure builder, which is off (14,943 of 15,444 in one log), not from the 15 wave64 compute pipelines NVIDIA refuses (about 300 draws). - 📌 Pinned since the commit
19feca8of the branchanyxboxx/fork-7b0-lot8-xg: batch 8 plus one commit of ours that lets Microsoft's own texture layout library lay out the textures:tools/lancer_victory.ps1 -GameDir <game folder> -XgDll <path to xg_xs.dll>, withxg_xs.dllthe offline PC build from your own copy of the GDK (never in this repository). Without-XgDllnothing changes. Measured by the maintainer (VIctory logs, 25 November): the library's answers differ from VIctory's for 84 texture descriptions (tail mips of 64 KiB textures, 64 KiB tiling of texture arrays; sizes and offsets match); served by it, the world runs at 5.4 to 7.1 fps (5.1 to 5.6 without) and the run was judged the best so far (observed).-XgMode comparekeeps VIctory's layouts and logs each difference. - 📌 Pinned since the commit
d138351of the branchanyxboxx/fork-7b0-lot8of our VIctory forkLooperSalty/victory: batch 5 (the forkfxceless/victory-forkat7b0f736plus seven of its pull requests, see the guide) plus one pull request cherry-picked with-x: #11 (cxchhh, parked lane-mask pairs a few instructions apart are restored, relative VGPR reads keep parked lanes; the two irradiance cache shade shaders now translate). Measured by the maintainer (VIctory log, PIX capture, launcher settings ofmain): 4.8 to 5.4 fps and about 6,550 draws per frame, 6 untranslated shaders (9 in batch 5), 16 pipelines refused by the driver (same as batch 5), no device loss in about 4 min 20. An existing copy must rungit submodule sync third_party/victorythengit submodule update --init third_party/victory: the submodule URL changed with #178. - Requirements: your own copy of the game, an NVIDIA or AMD GPU with SM 6.6 and mesh shaders, Rust. No game files in this repository.
- How to run it: docs/running-gta6.md.
AnyXboxX loads Xbox GDK executables (PE32+ x86-64 format) and runs their code with Unicorn. The console's system functions are replaced by a C++ runtime in native mode, and by Python code in the isolated machine (high-level emulation, like WinDurango or Wine). The program presents itself as an Xbox Series X: XSystemGetDeviceType returns XboxScarlettAnaconda.
AnyXboxX is specialised on one build: Grand Theft Auto VI for Xbox Series, version 1.0.2.1. Only what this game needs is translated (the system functions it imports, the shaders and the Direct3D 12.x methods it uses). Other games will be tried once that translation is complete. The project builds on VIctory (Marvisak, GPL-3.0 or later), which targets the same build: it is copied into third_party/victory, starting from the fork fxceless/victory-fork (GPL-3.0) at commit 7b0f736. Thanks to Marvisak and to the authors of those pull requests, credited one by one in THIRD_PARTY.md.
Important
The game is not playable. See the box at the top of this page for where we are. This repository contains no game files, keys or executable, and does not explain how to get them.
Live status page, with the disk space to plan for: loopersalty.github.io/AnyXboxX.
Regenerate: scarlett.py --carte <package folder> docs/images/carte-avancee.svg.
- CPU instructions: 100%. The Series X uses an AMD Zen 2 in x86-64, the same instruction set as a PC: in native mode, the game's code runs as is, without translation.
- GPU instructions: 86%. A console game's shaders are compiled for the Series X's RDNA 2 GPU. 1,285 of the 1,490 RDNA 2 encodings run in the reference interpreter, and the RDNA 2 → DXIL recompiler already draws a first vertex shader and pixel shader with D3D12.
- System functions: 66% of the 1,337 functions imported by the DLLs of the test package are resolved in isolated mode.
- Console-specific DLLs:
xmem.dll(4/4) andd3d12_xs.dll(2/2) are translated for the functions the package uses. D3D12.X (device andID3D12*interfaces) is served by TomBox'sd3d12_xs.dll, not yet tried with a game. - GDK runtime: 210 of the 396 functions are written in AnyXboxX, in C++: the task queue (
XTaskQueue,XAsync,XThread), the user (XUser, an offline local profile), the Xbox Series X identity (XSystem, Title ID, analytics, runtime features), saves (XGameSave,XGameSaveFiles,XPersistentLocalStorage) the game package (XPackage), the offline Store (XStore: local game license, empty product queries) and offline invitations, activations and error reports (XGameInvite,XGameActivation,XGameProtocol,XError), plus the PC's real HDR state and network connectivity (XDisplayTryEnableHdrMode,XNetworkingGetConnectivityHint). They are used when AnyXboxX manages the runtime on its own: without Gaming Services, or withANYXBOXX_SYSTEM_RUNTIME=0. If the Windows GDK runtime is present, it serves all the interfaces, task queue included, because its APIs only accept its own queues. The trace (ANYXBOXX_TRACE=1) names each interface requested.
The chart is regenerated by scarlett.py --traduction <package folder> docs/images/traduction.svg.
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --banc-perf <jeu.exe> [secondes] [courbe.svg]
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --natif <jeu.exe> --fpsThe C++ runtime times every Present of the game's DXGI swap chain, including when DXGI is loaded dynamically by one of the game's DLLs (SDL3). From this it derives the frames per second, the average frame time and the "1% low" (the rate of the slowest 1% of frames, which reveals stutter). --fps shows these values in the window title. --banc-perf measures for N seconds, leaving out the first one (loading), and gives a "constant 60 fps" verdict (exit code 2 if the target is missed). Without these options, nothing is intercepted.
Both test games run without vertical sync: about 11,700 fps for SimpleTriangle and 12,600 fps for testgdk, in native mode.
| Step | Status |
|---|---|
Reading MicrosoftGame.Config (TitleId, identity, Scarlett executable) |
✅ done |
| PE32+ loading: sections and protections, relocations, imports, exports | ✅ done |
| TLS: template copy, index, callbacks | ✅ done |
| TEB and PEB reachable through the GS register | ✅ done |
| HLE page: 158 emulated GDK, kernel, CRT and math function names | ✅ done |
Unknown functions: E_NOTIMPL and a log entry instead of a refusal |
✅ done |
Global C++ constructors (_initterm) run as guest code |
✅ done |
Compatibility report (--rapport) and test bench (--banc) |
✅ done |
| Several linked modules in a single machine: package DLLs, ordinals, forwarders, relocation on conflict | ✅ done |
GetModuleHandle, GetProcAddress, LoadLibrary, RtlPcToFileHeader |
✅ done |
| 16/16 DLLs of a Scarlett package initialized with their dependencies, 0 non-emulated calls | ✅ done |
Free SimpleTriangle test game compiled: C startup and GDK initialization run in AnyXboxX |
✅ done |
Wine-style native execution (--natif): SimpleTriangle is displayed, GDK runtime served by AnyXboxX |
✅ done |
Second free test game, SDL3's testgdk: runs in native mode (window, sprites, sound) |
✅ done |
Isolated launch of a package or an exe (--lancer) with the list of calls to emulate |
✅ done |
C++ runtime (runtime/): xgameruntime.dll, xmem.dll, d3d12_xs.dll preloaded in native mode, served to all of the game's DLLs |
✅ done |
xmem.dll: XMemAlloc, XMemFree with XALLOC_ATTRIBUTES decoded (ERA layout: heap and graphics memory, alignment), hooks, XMemVirtualQuery (graphics memory flag) |
✅ done |
d3d12_xs.dll: root signature serialization, redirected to the PC's D3D12 |
✅ done |
Table of the 396 GDK functions: interface and method number, extracted from xgameruntime.lib (tools/gdk_interfaces.py) |
✅ done |
XTaskQueue, XAsync, XThread served by AnyXboxX: testgdk runs without the Windows runtime |
✅ done |
| Other GDK interfaces: delegated to the Windows GDK runtime, named by the trace | 🟡 in progress |
| 1600+ automated tests | ✅ done |
D3D12.X: D3D12XboxCreateDevice, console ID3D12* interfaces and DXGIXPresentArray, served by TomBox's Rust d3d12_xs.dll (MIT, 48 implemented exports, built by tools/build_tombox.py d3d12_xs, loaded with ANYXBOXX_D3D12_XS=<path>); untestable here without a console executable |
🟡 in progress |
Console libraries from TomBox (Rust, GPL-3.0) for what AnyXboxX lacks: xg_xs (texture layouts, 23 exports) and full xmem (38 exports), with ANYXBOXX_TOMBOX_DIR=<folder>; built by tools/build_tombox.py xg_xs xmem |
🟡 in progress |
Offline XUser: always-signed-in local profile, configurable gamertag (ANYXBOXX_GAMERTAG), testgdk sign-in succeeds |
✅ done |
Xbox Series X identity: console type (simulated ConsoleMode registry value, including inside the game's DLLs), XSystem, Title ID read from MicrosoftGame.config, "Xbox Series X" analytics |
✅ done |
Progress map: one cell per function (--carte) |
✅ done |
Controller (GameInput) and audio (XAudio2): same API on console and PC, bound to the Windows DLLs in native mode |
✅ done |
Markdown report of the missing imports per DLL and of the unemulated calls (--lancer … --md rapport.md) |
✅ done |
First-launch tool for a console executable: inventory, who provides each import (package, AnyXboxX, TomBox, Windows, missing), isolated runs, optional native run; report kept outside the repository: python tools/jour_j.py <package> [--natif] (guide, in French) |
✅ done |
Frame counter (--fps) and performance bench with a "constant 60 fps" verdict and a curve (--banc-perf) |
✅ done |
XGameSave saves (containers, blobs, quota, asynchronous reads) and persistent local storage, on the PC's disk (%LOCALAPPDATA%\AnyXboxX\<TitleId>, or ANYXBOXX_SAVE_DIR) |
✅ done |
XPackage: locally installed package (identifier, language, ready chunks, mounting on the game folder) |
✅ done |
kernelx.dll (console kernel): 2,661 functions forwarded to Windows kernel32/kernelbase |
✅ done |
Implicit TLS (thread_local) for games in native mode: carrier DLL anyxboxx_tls.dll, every thread gets its own copy (up to 256 KiB) |
✅ done |
Native C++ launcher without Python (runtime/build/bin/anyxboxx.exe <game.exe | folder> [--fps]): SimpleTriangle and testgdk at ~12,000 fps |
✅ done |
RDNA 2 GPU disassembler: 1,490 mnemonics and LLVM-syntax operands (scalar, VOP1/VOP2/VOPC/VOP3/VOP3P/SDWA/DPP/SMEM/DS/EXP/MUBUF/MTBUF/MIMG/FLAT with modifiers), checked against 38,999 public LLVM encodings: scarlett.py --rdna2 <shader.bin> [--liste] |
🟡 in progress |
| RDNA 2 disassembler operands identical to LLVM's text: scalar and VOP1/VOPC 100%, DS 100%, EXP 100%, SMEM 96.5% (the maximum: LLVM writes the other encodings two ways) | ✅ done |
First RDNA 2 vertex and pixel shaders drawn with D3D12 (anyxboxx_gpu_run.exe --draw): every vertex and every pixel identical to the reference interpreter, on the GPU and on WARP |
✅ done |
Textures in recompiled RDNA 2 shaders: T#/S# descriptors and image_sample (2D, nearest texel, wrap or clamp-to-edge, 8_8_8_8_UNORM and 32_32_32_32_FLOAT), identical to the reference interpreter on the GPU and on WARP, including a textured pixel shader; descriptor layout from Leonida and Mesa |
✅ done |
Second RDNA 2 → SPIR-V (Vulkan) translator: Leonida's (GPL-3.0), copied unchanged in third_party/leonida/ and fed by AnyXboxX's own disassembler, without llvm-mc; vertex, pixel and compute shaders; 51 of the 52 console shaders shipped in the package's XboxBvhBuilder.dll translate, measured locally with tools/fssm_mesure.py (scarlett.py --rdna2 <shader.bin> --spirv ps) |
🟡 in progress |
TomBox updated to its latest version (D3D12.X: 194 of 200 methods by their count) and 4 more of its console libraries built and served from ANYXBOXX_TOMBOX_DIR: d3d12_x (ESRAM), XAudio2_9 (XMA voices), xapu, xgs12; tools/build_tombox.py d3d12_xs xg_xs xmem d3d12_x xaudio2_9 xapu xgs12 |
🟡 in progress |
Console DXIL → PC DXIL retarget (dxil-ms-xb2 → dxil-ms-dx, without going through HLSL): Xbox2Windows' tool (MIT), copied unchanged in third_party/xbox2windows/ with its test; python third_party/xbox2windows/tools/dxil_retarget.py <in> <out> or --pe <game.exe> |
✅ done |
| Pull request checks: lint and the 9 READMEs kept in sync (rows, images, test count) on every pull request | ✅ done |
Console textures in Rust: BC7 decoding and GFX10 SW_4K_S detiling ported from Xbox2Windows (MIT), reproducing their reference digests; anyxboxx_texture bc7 <blocks.bin> <w> <h> <out.png> [--4k-s] |
🟡 in progress |
Other GDK interfaces written by AnyXboxX (XGameUi, XNetworking…) |
⏳ to do |
RDNA 2 → DXIL shader recompiler: first programs translated to HLSL, compiled to DXIL and run on the PC's GPU with D3D12 (--hlsl, anyxboxx_gpu_run.exe, WARP without a GPU), memory identical to a wave32 reference interpreter running 1,285 of 1,490 encodings (scalar, VOP1/VOP2/VOPC/VOP3/VOP3P, memory: SMEM, LDS, GLOBAL, MUBUF/MTBUF with V# bounds and typed formats, atomics, branches, exec divergence); a first vertex shader and pixel shader (EXP exports, VINTRP interpolation) drawn with D3D12, identical vertex by vertex and pixel by pixel: scarlett.py --rdna2 <shader.bin> --executer |
🟡 in progress |
Wave64 compute programs on GPUs whose waves have 32 lanes (#70): each 64-lane wave runs as one group of 64 threads (lane masks and lane reads through groupshared memory, no WaveSize), memory identical to the reference interpreter in wave64 on an RTX (32-lane waves) and with WARP; DPP and SDWA compares are still refused by name |
🟡 in progress |
Shader cache: translated shaders compiled to DXIL once, then reused from disk (1.4 ms) or memory (0.8 ms) instead of dxc (22 ms); %LOCALAPPDATA%\AnyXboxX\shader-cache or ANYXBOXX_SHADER_CACHE, size-capped |
🟡 in progress |
The Xbox Series 1.0.2.1 build of the title via VIctory (third_party/victory, our own code, on the Neptune (VIctory Edit.) 2026-11-25c base with the set measured on 25 November): ~14 fps in the world (Series X, RTX 4070 SUPER), measured 2026-11-25 (median 13.8 fps, 15.6 to 17 fps over the last minute, 72.5 ms a frame); no ray-traced lighting (an even ambient light stands in indoors), no facial animation, objects briefly black while their textures are swapped |
🟡 in progress |
x64 SEH exceptions (.pdata), multiple threads |
⏳ to do |
Dynamic loading of a DLL at run time (LoadLibrary + DllMain) |
⏳ to do |
| D3D12.X graphics to Direct3D 12 / Vulkan | ⏳ to do |
Console XMA2 audio: decoded to WAV by TomBox's Rust port of FFmpeg's decoder (LGPL, 1 LSB from FFmpeg on the public FATE sample); anyxboxx_xma <in.xma> <out.wav>, single-stream files |
🟡 in progress |
![]() |
![]() |
| The demo responds to the keyboard arrow keys. | The log shows the compatibility report. |
On Windows, install 64-bit Python 3.12 with Tcl/Tk, then open PowerShell at the root of the repository.
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --demoNative mode needs the C++ runtime. It is built with Visual Studio 2022 or 2026 (C++ workload) and CMake:
cmake -S runtime -B runtime/build -A x64
cmake --build runtime/build --config ReleaseThe task queue reuses the Task module from libHttpClient (MIT license, runtime/third_party/libhttpclient-task). The DLLs end up in runtime/build/bin, or in the folder given by ANYXBOXX_RUNTIME. ANYXBOXX_SYSTEM_RUNTIME=0 turns off delegation to the Windows GDK runtime.
The compiled demo program is PrototypeScarlett/demo.pe; its source code is PrototypeScarlett/demo.c.
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --natif <dossier ou fichier .exe> [dossiers de DLL…]AnyXboxX loads the executable itself and runs it directly on the processor, like Wine. The Xbox runtime (xgameruntime.dll) is provided by AnyXboxX; the window and DirectX 12 are the PC's. Warning: in native mode, the program is not isolated. Reserve this mode for trusted programs; --rapport and --banc remain isolated inside Unicorn. ANYXBOXX_TRACE=1 displays the intercepted calls. Details: docs/test-game.md.
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --lancer <dossier du paquet ou fichier .exe> [dossiers de DLL…]With a folder, AnyXboxX reads MicrosoftGame.Config, takes the executable declared for Scarlett and runs it in the isolated machine (Unicorn): the program does not touch the PC. The report lists the unresolved imports, then the unemulated calls, from most to least frequent: this is the to-do list for completing the emulator. If the executable is missing, the message names it. With --md rapport.md, the same report is written in Markdown, with the missing imports grouped by DLL.
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --rapport <dossier ou fichier .exe>The test bench loads every PE module in a folder and runs their initialization:
.\.venv\Scripts\python.exe .\PrototypeScarlett\scarlett.py --banc <dossier>Detailed results: docs/progress.md. Free test game compared with its native execution: docs/test-game.md. An additional DLL folder (for example the Visual C++ DLLs) can follow the target: --rapport <cible> <dossier>.
The report lists the imported functions, the percentage already emulated and the missing functions. In the interface, the Open an Xbox folder… button reads MicrosoftGame.Config, displays this report, then launches the program; every non-emulated call appears in the log.
| Module | Role |
|---|---|
emu/config.py |
reads the GDK package manifest |
emu/loader.py |
loads the PE image and prepares imports, exports and TLS |
emu/machine.py |
Unicorn processor, stack, heap, TEB/PEB, call dispatch |
emu/hle/ |
emulated functions: gdk.py, kernel.py, crt.py, libm.py, guest.py |
emu/report.py |
compatibility report |
emu/modules.py |
loads the package DLLs, links the imports, orders the initializations |
emu/bench.py |
test bench on a folder of modules |
emu/native/ |
Wine-style native execution: loader, real imports, AnyXboxX's GDK runtime |
scarlett.py |
Tkinter interface and command line |
To add a function, decorate a handler in emu/hle/:
@hle("gdk")
def XSystemGetDeviceType(c):
return XBOX_SERIES_X- Xbox Series X hardware architecture: Zen 2 CPU, RDNA 2 GPU, memory, Velocity Architecture, security.
- Existing emulators and compatibility layers: WinDurango, XWine1, Xenia, XVD tools.
- Reverse-engineering notes on the studied Scarlett package (written by Codex): RDS5/ETPF tables, RPF headers, package layout.
- TomBox and its continuation: Rust console DLLs, Direct3D 12.x, RDNA 2 shader translator, what AnyXboxX reuses (MIT, credited).
- Xbox2Windows: static recompilation research; BC7 and GFX10 tiling reused by AnyXboxX (MIT, credited).
- First boot of the 1.0.2.1 executable: stops measured under Leonida's
gta6rtin order, the Leonida pull requests that treat them, work list for AnyXboxX.
.\.venv\Scripts\python.exe -m pip install -r requirements-dev.txt
.\.venv\Scripts\python.exe -m pytestThe main branch is protected: every contribution goes through a reviewed pull request, and the tests must pass. Bugs and functions to emulate are reported in the issues. The full rules are in CONTRIBUTING.md.
Discussion, help and test reports: Discord
AnyXboxX is distributed under the GNU GPL 3.0 or later. Third-party parts keep their own license: the Task module of libHttpClient (MIT, runtime/third_party/libhttpclient-task) and the RDNA 2 tables generated from LLVM's public encoding tests (Apache 2.0 with LLVM exception, PrototypeScarlett/emu/rdna2_ops.py and rdna2_shapes.py).
Third-party components and credits: THIRD_PARTY.md.


