| d3d12_vulkan.md |
Xbox D3D12 to Vulkan plan and status; device proxy, queues, command lists, barriers, copies. |
| mobile.md |
arm64/mobile path: the x86-64 → arm64 static-recompiler groundwork (tools/x64_recomp.py), the .pdata coverage census (tools/recomp_census.py), and what still blocks iOS. |
| first_run_ui.md |
Build the Windows integration and display the offline first-run controller prompts; the scripted-pad route through the first-run pages to the story load. |
| boot.md |
The first real boot: the gta6rt --trace/--trace-d3d12 runbook, the startup + D3D12 trace summary (tools/boot_trace.py), the triage order and the Q1–Q22 checklist. |
| retail_boot_chain.md |
How far gta6rt --run gets with the retail executable: the stops in order and what clears each, the physical-page export shapes, device slots 26, 48 and 73, and the device slots the executable calls, counted from the file (tools/d3d12_device_calls.py). |
| retail_boot_intel_host.md |
The retail boot on an Intel host with 16 GB: which stops of the two boot pages hold there with #7111, the commit-limit stop at the 6.1 GiB physical-page request that #7556 clears, the frame loop to the 900 s timeout with stub pipelines, and what the layer refuses at that depth (the console mesh-shader subobject among it). |
| modding.md |
The mod format: a mods/<folder>/mod.json next to gta6rt.exe or under --mods DIR, swapping a named (or joaat) archetype for another; the tools/leonida_mods.py manager (Mods.bat on Windows, Mods.sh on Linux and macOS); load order, the start-up log, and the fact that a swap waits for the executable's archetype lookup address (RT-5). |
| descriptor_lookup_apple.md |
M3 Max GPU timings for texture and sampler descriptor lookups at 1k, 10k and 100k live entries. |
| descriptor_lookup_ada.md |
RTX 4070 SUPER (Ada, Windows) timings for the same lookups in VRAM, host-visible and ReBAR memory. |
| descriptor_lookup_intel.md |
Intel UHD Graphics 770 (Xe-LP, Windows, driver 101.6129) timings for the same lookups at 1k–100k live entries; both memory placements within 0.6% of each other. |
| d3d12_xs_surface.md |
The 116-slot d3d12_xs.dll export surface; 83/83 standard GUIDs match the PC SDK. |
| xdxr.md |
BATCHED_DESC2 (0x50) and XDXR_STREAM_DESC (0x10) from XboxBvhBuilder.dll's reads; stream records' offsets and defaults; offline statistics not in the package. |
| d3d12_xs_console_abi.md |
The D3D12.X console ABI the d3d12_xs shim must reproduce: device/queue/list vtable slots, command-list object fields and record encodings, root-argument SGPR rules, unified memory; sibling-layer measurements marked unverified here. |
| d3d12_command_objects.md |
Measured command queue/list/fence/PresentX surface; verified vs prior art vs open. |
| xbox_d3d12_xs.md |
The d3d12_xs graphics ABI quoted from Microsoft's public GDK reference: root signatures, state objects, DXIL libraries, hit groups, shader cache sessions; which pages are missing or NDA-gated. |
| runtime_imports.md |
The 16 shipped modules' measured imports and shim/host/unimplemented split. |
| linux_proton.md |
Building and booting under Proton/Wine on Linux, one bounded game run with scripts/run_game_wine.sh, a healthy boot's timeline, and the test report of one Linux and two Windows machines |
| xmem_exe_calls.md |
How the retail executable calls xmem.dll: call sites and constant arguments per import (tools/import_call_sites.py), the 23 XMemVirtualAlloc calls that all pass an attribute word, and the inferred shape of the physical-page family. |
| exe_fail_fast.md |
Where the retail executable stops itself (int3) on an import's result: 78 sites over 27 imports (tools/import_fail_fast.py), grouped by how main binds each import (all 13 non-host fatal-checked imports now bind to shims; 0 unbound). |
| audio_hal_exe_calls.md |
How the retail executable calls the 22 audio coprocessor, texture layout and DirectStorage imports that have no shim: call sites, constant arguments, and the four calls with a negative-result branch. |
| directstorage.md |
Console DirectStorage: the DLL and ABI the title is expected to use (DStorageGetFactory, dstorage_xs, XCRDAPI), how sure that is and the evidence for it, and what runtime/shims/dstorage.cpp serves on the PC. The executable's own imports are unmeasured. |
| cpu_features.md |
CPU instructions in the executable a desktop CPU may lack (tools/cpu_feature_scan.py): 19 SSE4a, 10 CLZERO and 4 MONITORX/MWAITX sites (AMD only) and 8 CLWB sites (Intel since Ice Lake), all real code; #UD on hosts without them. |
| xcl_compare.md |
XCL's synthetic test title under gta6rt --run and under XCL (tools/xcl_compare.py): 5 of 50 checks pass here, both hangs are the documented manual-queue terminate deadlock, and each other difference mapped to an open item or a lead. |
| gameinput.md |
The GameInput shim on SDL3: GameInputCreate and the v0 IGameInput/IGameInputDevice/IGameInputReading/IGameInputDispatcher surface on any SDL gamepad, DualSense adaptive-trigger approximation and lightbar, force-feedback motors and trigger haptics through SDL's haptic API; without SDL3, one scripted pad for LEONIDA_INPUT_SCRIPT; 261 checks on virtual joysticks and a fake haptic backend; by hand on an Xbox Series X pad (Bluetooth) and a DualSense (USB). 261 checks on virtual joysticks and a fake haptic backend, not yet tried on a real pad. |
| prompt_glyphs.md |
The title's one button-prompt movie (a Scaleform GFX of 38 Xbox glyph sprites, platform_xbsx.input_icons.Main_Button_<N>): where it is in data.rpf, its tags and canvas sizes, which N is which button, which class of the larger movies asks for a glyph and when, the original PlayStation-style replacement tools/ps_prompt_glyphs.py builds, the keyboard-and-mouse set tools/pc_prompt_glyphs.py traces from the player's pictures, how the runtime serves the one for the device in use, and why the glyphs cannot follow a switch of device during play. |
| vi_patch.md |
ZiZc3's VI-Patch (game patches for the PS5 build) on the Xbox executable: the title's frame limiter and the 60 fps patch that is always on (RVAs 0x224359a, 0x1e0fc62), no vignette behind LEONIDA_VIPATCH_NO_VIGNETTE=1 (the spotmeter_aiming and spotmeter_fast exposure profiles), and why the other six are not found or not ported; no licence, so only what each patch does is taken. |
| victory_gap_media.md |
VIctory's audio, DSP, media, speech and GameInput modules against Leonida, export by export: what was already the same, what port/gap-media ported (the XInput/keyboard GameInput shim for builds without SDL3, #1 registration, silent speech, the local-only Media Foundation resolver) and what is left (Opus decoding, diagnostics aids). |
| saves.md |
Save containers: JSAV (index + JSON story save, byte-exact rebuild), ASAV header, SLAYER1 packed copy (not decoded); tools/saves.py and import into the offline XGameSave folder; key hashes are case-sensitive joaat (tools/save_keys.py). |
| pipeline_check.md |
Driver-level corpus check: the full corpus, 26,503 of 26,503 modules and pipelines, 0 failures (RTX 4060 Ti); an earlier 10/12-shard run, 22,092 modules and 2,217 compute pipelines, also had 0 failures. Driver-level corpus check: 10/12 shards, 22,092 modules, 2,217 compute pipelines, 0 failures. |
| multi_gpu_validation.md |
Running disjoint shards on eight identical RDNA1/RADV GPUs: PCI-BDF pinning, base controls, per-card logs, the V540 farm's aggregate results and its known driver limitations. |
| shader_validation.md |
Differential CPU/GPU validation design and the current CPU interpreter prototype. |
| isa_coverage.md |
RDNA2 ISA coverage of the translator against AMD's machine-readable XML: which of its 1,153 instructions have a rule, and which matched names are not RDNA2. |
| buffer_bounds.md |
V# OOB_SELECT bounds measured natively: RDNA2 (gfx1036) follows Mesa's GFX11 column (729/732 cases), not GFX10; raw mode also counts soffset. |
| buffer_formats.md |
Every GFX10 buffer data format a V# or MTBUF can name, loaded and stored, measured on a Radeon 880M (RDNA3.5, not RDNA2): 1.33 million validated elements, 0 mismatches; SCALED stores convert as NORM, float stores round toward zero. |
| fssm_crosscheck.md |
FSSM/RDNA2 facts cross-checked against SCARAB; code starts at code_off + 0x28. |
| fspx.md |
FSPX, the FidelityFX DLL's native compute programs (its shaders' ACCC part): directory as the DLL reads it, kind-0 dispatch state, the hash prologue, gfx1030 for its v_dot4 code; 20 of 29 translate and pass spirv-val with tools/fspx_unpack.py (the recount after SHADER-813 in fspx.md). |
| first_light.md |
Draw an exported model's UVs or sample a supplied texture with --dds. The UV draw covered 78.1% on an RTX 2060 SUPER (4,213 vertices, 7,968 triangles). The first draw of a real game model with its own translated VS/PS on a GPU: 4,213 vertices / 7,968 triangles, 78.1% coverage on an RTX 2060 SUPER; tools/first_light.py, the vk_harness mesh mode, and the same draw through the D3D12 layer (d3d12_first_light). |
| material_pass_replay.md |
How one authored mesh writes packed draw indices, how six compute programs read the layout, and which sibling passes read the surface material. |
| embedded_shaders.md |
DXBC containers embedded in the package's DLLs: 52 in XboxBvhBuilder.dll (console FSSM via the XDAT/XBCH record; 52/52 pass spirv-val today) and 29 ACCC/FSPX in the FidelityFX upscaler; the scan/extract tool, the rules the programs needed, and the build step and run-time lookup of the builder's programs (<shaders>/bvh/index.json). |
| shader_library.md |
The pipeline library in shaders.rpf's zlib part, which the carve doesn't read: 25,471 graphics and 2,693 compute pipeline records (stage slots: PS, VS, MS) and 21,522 native programs, 21,509 of them pipeline builds of 6,522 carved shaders (named by their HASH digest); tools/shader_library.py. |
| shader_inputs.md |
Inputs that specific game shaders need to be right, as a first check for a black frame or a device-lost: the studio-shot lighting shader's 512-byte light records, eight-light loop, plane count at +0x4C (#1892 said +0x40), profile table and shadow-strength byte; the ACES LUT bakes' two tone-curve splines (reference order at +0x00, points-first at +0x70 behind the +0x118 switch), the +0x13C luminance mode and the quasi-log addressing (#1896); the sky LUT order and the +0xD0 dword that picks RGB9E5 or float outputs (#1897); the shared atmosphere constant buffer, its table slots (+0x220, +0xC60) and the layout with the two scale-height dwords no pass consumes (#3990). |
| sandbox.md |
Placed world props through one translated VS/PS pair with a real camera, TTPF albedo and the game's sampler: 442 of 446 draws textured; fly/walk/drive window, tools/sandbox.py --check. |
| coder.md |
The compressed mass in story000_script.rpf: entry framing (align16(entry+8) payload), the 32-value tag alphabet, deflate-shaped but proprietary, variable-length 7/8-bit LSB-first codes with no stored table, and the n7 = 116..127 search that finishes it. |
| mission_logic.md |
Mission state tables: 0x20 record layout (band counter, byte offsets), the 64-byte pool element with world transforms, case-folding joaat keys, 53.5 % of states named, 113 state-set clusters covering 82.4 % of files. |
| gbuffer.md |
Deferred G-buffer targets (PS_DeferredTextured and all 2,989 *Deferred* pixel shaders, PROC-146): 5- and 6-target OSG1/PSV0 signatures (float32 + exp ... compr on all outputs), the 24-bit octahedral normal split across mrt1.gba (2047.5 scale, 1/255 byte packing), sqrt-encoded mrt2, byte IDs in mrt3.zw, float motion in mrt4, and why binding f16 targets mangles the normal bytes. |