| d3d12_vulkan.md |
Xbox D3D12 to Vulkan plan and status; device proxy, queues, command lists, barriers, copies. |
| ultrawide.md |
Ultrawide (21:9, 32:9), opt-in: how the output size flows from window to title to present, LEONIDA_ASPECT (a wider display mode reported, a wider window) and LEONIDA_PRESENT_SCALE (pillarbox or letterbox instead of stretching); what needs the game to confirm. |
| 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. |
| 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, and device slots 26, 48 and 73. |
| 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); load order, the start-up log, and the fact that a swap waits for the executable's archetype lookup address (RT-5). |
| mod-menu.md |
The D3D12 runtime's in-game trainer menu (F4, beside the F1 settings menu and the F3 panel): controls, LEONIDA_MENU and LEONIDA_MENU_OPEN, where it is drawn at present, what works (DLSS sharpness, frame-rate cap, panel, screenshots, recording, the title's clock rate) and what waits for the title's script natives, with the counts of the search for them in the executable (273 QueryPerformanceCounter import calls, 1,037 rdtsc; no native table found). Built and unit-tested, not yet tried in the running title. |
| lua-modding.md |
Lua mods for the D3D12 runtime: mods/<folder>/mod.json with "script": "main.lua", the leonida API (version 1: frame, key and menu events, an overlay, the live settings, pages in the F4 menu, checked reads, writes and pattern scans of the title's memory, files in the mod's folder), the sandbox (no io, os.execute, package, debug, network; a time budget and a memory limit; a failing mod is switched off alone), LEONIDA_LUA=0 and LEONIDA_MODS, and what is not offered (the title's script functions). Built and unit-tested, not yet tried in the running title. |
| 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. |
| victory_gap_gpu.md |
VIctory's console D3D12, DXGI, display and DStorage surface against Leonida's: what was ported, what is left and why. |
| 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_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. |
| victory_gap_system.md |
What VIctory serves on the system side (runtime classes, kernel, files, Winsock, loader) against Leonida, ported or left. |
| 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. |
| 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. |
| 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; 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, and the original PlayStation-style replacement tools/ps_prompt_glyphs.py builds. |
| 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; 13 of 29 translate with tools/fspx_unpack.py. |
| 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; 51/52 pass spirv-val today) and 29 ACCC/FSPX in the FidelityFX upscaler; the scan/extract tool, the one rule still missing, 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. |