upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-21 18:37:57 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-21 18:37:57 -0500
commit99f39062e3d418db1bdcdfe354cf0e69900a9a9d (patch)
tree9431d8faafff292f4ffcc46d92b525e1bffa30a3 /docs
parent18e10d95f2689d9a4e81339d4bfa5e2b333c7128 (diff)
parenta94e30d3a9a223590a22efec383a80d015857612 (diff)
Merge pull request #347 from Kam471
Diffstat (limited to 'docs')
-rw-r--r--docs/models.md46
1 files changed, 34 insertions, 12 deletions
diff --git a/docs/models.md b/docs/models.md
index e47054fdf..e3117f215 100644
--- a/docs/models.md
+++ b/docs/models.md
@@ -11,20 +11,22 @@ dropped valid models in three validation paths, all in `third_party/rpf9-explore
11 11
12[Leonida issue #29](https://github.com/ItsNotRexed/Leonida/issues/29) tracks this work. The decoder 12[Leonida issue #29](https://github.com/ItsNotRexed/Leonida/issues/29) tracks this work. The decoder
13fix in [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is at head 13fix in [rpf9-explorer PR #1](https://github.com/breadbbbb/rpf9-explorer/pull/1) is at head
14`c3708fb` and has now been independently validated on the package in the scopes below. It is 14`c3708fb` and has now been validated on the package, including a full ten-archive pass; details
15awaiting upstream merge and a submodule pin bump. This page records the pre-PR gap, the independent 15below. It is awaiting upstream merge and a submodule pin bump. This page records the pre-PR gap, the
16validation, and the scope caveat; it is not a competing patch. 16independent validation, and the scope caveat; it is not a competing patch.
17 17
18PR #1 reports 190,792 of 190,792 recognized candidates across the ten archives configured in 18PR #1 reports 190,792 of 190,792 recognized candidates across the ten archives configured in
19Leonida, including 169 previously rejected candidates (also verified after archive readback). That 19Leonida, including 169 previously rejected candidates (also verified after archive readback). A
20ten-archive total was not independently reproduced here. Issue #29's run uses its own 20later full-archive run at the same head independently reproduced the ten-archive total: 190,792
21recognized-candidate set and covers primary-LOD geometry; the pre-fix counts below use 21candidates, 190,792 recovered, read back and decoded, 0 decode or readback failures, no duplicate
22`rpf9dump`'s page-scan candidates and export every recovered drawable/LOD variant. The two sets are 22model names, and 2.22 billion triangles (the pre-fix export was 155,598 models / 1.95 billion
23different scopes, not contradictory. 23triangles). Issue #29's run uses its own recognized-candidate set and covers primary-LOD geometry;
24the pre-fix counts below use `rpf9dump`'s page-scan candidates and export every recovered
25drawable/LOD variant. The two sets are different scopes, not contradictory.
24 26
25## Independent validation 27## Independent validation
26 28
27Validated at PR #1 head `c3708fb` with .NET 8.0.428 on the real package: 29Scoped validation at PR #1 head `c3708fb` with .NET 8.0.428 on the real package:
28 30
29| Scope | Candidates | Recovered | Rejects | Readback | 31| Scope | Candidates | Recovered | Rejects | Readback |
30|---|---:|---:|---:|---:| 32|---|---:|---:|---:|---:|
@@ -39,9 +41,29 @@ stems. All 963 pre-PR misses were recovered, and all 1,350 pre-PR OBJs were byte
39pre-PR versions. The PR smoke test passes; v1/v2 cache round-trip and two raw-segment entries were 41pre-PR versions. The PR smoke test passes; v1/v2 cache round-trip and two raw-segment entries were
40verified. 42verified.
41 43
42Caveat: the full 76 GB `levels.rpf` and the other seven archives were not scanned, so the exact 44Caveat: this scoped run did not scan the full `levels.rpf`; the full pass below covers it. The
43ten-archive 190,792/190,792 and 169/169 claims were not independently reproduced. No counterexample 45`data.rpf` OBJ text is the only byte-identical file comparison; the full pass counted decoded
44appeared in the tested scopes. A scoped validation comment was posted on PR #1. 46models, not OBJ bytes. No counterexample appeared in the tested scopes.
47
48### Full-archive run
49
50A full pass at the same head over `levels.rpf` (70.9 GiB) and the other model-bearing archives
51reproduced the ten-archive total. The `48557ea` column is the pre-fix control:
52
53| Archive | Candidates | `48557ea` | `c3708fb` |
54|---|---:|---:|---:|
55| `levels.rpf` (full, 70.9 GiB) | 183,801 | 149,811 | **183,801** |
56| `pack/story000/story000.rpf` | 3,305 | 3,303 | **3,305** |
57| `data.rpf` | 2,313 | 1,350 | **2,313** |
58| `pack/shared_minigame000/shared_minigame000.rpf` | 971 | 783 | **971** |
59| `packs.rpf` | 314 | 314 | 314 |
60| `pack/core_restofworld/core_restofworld.rpf` | 88 | 37 | **88** |
61| `common`, `textures`, `story000_restofworld`, `core_restofworld001` | 0 | 0 | 0 |
62| **Total** | **190,792** | **155,598** | **190,792** |
63
64At `c3708fb`, every candidate is recovered, read back and decoded: 0 decode failures, 0 readback
65failures, no duplicate model names, and 2.22 billion triangles (1.95 billion before). The
66169-candidate subset is a different scope and was not isolated here.
45 67
46## How the exporter works 68## How the exporter works
47 69