upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/models.md
diff options
context:
space:
mode:
authordocs-recount <docs-recount@local>2026-11-22 14:23:37 +0000
committerdocs-recount <docs-recount@local>2026-11-22 14:23:37 +0000
commit6ea07e1b8647c03bcc2bd455744efb4bef46f007 (patch)
treedf1e98f94ef245fd020260e21297c99341defb27 /docs/models.md
parent003e78129303643a3fdc9e5f0e31a01b09759236 (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/models.md')
-rw-r--r--docs/models.md45
1 files changed, 27 insertions, 18 deletions
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
3Measured state of `tools/rpf9dump models` on the Xbox Series 1.0.2.1 package, and the 3Measured state of `tools/rpf9dump models` on the Xbox Series 1.0.2.1 package, and the
4upstream `rpf9-explorer` fixes that close it. The fixes are merged upstream and the submodule is 4upstream `rpf9-explorer` fixes that close it. The fixes are merged upstream and the submodule is
5pinned at `e293917`, where a full ten-archive re-count recovers **382,781 models** (**2.64 billion 5pinned at `e293917`, where a full ten-archive re-count recovers **382,781 models** (**0 decode
6triangles**, **0 decode failures**), up from 350,248 at `917e9b9` and 190,792 at `c3708fb`. 6failures**), up from 350,251 at `917e9b9` and 190,792 at `c3708fb`.
7upstream `rpf9-explorer` fix that closes it. The fix is merged upstream and the submodule is 7upstream `rpf9-explorer` fix that closes it. The fix is merged upstream and the submodule is
8pinned at `e293917` (the 350,251-model counts below were measured at `917e9b9`, before 8pinned at `e293917` (the 350,251-model counts below were measured at `917e9b9`, before
9upstream `v1.2` PRs #8-#12 landed; the non-`levels.rpf` archives were then re-counted at 9upstream `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
23reader. Commits `917e9b9..e293917` add upstream `v1.2` model-discovery changes (PRs #8–#12: 23reader. Commits `917e9b9..e293917` add upstream `v1.2` model-discovery changes (PRs #8–#12:
24optional fragment pointers, skipping texture dictionaries in drawable-dictionary scans, 16-bit 24optional fragment pointers, skipping texture dictionaries in drawable-dictionary scans, 16-bit
25bone-palette indices, probe-count parity, and zero-radius drawables) plus BCPack BC1/BC3/BC4/BC5 25bone-palette indices, probe-count parity, and zero-radius drawables) plus BCPack BC1/BC3/BC4/BC5
26decoding (PR #7). A full ten-archive re-count at `e293917` recovers **382,781 models** (**+32,533** 26decoding (PR #7). A full ten-archive re-count at `e293917` recovers **382,781 models** (**+32,530**
27over `917e9b9`'s 350,248) and **2,636,248,990 triangles** with **0 decode failures**; the earlier 27over `917e9b9`'s 350,251) with **0 decode failures**; the `levels.rpf` fragment, bone-binding and
28triangle 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
29measured state; it is not a competing patch. 30measured state; it is not a competing patch.
30decoding (PR #7). The 350,251-model counts below were measured at `917e9b9` and are kept as the 31decoding (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,
76dictionary children, standalone models, rejects and decode failures only: no `levels.rpf` manifest
77exists and the harness emits no fragment, bone-binding or triangle field. Those three `levels.rpf`
78cells, and the totals that would include them, are therefore **not independently reproduced**. The
79other archives measure 4,686 fragments, 30,343 bone-bound and 126,301,454 triangles.
73 80
74Every recovered entry was read back from its archive segments and decoded through 81Every 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 83measure **236,311 meshes**, **104,183,438 vertices**, **126,301,454 triangles** and **512 embedded
77textures**. 84textures**; the `levels.rpf` mesh/vertex/triangle/embedded cells are not independently reproduced
85(see the table note).
78 86
79What moved between `917e9b9` and `e293917`: 87What 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
165models**, 130,225 dictionary children, 183,775 standalone. 1,037 candidates are rejected: the 173models**, 130,225 dictionary children, 183,775 standalone. 1,037 candidates are rejected: the
1661,009 in the last shard are texture dictionaries, not models, and 28 more in shards 1 to 7 are 1741,009 in the last shard are texture dictionaries, not models, and 28 more in shards 1 to 7 are
167models the probe caps reject (see [rejected candidates](#rejected-candidates-at-917e9b9)). The 175models 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-
250and the `e293917` re-count outside `levels.rpf` is 39,454. Triangle totals have not been re-run at 258and the `e293917` re-count outside `levels.rpf` is 39,454. Triangle totals have not been re-run at
251either new pin. 259either new pin.
25224,034 models (26,585 at `e293917`), and the other archives' counts are in the tables above. The 26024,034 models (26,585 at `e293917`), and the other archives' counts are in the tables above. The
253rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re-count is 350,248. 261rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re-count is 350,251.
254Triangle totals for that pin have not been re-run; the current `e293917` totals are in the 262Triangle totals for that pin have not been re-run; the `e293917` `levels.rpf` geometry cells are
255full-archive table above. 263not independently reproduced (see the table note above).
256 264
257At `c3708fb`, every candidate is recovered, read back and decoded: 0 decode failures, 0 readback 265At `c3708fb`, every candidate is recovered, read back and decoded: 0 decode failures, 0 readback
258failures, no duplicate model names, and 2.22 billion triangles (1.95 billion before). The 266failures, no duplicate model names, and 2.22 billion triangles (1.95 billion before). The
@@ -505,7 +513,8 @@ own light bones).
5051. **Done:** [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is merged upstream. 5131. **Done:** [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is merged upstream.
5062. **Done:** the pin is `e293917` (was `917e9b9`, originally `48557ea`). 5142. **Done:** the pin is `e293917` (was `917e9b9`, originally `48557ea`).
5073. **Done:** all ten `MODEL_ARCHIVES` were re-counted and read-back decoded at `e293917` (**382,781 5153. **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).
5094. Investigate the 71 remaining unrecovered fragment candidates in `levels.rpf` (and the 1 5184. 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.
5115. Keep issue #29 in sync with the `e293917` counts. 5205. Keep issue #29 in sync with the `e293917` counts.