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:
authorKam471 <115741199+Kam471@users.noreply.github.com>2026-11-22 12:24:13 +0000
committerKam471 <115741199+Kam471@users.noreply.github.com>2026-11-22 12:24:13 +0000
commit76e5e8ef8b2800da2d22964b2214000e2ee0afed (patch)
treea1aed399dba990dd03deb1dd2941a5b839cca5cc /docs/models.md
parent3bf713f0b0259f5e0ad5cdbbb40ee7f5514f23bc (diff)
docs: correct the 917e9b9 baseline for story000_restofworld (3 models, not 0)
Diffstat (limited to 'docs/models.md')
-rw-r--r--docs/models.md24
1 files changed, 13 insertions, 11 deletions
diff --git a/docs/models.md b/docs/models.md
index 823c5ded6..d35801a99 100644
--- a/docs/models.md
+++ b/docs/models.md
@@ -2,7 +2,7 @@
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` fix that closes it. The fix is merged upstream and the submodule is 4upstream `rpf9-explorer` fix that closes it. The fix is merged upstream and the submodule is
5pinned at `e293917` (the 350,248-model counts below were measured at `917e9b9`, before 5pinned at `e293917` (the 350,251-model counts below were measured at `917e9b9`, before
6upstream `v1.2` PRs #8-#12 landed; the non-`levels.rpf` archives were then re-counted at 6upstream `v1.2` PRs #8-#12 landed; the non-`levels.rpf` archives were then re-counted at
7`e293917`). 7`e293917`).
8 8
@@ -20,7 +20,7 @@ per entry), the TTPF compact/array/cubemap/volume layouts, and the external draw
20reader. Commits `917e9b9..e293917` add upstream `v1.2` model-discovery changes (PRs #8–#12: 20reader. Commits `917e9b9..e293917` add upstream `v1.2` model-discovery changes (PRs #8–#12:
21optional fragment pointers, skipping texture dictionaries in drawable-dictionary scans, 16-bit 21optional fragment pointers, skipping texture dictionaries in drawable-dictionary scans, 16-bit
22bone-palette indices, probe-count parity, and zero-radius drawables) plus BCPack BC1/BC3/BC4/BC5 22bone-palette indices, probe-count parity, and zero-radius drawables) plus BCPack BC1/BC3/BC4/BC5
23decoding (PR #7). The 350,248-model counts below were measured at `917e9b9` and are kept as the 23decoding (PR #7). The 350,251-model counts below were measured at `917e9b9` and are kept as the
24control; the `e293917` re-count for the non-`levels.rpf` archives is in the table below. This page 24control; the `e293917` re-count for the non-`levels.rpf` archives is in the table below. This page
25records both, and is not a competing patch. 25records both, and is not a competing patch.
26 26
@@ -59,8 +59,9 @@ entries are dictionary children.
59| `pack/story000/story000.rpf` | 4,195 | **7,460** | 4,156 | 3,304 | 59| `pack/story000/story000.rpf` | 4,195 | **7,460** | 4,156 | 3,304 |
60| `packs.rpf` | 23,838 | **24,034** | 23,720 | 314 | 60| `packs.rpf` | 23,838 | **24,034** | 23,720 | 314 |
61| `levels.rpf` | 206,981 | **314,000** | 130,225 | 183,801 | 61| `levels.rpf` | 206,981 | **314,000** | 130,225 | 183,801 |
62| `common`, `textures`, `story000_restofworld`, `core_restofworld001` | 0 | 0 | 0 | 0 | 62| `story000_restofworld` | 1 | **3** | 3 | 0 |
63| **Total** | **239,510** | **350,248** | **159,483** | **190,792** | 63| `common`, `textures`, `story000_script`, `core_restofworld001` | 0 | 0 | 0 | 0 |
64| **Total** | **239,511** | **350,251** | **159,486** | **190,792** |
64 65
65### Re-count at `e293917` 66### Re-count at `e293917`
66 67
@@ -74,20 +75,21 @@ local; `levels.rpf` was not re-exported):
74| `pack/shared_minigame000/...` | **1,294** | 1,284 | 10 | +6 | 75| `pack/shared_minigame000/...` | **1,294** | 1,284 | 10 | +6 |
75| `pack/core_restofworld/...` | **936** | 883 | 53 | +51 | 76| `pack/core_restofworld/...` | **936** | 883 | 53 | +51 |
76| `pack/story000/story000.rpf` | **7,461** | 7,461 | 0 | +1 | 77| `pack/story000/story000.rpf` | **7,461** | 7,461 | 0 | +1 |
77| `story000_restofworld` | **3** | 3 | 0 | +3 | 78| `story000_restofworld` | **3** | 3 | 0 | 0 |
78| `common`, `textures`, `story000_script`, `core_restofworld001` | 0 | 0 | 0 | 0 | 79| `common`, `textures`, `story000_script`, `core_restofworld001` | 0 | 0 | 0 | 0 |
79| **Total, excluding `levels.rpf`** | **39,454** | **34,768** | **4,686** | **+3,206** | 80| **Total, excluding `levels.rpf`** | **39,454** | **34,768** | **4,686** | **+3,203** |
80| `levels.rpf` | not re-exported | - | - | - | 81| `levels.rpf` | not re-exported | - | - | - |
81 82
82The gain is fragments: upstream `v1.2` PRs #8-#12 recover zero-radius fragments that the earlier 83The gain is fragments: upstream `v1.2` PRs #8-#12 recover zero-radius fragments that the earlier
83export skipped (2,551 in `packs.rpf`, 594 in `data.rpf`), plus one drawable in `story000` and three 84export skipped (2,551 in `packs.rpf`, 594 in `data.rpf`), plus one drawable in `story000`.
84in `story000_restofworld`. `levels.rpf` and the triangle totals were not re-run. 85`story000_restofworld` has the same 3 models at both pins, so its delta is 0. `levels.rpf` and the
86triangle totals were not re-run.
85 87
86The last column is the `c3708fb` recovery for comparison. `story000`'s standalone count is 88The last column is the `c3708fb` recovery for comparison. `story000`'s standalone count is
873,304 vs 3,305; the full new-pin standalone total is 190,765, 27 below the `c3708fb` 190,792. 893,304 vs 3,305; the full new-pin standalone total is 190,765, 27 below the `c3708fb` 190,792.
88Those 27 are not merged duplicates: they are the 27 models with more than 256 geometries that the 90Those 27 are not merged duplicates: they are the 27 models with more than 256 geometries that the
89probe rejects at `917e9b9` (26 in `levels.rpf`, 1 in `story000`; see 91probe rejects at `917e9b9` (26 in `levels.rpf`, 1 in `story000`; see
90[rejected candidates](#rejected-candidates-at-917e9b9)). The new entries are **159,483 92[rejected candidates](#rejected-candidates-at-917e9b9)). The new entries are **159,486
91drawable-dictionary children**: one model per embedded drawable in a dictionary root, not new 93drawable-dictionary children**: one model per embedded drawable in a dictionary root, not new
92pages. `core_restofworld` recovers 873 of its 1,024 candidates (885 models); the 151 rejects are 94pages. `core_restofworld` recovers 873 of its 1,024 candidates (885 models); the 151 rejects are
93140 texture dictionaries and 11 drawable dictionaries whose drawable has radius 0. 95140 texture dictionaries and 11 drawable dictionaries whose drawable has radius 0.
@@ -177,7 +179,7 @@ reproduced the ten-archive total. The `48557ea` column is the pre-fix control:
177 179
178The `packs.rpf` row is the pre-dictionary-root control: at `917e9b9` that archive recovers 180The `packs.rpf` row is the pre-dictionary-root control: at `917e9b9` that archive recovers
17924,034 models (26,585 at `e293917`), and the other archives' new-pin counts are in the table above. 18124,034 models (26,585 at `e293917`), and the other archives' new-pin counts are in the table above.
180The rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re-count is 350,248, 182The rows here are the `c3708fb` measurements (190,792 models); the `917e9b9` re-count is 350,251,
181and the `e293917` re-count outside `levels.rpf` is 39,454. Triangle totals have not been re-run at 183and the `e293917` re-count outside `levels.rpf` is 39,454. Triangle totals have not been re-run at
182either new pin. 184either new pin.
183 185
@@ -428,6 +430,6 @@ own light bones).
4281. **Done:** [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is merged upstream. 4301. **Done:** [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is merged upstream.
4292. **Done:** the pin is `e293917` (was `917e9b9`, originally `48557ea`). 4312. **Done:** the pin is `e293917` (was `917e9b9`, originally `48557ea`).
4303. **Done:** `tools/rpf9dump models` was re-run over the model-bearing archives at `e293917`; 4323. **Done:** `tools/rpf9dump models` was re-run over the model-bearing archives at `e293917`;
431 the six non-`levels.rpf` archives total 39,454 rows (+3,206, almost all recovered fragments). 433 the six non-`levels.rpf` archives total 39,454 rows (+3,203, almost all recovered fragments).
432 `levels.rpf` and the triangle totals were not re-run. 434 `levels.rpf` and the triangle totals were not re-run.
4334. Keep the README and issue #29 in sync with the new counts. 4354. Keep the README and issue #29 in sync with the new counts.