Files
mandy/docs
Rafael ef54dfbf94 docs/world_census.md: totals from a census that counts each stream once
Re-ran world_census.py on levels.rpf (36 shards, a 1.0.2.1 copy) with the warm-up fix. Map rows,
entities and coverage are unchanged; the stream and byte totals lose the 35 shard boundaries' double
count:

- zlib streams 1,122,614 -> 1,117,857
- stored bytes 75,165,813,806 -> 74,877,281,159, now exactly the accepted stream payload in Coverage
  (an independent, interval-based measure)
- inflated bytes 175,587,890,693 -> 174,941,755,029
- rejected candidates 906 -> 840
- the "adopted continuation streams" row is gone: it counted the double count, not joins

The metadata-streams row now reads 164,914, the census's own meta total and the sum of the
CMapData-only (138,839) and other (26,075) metadata rows further down; it said 165,880.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 5b1f5c5b6e124b0fa28a6e768ef5fabd8e5fc2aa)
2026-11-22 00:33:52 -05:00
..
2026-11-21 22:37:47 -05:00
2026-11-22 00:33:21 -05:00
…
…
2026-11-21 18:37:56 -05:00
2026-11-22 00:33:14 -05:00

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.
character_skeleton.md Character .#ft fragments: the 597-name shared skeleton table (596 joaat32 hashes), the 597-record instance tree with 580 measured parents, and the model-side bone-hash mapping; the reference TRS is not the bind pose.
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. With rpf9_names.py names, 99.85% of the 1,670,435 entities a whole-archive world_index run reads resolve (64-bit verified); 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.
rsc8_audio.md 641,428 RSC8 v8001 resources across 4 archives: 100% AWC tag 0x5c facial/lip-sync crClipDictionary paired with 48 kHz mono Opus dialogue, 0 hidden audio containers.
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.
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; 77 checks on virtual joysticks, not yet tried on a real pad.
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.