mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 17:48:40 +00:00
SHADER-46 (#349) fixes the same s_ff0_i32_b32 bug and was opened first, so this branch drops its translator change and ps_salu_ff and keeps the fuzzer. s_bfe_* control words stay inside offset + width <= 32 unless --bfe-any; --programs/--max-ops below 1 is an argument error; the tests no longer exclude s_min/max_i32 (#332 is on main) and check the BFE range. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Documentation
These notes record what has been measured in the local Xbox Series package and what is still open. The headline counts are the measured numbers at the time of the note; the linked page has the method, scope and caveats. No game data is included.
Start here
| Document | What it covers |
|---|---|
| design.md | Overall project design, asset status, translator contract and open blockers. |
| related_projects.md | Prior art we may read and the licence boundaries on it. |
| rpf.md | RPF9 archive layout, the carve tools and the unreadable encrypted TOC. |
| testing.md | Running the GPU tests on your own GPU: setup per OS, wave64 emulation, and known problems. |
Archives and assets
| Document | Measured content |
|---|---|
| models.md | 155,598 models exported to OBJ with bounds, shader index and material keys. |
| textures.md | 308,895 TTPF textures exported; 48,220 skips, mostly BCPack. |
| textures_arrays.md | 678 TTPF array/volume descriptors: 90 tile-mode-9 cubes have a validated 6-slice allocation layout; 588 remain unresolved. |
| animation.md | 130,470 anim.rpf streams, 95.4% readable; 1,126 rig sets / 6,677 source-to-rig entries / 3,669 rigs. |
| navmesh.md | 90,295 navmeshes.rpf streams, 97.5% readable; 0DRP pages, no navmesh-specific magic. |
| bvh.md | 565,596 core_bvh4.rpf streams; 271,627 BVH4 streams and 269,106 instances, prebuilt acceleration data. |
| rbf0.md | 1,263 RBF0 resources, 475,461 elements; UI/Scaleform definitions, not a sectioned container; strict JSON/CSV/XML tree decoder. |
| gamedata.md | common.rpf: 954 streams, 266 XML documents / 118 roots; 0 RBF0/PSIN. |
| gamedata_graph.md | common.rpf mount graph: 25 manifest documents, 30 content-set ids, 14 include refs (12 resolve), 3,386 target refs, 0 cycles. |
| world.md | levels.rpf placement: 9,918 map files / 680,228 entities measured in 55% of the archive (lower bound; estimate 16k-39.6k / 1.03M-2.64M); 0x7a resource layout. |
| world_census.md | Full levels.rpf pass: 23,535 maps / 1,670,442 entities, 98.32% stream coverage, sharded and exact. |
| world_names.md | Name resolution: archetypeName and map name/parent are lower-cased joaat; 64-bit keys are MurmurHash3 x64 low 64. 79,738 local names resolve 8,263/203,799 sampled entities; 5/23,535 map names, all five confirmed by the map 64-bit key. |
| page_directory.md | RPF9 0DRP: 0x60-byte header, q38 16-byte records; 15,768 pages / 60,880 records in data.rpf; targets and sizes, names still TOC-only. |
| psin.md | PSIN metadata container: header, section walk, 671 streams in the script.rpf carve. |
| story.md | story000.rpf 18.65 GiB mixed: 264 Bink 2 streams / 3.33 GB, 225,281 RSC8 headers, 442 nested RPF9; story000_script PSIN, shared_minigame mixed content. |
| restofworld.md | Six rest-of-world/script archives, 1.57 GB total: core_restofworld 1.21 GB (11 Bink 2, 37 models, 958 graphics pages), story000_script PSIN, small appdata0/licences. |
| movies.md | Bink 2 streams and audio tracks; decode through the real loader and Bink2Scarlett.dll. |
Audio
| Document | Measured content |
|---|---|
| audio.md | AWC banks: Opus, PCM and XMA2; lossless Ogg Opus repack and WAV paths. |
| awc_shorts.md | Export short streamed-music idents/stings by duration; stereo-aware, no re-encode. |
| audio_config.md | The music/radio record table: 1,589 records, exact durations, AWC stream ids; no start offsets. |
| radio_stations.md | Audio-config station blocks: 19 records, boundary u32, content-id lists; VCRR 80/80 mapping; no start offsets. |
Runtime, GPU and validation
| Document | Measured content |
|---|---|
| d3d12_vulkan.md | Xbox D3D12 to Vulkan plan and status; device proxy, queues, command lists, barriers, copies. |
| d3d12_xs_surface.md | The 116-slot d3d12_xs.dll export surface; 83/83 standard GUIDs match the PC SDK. |
| d3d12_command_objects.md | Measured command queue/list/fence/PresentX surface; verified vs prior art vs open. |
| runtime_imports.md | The 16 shipped modules' measured imports and shim/host/unimplemented split. |
| pipeline_check.md | Driver-level corpus check: 10/12 shards, 22,092 modules, 2,217 compute pipelines, 0 failures. |
| shader_validation.md | Differential CPU/GPU validation design and the current CPU interpreter prototype. |
| fssm_crosscheck.md | FSSM/RDNA2 facts cross-checked against SCARAB; code starts at code_off + 0x28. |