diff options
| author | docs-recount <docs-recount@local> | 2026-11-22 14:23:37 +0000 |
|---|---|---|
| committer | docs-recount <docs-recount@local> | 2026-11-22 14:23:37 +0000 |
| commit | 6ea07e1b8647c03bcc2bd455744efb4bef46f007 (patch) | |
| tree | df1e98f94ef245fd020260e21297c99341defb27 /docs | |
| parent | 003e78129303643a3fdc9e5f0e31a01b09759236 (diff) | |
docs: correct re-count baseline and mark unmeasured levels geometry
story000_restofworld already recovered its 3 models at 917e9b9, so its delta is 0 and the 917e9b9 baseline is 350,251 models / 159,486 children; the ten-archive delta is +32,530. The levels.rpf fragments/bone-bound/triangles cells have no manifest or harness fields, so they and the totals derived from them are marked not independently reproduced. Add the measured levels.rpf name-pass coverage to world_names.md.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/README.md | 2 | ||||
| -rw-r--r-- | docs/design.md | 2 | ||||
| -rw-r--r-- | docs/models.md | 45 | ||||
| -rw-r--r-- | docs/world_names.md | 4 |
4 files changed, 32 insertions, 21 deletions
diff --git a/docs/README.md b/docs/README.md index 57b9540a3..312911816 100644 --- a/docs/README.md +++ b/docs/README.md | |||
| @@ -17,7 +17,7 @@ method, scope and caveats. No game data is included. | |||
| 17 | 17 | ||
| 18 | | Document | Measured content | | 18 | | Document | Measured content | |
| 19 | |---|---| | 19 | |---|---| |
| 20 | | [models.md](models.md) | 382,781 models (2.64 billion triangles, 0 decode failures) at the `e293917` pin, including 159,511 drawable-dictionary children and 55,417 fragments; the re-count table is in models.md. | | 20 | | [models.md](models.md) | 382,781 models (0 decode failures) at the `e293917` pin, including 159,511 drawable-dictionary children; the other archives measure 4,686 fragments, 30,343 bone-bound and 126,301,454 triangles, while the `levels.rpf` geometry cells are not independently reproduced; the re-count table is in models.md. | |
| 21 | | [models.md](models.md) | 350,251 models at the `917e9b9` pin, including 159,486 drawable-dictionary children; the `e293917` re-count adds 3,203 rows outside `levels.rpf`, almost all recovered fragments; `levels.rpf` recovers 343,327 models (+29,327) but was not fully exported. The per-archive table is in models.md. | | 21 | | [models.md](models.md) | 350,251 models at the `917e9b9` pin, including 159,486 drawable-dictionary children; the `e293917` re-count adds 3,203 rows outside `levels.rpf`, almost all recovered fragments; `levels.rpf` recovers 343,327 models (+29,327) but was not fully exported. The per-archive table is in models.md. | |
| 22 | | [character_models.md](character_models.md) | `packs.rpf` character parts at `e293917`: 26,585 rows / 11,335 unique names, 2,865 fragments (all a flat 25-vertex / 32-triangle 5x5 bounds grid at z=0), Lucia's 22 named records and the decoded 13-part export, the `player_story000_00` drawable set, slot-name token counts, texture coverage (184/215), and what is not decoded (fragment children, ped variation, hair, bind pose). | | 22 | | [character_models.md](character_models.md) | `packs.rpf` character parts at `e293917`: 26,585 rows / 11,335 unique names, 2,865 fragments (all a flat 25-vertex / 32-triangle 5x5 bounds grid at z=0), Lucia's 22 named records and the decoded 13-part export, the `player_story000_00` drawable set, slot-name token counts, texture coverage (184/215), and what is not decoded (fragment children, ped variation, hair, bind pose). | |
| 23 | | [character_skeleton.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, the model-side bone-hash mapping, and the measured vertex joint-index/skin-weight layouts (`tools/skin_streams.py`); the reference TRS is not the bind pose. | | 23 | | [character_skeleton.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, the model-side bone-hash mapping, and the measured vertex joint-index/skin-weight layouts (`tools/skin_streams.py`); the reference TRS is not the bind pose. | |
diff --git a/docs/design.md b/docs/design.md index 9e38cc015..6e90ef546 100644 --- a/docs/design.md +++ b/docs/design.md | |||
| @@ -102,7 +102,7 @@ add a source file, add it to `runtime\CMakeLists.txt` and to the file list in `b | |||
| 102 | | Videos | 797 Bink 2 files (`KB2n`), cut out whole. | `*.bk2` in the carve folders | | 102 | | Videos | 797 Bink 2 files (`KB2n`), cut out whole. | `*.bk2` in the carve folders | |
| 103 | | Shaders | 26,503 carved from `shaders.rpf`, native RDNA2 code unpacked (`FSSM`), disassembled, and translated to SPIR-V; all validate (see *Translator status*). | `<work>\shaders\` (`.dxbc`, `fssm\`, `disasm\`, `spirv\`) | | 103 | | Shaders | 26,503 carved from `shaders.rpf`, native RDNA2 code unpacked (`FSSM`), disassembled, and translated to SPIR-V; all validate (see *Translator status*). | `<work>\shaders\` (`.dxbc`, `fssm\`, `disasm\`, `spirv\`) | |
| 104 | | Textures | **Solved.** Headers are in CPU segments: GPU pointer at q[k], u16 width/height/depth and DXGI format at q[k+4], mip count at byte 2 of q[k+5]. Data is AMD `SW_4K_S` tiled, largest mip first. The GPU segment is the blob run after the CPU blob. On 200 samples, 173 decode at least 1.5× smoother detiled than untiled (median 2.56×). Exports the top mip, slice 0, as DDS. **22,342 exported (1.23 GiB)**: every header whose GPU data follows its CPU blob. World and model textures are handled by the TXD and TTPF exporters below. GPU offsets must be 256-byte aligned, which drops the false headers in `navmeshes`/`anim`. | `tools\tex_headers.py`, `tools\tex_export.py`, `<work>\textures\` | | 104 | | Textures | **Solved.** Headers are in CPU segments: GPU pointer at q[k], u16 width/height/depth and DXGI format at q[k+4], mip count at byte 2 of q[k+5]. Data is AMD `SW_4K_S` tiled, largest mip first. The GPU segment is the blob run after the CPU blob. On 200 samples, 173 decode at least 1.5× smoother detiled than untiled (median 2.56×). Exports the top mip, slice 0, as DDS. **22,342 exported (1.23 GiB)**: every header whose GPU data follows its CPU blob. World and model textures are handled by the TXD and TTPF exporters below. GPU offsets must be 256-byte aligned, which drops the false headers in `navmeshes`/`anim`. | `tools\tex_headers.py`, `tools\tex_export.py`, `<work>\textures\` | |
| 105 | | Models | **Done: 382,781 models measured at the `e293917` pin** (`levels.rpf` 343,327, `packs` 26,585, `story000` 7,461, `data` 3,175, `shared_minigame000` 1,294, `core_restofworld` 936, `story000_restofworld` 3; 0 decode failures across all 382,781 models; **159,511 drawable-dictionary children**, **223,270 standalone**, **55,417 fragments**, **89,887 bone-bound**, **2.64 billion triangles** [`2,636,248,990`], 1,805 embedded textures; 72 unrecovered scan candidates vs 1,282 at `917e9b9`). Earlier baselines: 350,248 at `917e9b9` (159,483 dictionary children, 190,765 standalone) and 190,792 at `c3708fb`; the +32,533 gain at `e293917` comes from upstream `v1.2` PRs #8–#12 (optional fragment pointers, texture-dictionary filtering, probe-cap parity, and zero-radius drawables; see [models.md](models.md)). Exported with `tools\rpf9dump` (built on breadbbbb/rpf9-explorer's Core; see below). Resources are found at page offset +16 after 16 zero bytes, followed by a zlib system blob with a drawable/fragment header and then the following zlib blocks as graphics data. Positions are quantized: `bias + scale * ((q >> 8) & 0xFFFFFF)`. Output is OBJ (positions, UVs, indices) plus a manifest with real model names (e.g. `cvar_int_grg2b_toys_1`), bounds, per-mesh shader index and material texture references (parameter hash, name hash, 64-bit asset key). My earlier `0x1380`/`0x1601` descriptor notes stand, but the "data not located" blocker was wrong. Character skeletons are separate: the shared 597-name `.#ft` table and its model-side bone-hash mapping are in [character_skeleton.md](character_skeleton.md). | `<work>\assets\<archive>\models\` | | 105 | | Models | **Done: 382,781 models measured at the `e293917` pin** (`levels.rpf` 343,327, `packs` 26,585, `story000` 7,461, `data` 3,175, `shared_minigame000` 1,294, `core_restofworld` 936, `story000_restofworld` 3; 0 decode failures across all 382,781 models; **159,511 drawable-dictionary children**, **223,270 standalone**; the other archives measure **4,686 fragments**, **30,343 bone-bound**, **126,301,454 triangles** and 512 embedded textures, while the `levels.rpf` fragments/bone-bound/triangles/embedded cells are **not independently reproduced** (no `levels.rpf` manifest; the count harness emits no such fields); 72 unrecovered scan candidates vs 1,282 at `917e9b9`). Earlier baselines: 350,251 at `917e9b9` (159,486 dictionary children, 190,765 standalone) and 190,792 at `c3708fb`; the +32,530 gain at `e293917` comes from upstream `v1.2` PRs #8–#12 (optional fragment pointers, texture-dictionary filtering, probe-cap parity, and zero-radius drawables; see [models.md](models.md)). Exported with `tools\rpf9dump` (built on breadbbbb/rpf9-explorer's Core; see below). Resources are found at page offset +16 after 16 zero bytes, followed by a zlib system blob with a drawable/fragment header and then the following zlib blocks as graphics data. Positions are quantized: `bias + scale * ((q >> 8) & 0xFFFFFF)`. Output is OBJ (positions, UVs, indices) plus a manifest with real model names (e.g. `cvar_int_grg2b_toys_1`), bounds, per-mesh shader index and material texture references (parameter hash, name hash, 64-bit asset key). My earlier `0x1380`/`0x1601` descriptor notes stand, but the "data not located" blocker was wrong. Character skeletons are separate: the shared 597-name `.#ft` table and its model-side bone-hash mapping are in [character_skeleton.md](character_skeleton.md). | `<work>\assets\<archive>\models\` | |
| 106 | | Models | **Done: 350,251 models measured at the `917e9b9` pin** (the submodule pin is now `e293917`, which also pulls in upstream `v1.2` model-discovery PRs #8-#12 plus BCPack PR #7; the non-`levels.rpf` archives have been re-counted at `e293917`: 39,454 rows, +3,203, almost all recovered fragments; `levels.rpf` has a recovery count of 343,327 models (+29,327) but no full OBJ export). At `917e9b9`: `levels.rpf` 314,000, `story000` 7,460, `packs` 24,034, `data` 2,581, `shared_minigame000` 1,288, `core_restofworld` 885, `story000_restofworld` 3; 0 decode failures in the re-count. The `c3708fb` export was 190,792; the new entries are **159,486 drawable-dictionary children** (levels 130,225, packs 23,720, story 4,156, data 268, shared 317, core 797, story_restofworld 3) plus raw-tail/mixed-block pages. The standalone total is 190,765. Triangle totals were not re-run. Exported with `tools\rpf9dump` (built on breadbbbb/rpf9-explorer's Core; see below). Resources are found at page offset +16 after 16 zero bytes, followed by a zlib system blob with a drawable/fragment header and then the following zlib blocks as graphics data. Positions are quantized: `bias + scale * ((q >> 8) & 0xFFFFFF)`. Output is OBJ (positions, UVs, indices) plus a manifest with real model names (e.g. `cvar_int_grg2b_toys_1`), bounds, per-mesh shader index and material texture references (parameter hash, name hash, 64-bit asset key). My earlier `0x1380`/`0x1601` descriptor notes stand, but the "data not located" blocker was wrong. Character skeletons are separate: the shared 597-name `.#ft` table and its model-side bone-hash mapping are in [character_skeleton.md](character_skeleton.md). | `<work>\assets\<archive>\models\` | | 106 | | Models | **Done: 350,251 models measured at the `917e9b9` pin** (the submodule pin is now `e293917`, which also pulls in upstream `v1.2` model-discovery PRs #8-#12 plus BCPack PR #7; the non-`levels.rpf` archives have been re-counted at `e293917`: 39,454 rows, +3,203, almost all recovered fragments; `levels.rpf` has a recovery count of 343,327 models (+29,327) but no full OBJ export). At `917e9b9`: `levels.rpf` 314,000, `story000` 7,460, `packs` 24,034, `data` 2,581, `shared_minigame000` 1,288, `core_restofworld` 885, `story000_restofworld` 3; 0 decode failures in the re-count. The `c3708fb` export was 190,792; the new entries are **159,486 drawable-dictionary children** (levels 130,225, packs 23,720, story 4,156, data 268, shared 317, core 797, story_restofworld 3) plus raw-tail/mixed-block pages. The standalone total is 190,765. Triangle totals were not re-run. Exported with `tools\rpf9dump` (built on breadbbbb/rpf9-explorer's Core; see below). Resources are found at page offset +16 after 16 zero bytes, followed by a zlib system blob with a drawable/fragment header and then the following zlib blocks as graphics data. Positions are quantized: `bias + scale * ((q >> 8) & 0xFFFFFF)`. Output is OBJ (positions, UVs, indices) plus a manifest with real model names (e.g. `cvar_int_grg2b_toys_1`), bounds, per-mesh shader index and material texture references (parameter hash, name hash, 64-bit asset key). My earlier `0x1380`/`0x1601` descriptor notes stand, but the "data not located" blocker was wrong. Character skeletons are separate: the shared 597-name `.#ft` table and its model-side bone-hash mapping are in [character_skeleton.md](character_skeleton.md). | `<work>\assets\<archive>\models\` | |
| 107 | | Texture dictionaries | Same tool: TXD resources become DDS per texture. | `<work>\assets\<archive>\textures\` | | 107 | | Texture dictionaries | Same tool: TXD resources become DDS per texture. | `<work>\assets\<archive>\textures\` | |
| 108 | | World textures (TTPF) | **Done: 308,895 textures from all 57 pools, 0 failures, 48,220 entries skipped by the original exporter** (33,507 BCPack, 14,030 compact mapping, 678 arrays/volumes, 5 unsupported format, 0 unmapped). The compact-tail tool resolves 14,011 of the 14,030 layouts and reconstructs 305,264 complete chains (206,661 newly complete, 1,100,865 mips, 4.59 GiB), and the multi-slice pass resolves all 697 arrays/cubemaps/volumes ([textures_arrays.md](textures_arrays.md)). BCPack was the hard blocker: `tools/bcpack.py` decodes all six active modes (BC1, BC3, BC4, BC5, BC6H, BC7), and `rpf9dump`'s C# `TtpfReader` (`e293917` pin, `breadbbbb/rpf9-explorer#7`) now decodes compact tails, multi-slice layouts, DXGI 11, and strict BCPack BC1/BC3/BC4/BC5 directly; BC6H/BC7 and provisional-history chunks remain skipped by `rpf9dump` and can be completed by `tools/ttpf_assets.py` ([textures.md](textures.md)). 46 pools are in `data\ttdb\**`, 11 in `pack\<name>\data\ttdb\**` (exported under `ttpf_pack\<pack>\`). `data\ttdb\**\*.ttpf` (57 pools, 58 GiB) are loose RDS5 texture pools, **not** inside RPFs. rpf9-explorer's `TtpfReader` reads the catalog and detiles them; checked visually (`ttdb_graphics`: scope reticles, clean lines). Names are generated (`texture_N_<assetkey>`); models reference textures by asset key. Some rows are skipped; the measured breakdown and next steps are in [textures.md](textures.md). | `<work>\assets\ttpf\<pool>\` + `manifest.json` | | 108 | | World textures (TTPF) | **Done: 308,895 textures from all 57 pools, 0 failures, 48,220 entries skipped by the original exporter** (33,507 BCPack, 14,030 compact mapping, 678 arrays/volumes, 5 unsupported format, 0 unmapped). The compact-tail tool resolves 14,011 of the 14,030 layouts and reconstructs 305,264 complete chains (206,661 newly complete, 1,100,865 mips, 4.59 GiB), and the multi-slice pass resolves all 697 arrays/cubemaps/volumes ([textures_arrays.md](textures_arrays.md)). BCPack was the hard blocker: `tools/bcpack.py` decodes all six active modes (BC1, BC3, BC4, BC5, BC6H, BC7), and `rpf9dump`'s C# `TtpfReader` (`e293917` pin, `breadbbbb/rpf9-explorer#7`) now decodes compact tails, multi-slice layouts, DXGI 11, and strict BCPack BC1/BC3/BC4/BC5 directly; BC6H/BC7 and provisional-history chunks remain skipped by `rpf9dump` and can be completed by `tools/ttpf_assets.py` ([textures.md](textures.md)). 46 pools are in `data\ttdb\**`, 11 in `pack\<name>\data\ttdb\**` (exported under `ttpf_pack\<pack>\`). `data\ttdb\**\*.ttpf` (57 pools, 58 GiB) are loose RDS5 texture pools, **not** inside RPFs. rpf9-explorer's `TtpfReader` reads the catalog and detiles them; checked visually (`ttdb_graphics`: scope reticles, clean lines). Names are generated (`texture_N_<assetkey>`); models reference textures by asset key. Some rows are skipped; the measured breakdown and next steps are in [textures.md](textures.md). | `<work>\assets\ttpf\<pool>\` + `manifest.json` | |
diff --git a/docs/models.md b/docs/models.md index 61b0e9f2b..695662749 100644 --- a/docs/models.md +++ b/docs/models.md | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | Measured state of `tools/rpf9dump models` on the Xbox Series 1.0.2.1 package, and the | 3 | Measured state of `tools/rpf9dump models` on the Xbox Series 1.0.2.1 package, and the |
| 4 | upstream `rpf9-explorer` fixes that close it. The fixes are merged upstream and the submodule is | 4 | upstream `rpf9-explorer` fixes that close it. The fixes are merged upstream and the submodule is |
| 5 | pinned at `e293917`, where a full ten-archive re-count recovers **382,781 models** (**2.64 billion | 5 | pinned at `e293917`, where a full ten-archive re-count recovers **382,781 models** (**0 decode |
| 6 | triangles**, **0 decode failures**), up from 350,248 at `917e9b9` and 190,792 at `c3708fb`. | 6 | failures**), up from 350,251 at `917e9b9` and 190,792 at `c3708fb`. |
| 7 | upstream `rpf9-explorer` fix that closes it. The fix is merged upstream and the submodule is | 7 | upstream `rpf9-explorer` fix that closes it. The fix is merged upstream and the submodule is |
| 8 | pinned at `e293917` (the 350,251-model counts below were measured at `917e9b9`, before | 8 | pinned at `e293917` (the 350,251-model counts below were measured at `917e9b9`, before |
| 9 | upstream `v1.2` PRs #8-#12 landed; the non-`levels.rpf` archives were then re-counted at | 9 | upstream `v1.2` PRs #8-#12 landed; the non-`levels.rpf` archives were then re-counted at |
| @@ -23,8 +23,9 @@ per entry), the TTPF compact/array/cubemap/volume layouts, and the external draw | |||
| 23 | reader. Commits `917e9b9..e293917` add upstream `v1.2` model-discovery changes (PRs #8–#12: | 23 | reader. Commits `917e9b9..e293917` add upstream `v1.2` model-discovery changes (PRs #8–#12: |
| 24 | optional fragment pointers, skipping texture dictionaries in drawable-dictionary scans, 16-bit | 24 | optional fragment pointers, skipping texture dictionaries in drawable-dictionary scans, 16-bit |
| 25 | bone-palette indices, probe-count parity, and zero-radius drawables) plus BCPack BC1/BC3/BC4/BC5 | 25 | bone-palette indices, probe-count parity, and zero-radius drawables) plus BCPack BC1/BC3/BC4/BC5 |
| 26 | decoding (PR #7). A full ten-archive re-count at `e293917` recovers **382,781 models** (**+32,533** | 26 | decoding (PR #7). A full ten-archive re-count at `e293917` recovers **382,781 models** (**+32,530** |
| 27 | over `917e9b9`'s 350,248) and **2,636,248,990 triangles** with **0 decode failures**; the earlier | 27 | over `917e9b9`'s 350,251) with **0 decode failures**; the `levels.rpf` fragment, bone-binding and |
| 28 | triangle cells are not independently reproduced (see the table note), and the earlier | ||
| 28 | `917e9b9`, `c3708fb`, and `48557ea` measurements are kept below as controls. This page records the | 29 | `917e9b9`, `c3708fb`, and `48557ea` measurements are kept below as controls. This page records the |
| 29 | measured state; it is not a competing patch. | 30 | measured state; it is not a competing patch. |
| 30 | decoding (PR #7). The 350,251-model counts below were measured at `917e9b9` and are kept as the | 31 | decoding (PR #7). The 350,251-model counts below were measured at `917e9b9` and are kept as the |
| @@ -63,18 +64,25 @@ effect of upstream `v1.2` PRs #8–#12: | |||
| 63 | | `data.rpf` | 2,921 | **3,175** | 268 | 2,907 | 1,758 | 2,891 | 3,387,016 | 0 | +594 | | 64 | | `data.rpf` | 2,921 | **3,175** | 268 | 2,907 | 1,758 | 2,891 | 3,387,016 | 0 | +594 | |
| 64 | | `pack/shared_minigame000/...` | 1,058 | **1,294** | 317 | 977 | 10 | 18 | 16,843,903 | 0 | +6 | | 65 | | `pack/shared_minigame000/...` | 1,058 | **1,294** | 317 | 977 | 10 | 18 | 16,843,903 | 0 | +6 | |
| 65 | | `pack/core_restofworld/...` | 924 | **936** | 808 | 128 | 53 | 849 | 1,239,596 | 0 | +51 | | 66 | | `pack/core_restofworld/...` | 924 | **936** | 808 | 128 | 53 | 849 | 1,239,596 | 0 | +51 | |
| 66 | | `pack/story000_restofworld/...` | 1 | **3** | 3 | 0 | 0 | 0 | 2,620 | 0 | +3 | | 67 | | `pack/story000_restofworld/...` | 1 | **3** | 3 | 0 | 0 | 0 | 2,620 | 0 | 0 | |
| 67 | | `pack/story000/story000.rpf` | 4,195 | **7,461** | 4,156 | 3,305 | 0 | 0 | 39,861,747 | 0 | +1 | | 68 | | `pack/story000/story000.rpf` | 4,195 | **7,461** | 4,156 | 3,305 | 0 | 0 | 39,861,747 | 0 | +1 | |
| 68 | | `packs.rpf` | 26,389 | **26,585** | 23,720 | 2,865 | 2,865 | 26,585 | 64,966,572 | 0 | +2,551 | | 69 | | `packs.rpf` | 26,389 | **26,585** | 23,720 | 2,865 | 2,865 | 26,585 | 64,966,572 | 0 | +2,551 | |
| 69 | | `levels.rpf` | 235,330 | **343,327** | 130,239 | 213,088 | 50,731 | 59,544 | 2,509,947,536 | 71 | +29,327 | | 70 | | `levels.rpf` | 235,330 | **343,327** | 130,239 | 213,088 | † | † | † | 71 | +29,327 | |
| 70 | | `textures.rpf` | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | | 71 | | `textures.rpf` | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | |
| 71 | | `common.rpf`, `core_restofworld001` | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | 72 | | `common.rpf`, `core_restofworld001` | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 72 | | **Total** | **270,819** | **382,781** | **159,511** | **223,270** | **55,417** | **89,887** | **2,636,248,990** | **72** | **+32,533** | | 73 | | **Total** | **270,819** | **382,781** | **159,511** | **223,270** | **†** | **†** | **†** | **72** | **+32,530** | |
| 74 | |||
| 75 | † `levels.rpf` was counted with `count.exe recover --verify`, which reports candidates, models, | ||
| 76 | dictionary children, standalone models, rejects and decode failures only: no `levels.rpf` manifest | ||
| 77 | exists and the harness emits no fragment, bone-binding or triangle field. Those three `levels.rpf` | ||
| 78 | cells, and the totals that would include them, are therefore **not independently reproduced**. The | ||
| 79 | other archives measure 4,686 fragments, 30,343 bone-bound and 126,301,454 triangles. | ||
| 73 | 80 | ||
| 74 | Every recovered entry was read back from its archive segments and decoded through | 81 | Every recovered entry was read back from its archive segments and decoded through |
| 75 | `RageModelDecoder.Decode`: **382,781 / 382,781 decoded, 0 decode failures**, **4,090,898 meshes**, | 82 | `RageModelDecoder.Decode`: **382,781 / 382,781 decoded, 0 decode failures**. The other archives |
| 76 | **2,468,402,149 vertices**, **2,636,248,990 triangles (2.64 billion)**, and **1,805 embedded | 83 | measure **236,311 meshes**, **104,183,438 vertices**, **126,301,454 triangles** and **512 embedded |
| 77 | textures**. | 84 | textures**; the `levels.rpf` mesh/vertex/triangle/embedded cells are not independently reproduced |
| 85 | (see the table note). | ||
| 78 | 86 | ||
| 79 | What moved between `917e9b9` and `e293917`: | 87 | What moved between `917e9b9` and `e293917`: |
| 80 | 88 | ||
| @@ -89,13 +97,13 @@ What moved between `917e9b9` and `e293917`: | |||
| 89 | `data.rpf` (75 → 0), `core_restofworld` (140 → 0), and `shared_minigame000` (18 → 0). Only one | 97 | `data.rpf` (75 → 0), `core_restofworld` (140 → 0), and `shared_minigame000` (18 → 0). Only one |
| 90 | texture-dictionary candidate remains across all ten archives (in `textures.rpf`; rejected cleanly, | 98 | texture-dictionary candidate remains across all ten archives (in `textures.rpf`; rejected cleanly, |
| 91 | and recovered by `Rpf9TextureRecovery`). | 99 | and recovered by `Rpf9TextureRecovery`). |
| 92 | - **Probe caps and zero-radius drawables (+28 dictionary children plus capped standalones).** | 100 | - **Probe caps and zero-radius drawables (+25 dictionary children plus capped standalones).** |
| 93 | Upstream [rpf9-explorer#11](https://github.com/breadbbbb/rpf9-explorer/pull/11) recovers the 29 | 101 | Upstream [rpf9-explorer#11](https://github.com/breadbbbb/rpf9-explorer/pull/11) recovers the 29 |
| 94 | previously capped candidates (+1 in `story000.rpf`, and +14 dictionary children plus capped | 102 | previously capped candidates (+1 in `story000.rpf`, and +14 dictionary children plus capped |
| 95 | standalones in `levels.rpf`). Upstream | 103 | standalones in `levels.rpf`). Upstream |
| 96 | [rpf9-explorer#12](https://github.com/breadbbbb/rpf9-explorer/pull/12) recovers all 11 zero-radius | 104 | [rpf9-explorer#12](https://github.com/breadbbbb/rpf9-explorer/pull/12) recovers all 11 zero-radius |
| 97 | dictionary children in `core_restofworld` (797 → 808) and 1 drawable dictionary (3 models) in | 105 | dictionary children in `core_restofworld` (797 → 808); `story000_restofworld.rpf` already |
| 98 | `story000_restofworld.rpf`, which previously recovered 0 models. | 106 | recovered its 3 models at `917e9b9`, so its delta is 0. |
| 99 | - **Remaining 72 rejects (down from 1,282 at `917e9b9`).** Aside from the single texture-dictionary | 107 | - **Remaining 72 rejects (down from 1,282 at `917e9b9`).** Aside from the single texture-dictionary |
| 100 | candidate in `textures.rpf`, all 71 remaining rejects are in `levels.rpf` (0 texture dictionaries, | 108 | candidate in `textures.rpf`, all 71 remaining rejects are in `levels.rpf` (0 texture dictionaries, |
| 101 | 0 zlib checksum errors). Sampled headers are fragment candidates (`LooksLikeFragment == true`) | 109 | 0 zlib checksum errors). Sampled headers are fragment candidates (`LooksLikeFragment == true`) |
| @@ -165,7 +173,7 @@ pages. `core_restofworld` recovers 873 of its 1,024 candidates (885 models); the | |||
| 165 | models**, 130,225 dictionary children, 183,775 standalone. 1,037 candidates are rejected: the | 173 | models**, 130,225 dictionary children, 183,775 standalone. 1,037 candidates are rejected: the |
| 166 | 1,009 in the last shard are texture dictionaries, not models, and 28 more in shards 1 to 7 are | 174 | 1,009 in the last shard are texture dictionaries, not models, and 28 more in shards 1 to 7 are |
| 167 | models the probe caps reject (see [rejected candidates](#rejected-candidates-at-917e9b9)). The | 175 | models the probe caps reject (see [rejected candidates](#rejected-candidates-at-917e9b9)). The |
| 168 | `levels.rpf` full export was not re-run, so its triangle total is still the old measurement. | 176 | `levels.rpf` full export was not re-run, so its triangle total is not re-run here. |
| 169 | 177 | ||
| 170 | ### Rejected candidates at `917e9b9` | 178 | ### Rejected candidates at `917e9b9` |
| 171 | 179 | ||
| @@ -250,9 +258,9 @@ The rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re- | |||
| 250 | and the `e293917` re-count outside `levels.rpf` is 39,454. Triangle totals have not been re-run at | 258 | and the `e293917` re-count outside `levels.rpf` is 39,454. Triangle totals have not been re-run at |
| 251 | either new pin. | 259 | either new pin. |
| 252 | 24,034 models (26,585 at `e293917`), and the other archives' counts are in the tables above. The | 260 | 24,034 models (26,585 at `e293917`), and the other archives' counts are in the tables above. The |
| 253 | rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re-count is 350,248. | 261 | rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re-count is 350,251. |
| 254 | Triangle totals for that pin have not been re-run; the current `e293917` totals are in the | 262 | Triangle totals for that pin have not been re-run; the `e293917` `levels.rpf` geometry cells are |
| 255 | full-archive table above. | 263 | not independently reproduced (see the table note above). |
| 256 | 264 | ||
| 257 | At `c3708fb`, every candidate is recovered, read back and decoded: 0 decode failures, 0 readback | 265 | At `c3708fb`, every candidate is recovered, read back and decoded: 0 decode failures, 0 readback |
| 258 | failures, no duplicate model names, and 2.22 billion triangles (1.95 billion before). The | 266 | failures, no duplicate model names, and 2.22 billion triangles (1.95 billion before). The |
| @@ -505,7 +513,8 @@ own light bones). | |||
| 505 | 1. **Done:** [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is merged upstream. | 513 | 1. **Done:** [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is merged upstream. |
| 506 | 2. **Done:** the pin is `e293917` (was `917e9b9`, originally `48557ea`). | 514 | 2. **Done:** the pin is `e293917` (was `917e9b9`, originally `48557ea`). |
| 507 | 3. **Done:** all ten `MODEL_ARCHIVES` were re-counted and read-back decoded at `e293917` (**382,781 | 515 | 3. **Done:** all ten `MODEL_ARCHIVES` were re-counted and read-back decoded at `e293917` (**382,781 |
| 508 | models**, **2,636,248,990 triangles**, **0 decode failures**; table above). | 516 | models**, **0 decode failures**; table above; the `levels.rpf` geometry cells are not |
| 517 | independently reproduced). | ||
| 509 | 4. Investigate the 71 remaining unrecovered fragment candidates in `levels.rpf` (and the 1 | 518 | 4. Investigate the 71 remaining unrecovered fragment candidates in `levels.rpf` (and the 1 |
| 510 | texture-dictionary candidate in `textures.rpf`) if further upstream recovery is wanted. | 519 | texture-dictionary candidate in `textures.rpf`) if further upstream recovery is wanted. |
| 511 | 5. Keep issue #29 in sync with the `e293917` counts. | 520 | 5. Keep issue #29 in sync with the `e293917` counts. |
diff --git a/docs/world_names.md b/docs/world_names.md index 80f572583..bd0a83b0d 100644 --- a/docs/world_names.md +++ b/docs/world_names.md | |||
| @@ -67,7 +67,9 @@ formula is proven by every resolved entry. | |||
| 67 | 67 | ||
| 68 | The windows above use only names that were already exported locally. The names of almost all the other | 68 | The windows above use only names that were already exported locally. The names of almost all the other |
| 69 | archetypes are in `levels.rpf` itself: `tools/rpf9_names.py` lists the `name.#dr` and `name.#ft` strings of every | 69 | archetypes are in `levels.rpf` itself: `tools/rpf9_names.py` lists the `name.#dr` and `name.#ft` strings of every |
| 70 | stream, and with that list as the dictionary nearly every placement resolves. Whole `levels.rpf`, one | 70 | stream. A full pass over the data area (76.15 GB, 5,255 s) inflates 1,116,073 zlib streams (98.32% of |
| 71 | compressed bytes) and finds 235,814 named streams / 318,266 unique names (267,463 `.#dr`, 50,803 `.#ft`); | ||
| 72 | with that list as the dictionary nearly every placement resolves. Whole `levels.rpf`, one | ||
| 71 | `world_index.py --archetypes-out` run (23,532 placement maps and 1,670,435 entities: 3 maps and 7 entities fewer | 73 | `world_index.py --archetypes-out` run (23,532 placement maps and 1,670,435 entities: 3 maps and 7 entities fewer |
| 72 | than the census in [world.md](world.md#how-many-are-there), which also joins the raw continuation page that 3 | 74 | than the census in [world.md](world.md#how-many-are-there), which also joins the raw continuation page that 3 |
| 73 | placement maps use and `world_index.py` does not; 228,681 distinct `archetypeName` hashes, one 64-bit key per hash, no conflicting keys, | 75 | placement maps use and `world_index.py` does not; 228,681 distinct `archetypeName` hashes, one 64-bit key per hash, no conflicting keys, |