Leonida Status
Nothing is playable. Boot and story stay blocked. Six workstreams are done and six are partial. Done work includes 382781 exported models and 26503 shader stages.
Three states
Blocked
Rows1Boot and story are the blocked row. The metric is 0. Finished shaders and exported models do not make the game launch.
Partial
Rows6Six rows are partial: the GPU harness, textures, music config, the PE loader, D3D12 to Vulkan, and ray tracing. Ray tracing is still synthetic, and the loader has not run the real executable.
Done
Rows6Six rows are done: package check 1.0.2.1, shader carve, RDNA2 to SPIR-V, spirv-val on the Linux reruns, 382781 models, and whole audio banks.
Subsystem rows
Thirteen README workstreams, grouped as blocked, partial, and done. Open a row for the detail. The metric stays visible while the row is closed.
Blocked
Boot and story
Boot, story mode, and anything playable are no. The metric is 0. The other rows are work that can proceed without the game executable. Boot work starts once a developer has that executable. No frame rate is published.
Partial
GPU harness
Hand-written GPU tests have results on more than 30 GPU and driver combinations, collected in issue 166. The set includes NVIDIA Turing, Ampere, Ada, and Blackwell, AMD GCN3 through RDNA4 on the Windows driver and on RADV, Intel Gen9 under ANV, Apple M1 on MoltenVK, and Mesa llvmpipe. MoltenVK skips geometry and mesh. These are small test shaders. Game shaders are checked by spirv-val and by vk_pipeline_check, not by a picture of their output. Wave64 tests need 64-wide subgroups or LEONIDA_W64_EMULATE=1.
Textures
Texture dictionaries and world texture pools export as DDS. Pool entries stored as BCPack are still skipped. tools/bcpack.py rebuilds BC1, BC3, BC4, BC5, BC6H, and BC7. Most BC6H and BC7 chunks need a local history table, and the repository does not ship that table. The decoder is not wired into rpf9dump.
Music config
Music and radio config is measured, not finished playback. The count is 1589 audio-config records with durations and AWC stream ids, plus station grouping and content-id lists. Per-track start offsets are not in that data.
PE loader
gta6rt --run drives a stand-in executable through CRT startup, statics, the heap, files, threads, GDK imports through the shims, and an exit code. Controllers use a GameInput shim on SDL3, including rumble and DualSense trigger and lightbar effects, when SDL3 is present or the build uses -DLEONIDA_SDL3_FETCH=ON. --trace-d3d12 logs each D3D12 call and its outcome on that path. The real game executable has not been run.
D3D12 to Vulkan
The Xbox D3D12 to Vulkan layer is in progress. The Vulkan device behind the Xbox ABI proxy creates queues, command lists, fences, descriptor heaps, committed and reserved resources, render-target and depth views including 3D targets, texture views, and samplers. Packed formats such as B5G6R5, B4G4R4A4, and R9G9B9E5 go into the bindless set. Barriers, clears, uploads, copies including BC, colour resolves, predication, CPU texture reads and writes, and occlusion, timestamp, and pipeline-statistics queries run on Vulkan and were checked on one GPU. Still absent: buffer views, root signatures, pipelines, draws, placed resources, 1D textures, and a swapchain. The pipelines stage can write pipeline_cache.bin, and the runtime does not load that cache.
Ray tracing BVH
BuildRaytracingAccelerationStructure builds bottom-level and top-level structures on the GPU in the console XDXR BVH4 layout. LEONIDA_RT_AS=khr uses Vulkan acceleration structures instead. Translated shaders walk the tree through image_bvh_intersect_ray for triangle nodes TRI0 through TRI3. The GPU builder writes TRI0 leaves. Updates refit instead of rebuilding. Clone, compaction, and the compacted and current postbuild sizes match a CPU reference on synthetic scenes. Build descriptions come from the package file XboxBvhBuilder.dll. The *_bvh4.rpf packs are offline-built dehydrated BLASes. TRI1 pairing, BOX16 nodes, and serialization are not in the builder. Whether the game rehydrates those packs or rebuilds them is still open.
Done
Package check 1.0.2.1
Finding and checking an Xbox Series package at version 1.0.2.1 works. The recognized folder holds MicrosoftGame.Config and the .rpf archives as plain files. The repository does not include that package. --check inspects the copy, and --check --full-check also hashes every file, which is slow.
Shader carve
Carve, unpack, and disassembly cover all 26503 native RDNA2 programs taken from shaders.rpf. The mix is VS 2236, PS 12101, CS 2689, mesh 9282, and geometry 195. The carve does not use the encrypted table of contents. It unpacks XBCH into FSSM and disassembles with llvm-mc for gfx1013.
RDNA2 to SPIR-V
Translation to SPIR-V covers those 26503 programs and writes a per-shader metadata index for pipeline creation. The Linux rerun at c432cdc used LLVM 23.1.5, and the Windows rerun at 43d0015 used LLVM 23.1.3. Both translated every program. Two wave64 totals are printed, 23841 and 21545, and neither is the current count. Cross-half wave ops in vertex, pixel, and geometry shaders stay approximate on 32-wide subgroups.
spirv-val
Validation is a separate step from translation. spirv-val passed 26503 of 26503 on the LLVM 23.1.5 Linux rerun at c432cdc and on the full-corpus rerun at 43d4703, after dcd8ecf fixed the SPIR-V ID bound. Windows at 43d0015 translated all 26503 and passed 26501. The intermediate dedd75c run also passed 26501. Those two ID-bound failures are the ones dcd8ecf fixed.
Models
A ten-archive scan at decoder pin e293917 exported 382781 models and reported zero readback decode failures. 343327 of them come from levels.rpf. The export carries real names, UVs, and material references. A full OBJ write of that archive is still pending. 71 unrecovered fragment candidates in levels.rpf remain open model work.
Audio banks
AWC banks export whole. Opus is repackaged losslessly as Ogg Opus. PCM codecs 0 and 2 become WAV. XMA2 decodes through ffmpeg, which is optional on PATH and required when you pass --wav. That flag writes 16-bit PCM WAV under work/assets/audio/wav after the bank step, and a resumed build skips WAV files already on disk.
Status table
| Workstream | State | Metric | Detail |
|---|---|---|---|
| blocked | 0 | not-playable | |
| done | 1.0.2.1 | works | |
| done | 26503 | carved | |
| done | 26503 | translated | |
| done | 26503 | passed-linux | |
| partial | 30 | test-shaders | |
| done | 382781 | exported | |
| partial | bcpack-skipped | exported | |
| done | exported | opus-wav-xma2 | |
| partial | 1589 | no-track-offsets | |
| partial | stand-in | untested-on-real-exe | |
| partial | no-draws | in-progress | |
| partial | synthetic | in-progress |
Related steps
Setup lists the toolchain and Build.bat. Fixes matches a build symptom to the action label stored for it.