mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 18:08:40 +00:00
A CPU-only check of the loop renamed in the previous commit: two per-subresource discards in one list each give their own ranges (mip and layer decoded), a partial discard records none, and a range one past the last subresource is refused. With the loop stopping one short, the test fails at first.size() == 3. docs/d3d12_vulkan.md now lists this and the Resizable BAR detection the test already had. 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, running without a GPU on Mesa llvmpipe, and known problems. |
Archives and assets
| Document | Measured content |
|---|---|
| models.md | 350,248 models at the 917e9b9 pin, including 159,483 drawable-dictionary children; the re-count table is in models.md. |
| resource_names.md | RPF9 named-resource index: bounded-inflate lookup for name.#dr/#ft/#dd without the TOC. |
| 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 (0 unclassified): 9,603 0DRP cover-point 0x7a pages, 27,644 0x00010015 navmesh tiles (136×180 grid), 27,482 Band-3 sparse grids, 22 PSIN. |
| 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. |
| descriptor_lookup_apple.md | M3 Max GPU timings for texture and sampler descriptor lookups at 1k, 10k and 100k live entries. |
| 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. |
| runtime_imports.md | The 16 shipped modules' measured imports and shim/host/unimplemented split. |
| 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: 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. |
| 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. |
| fssm_crosscheck.md | FSSM/RDNA2 facts cross-checked against SCARAB; code starts at code_off + 0x28. |