[PR #347] MODEL-71: bump rpf9-explorer to af54933, recover 71 fragment candidates #398

Open
opened 2026-11-26 20:17:45 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/347
Author: @Tioloff
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: model-71-pin-rpf9


📝 Commits (1)

  • d49949f MODEL-71: bump rpf9-explorer to af54933, recover 71 fragment candidates

📊 Changes

4 files changed (+59 additions, -30 deletions)

View changed files

📝 docs/README.md (+1 -1)
📝 docs/design.md (+1 -1)
📝 docs/models.md (+56 -27)
📝 third_party/rpf9-explorer (+1 -1)

📄 Description

MODEL-71

Bump third_party/rpf9-explorer from e293917 to upstream af54933, which recovers the 71 fragment candidates in levels.rpf that the pinned decoder rejected.

Root cause

This is not a Leonida decoder bug — the fixes are already merged upstream. The pin predates upstream commit 549c69c (64 candidates), rpf9-explorer#26 (1 candidate: in-range but truncated secondary-LOD palette hashes) and rpf9-explorer#30 (6 candidates: a sole child drawable selected when a fragment's primary drawable is empty). The claim was posted in the coordination issue before starting.

Changes

  • third_party/rpf9-explorer: e293917 → af54933
  • docs/models.md, docs/README.md, docs/design.md: current counts; the e293917 tables are kept as historical controls

Full ten-archive re-count (fresh candidate scan + recovery, no index cache)

Archive Candidates Models Rejects
data.rpf 2,921 3,175 0
shared_minigame000 1,060 1,296 0
core_restofworld 924 936 0
story000_restofworld 1 3 0
story000.rpf 4,195 7,461 0
packs.rpf 27,288 27,484 0
levels.rpf 235,580 343,648 0
textures.rpf 1 0 1
common, core_restofworld001 0 0 0
Total 271,970 384,003 1

levels.rpf: 343,327 → 343,648 models, 71 → 0 rejects. All ten: 382,781 → 384,003 models, 72 → 1 reject (the texture dictionary in textures.rpf, handled by Rpf9TextureRecovery). The levels.rpf row matches the full re-count in upstream PR #30; the other nine archives were counted locally.

Validation

  • dotnet build tools/rpf9dump/rpf9dump.csproj -c Release — 0 warnings, 0 errors
  • dotnet run --project tests/Rpf9DumpDiagnostics/Rpf9DumpDiagnostics.csproj -c Release — all smoke tests passed
  • python -m compileall -q make_game.py tools tests — OK
  • python -I tests/test_make_game_assets_decoder.py — 5 tests OK
  • python -I tests/test_text_write_line_endings.py — 3 tests OK
  • python -I scripts/check_no_game_data.py . — exit 0
  • git diff --check — clean

No game data, no GPU needed. AI-assisted. Tested on Windows 11 Pro, .NET 8 / 10 Release, AMD Radeon RX 6600 (RDNA2), driver 26.11.2; the GPU was not exercised by these checks.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/347 **Author:** [@Tioloff](https://github.com/Tioloff) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `model-71-pin-rpf9` --- ### 📝 Commits (1) - [`d49949f`](https://github.com/ubiquitarianism/leonida/commit/d49949f68496643ed1e8767879b75ced50d900ac) MODEL-71: bump rpf9-explorer to af54933, recover 71 fragment candidates ### 📊 Changes **4 files changed** (+59 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `docs/README.md` (+1 -1) 📝 `docs/design.md` (+1 -1) 📝 `docs/models.md` (+56 -27) 📝 `third_party/rpf9-explorer` (+1 -1) </details> ### 📄 Description ## MODEL-71 Bump `third_party/rpf9-explorer` from `e293917` to upstream `af54933`, which recovers the 71 fragment candidates in `levels.rpf` that the pinned decoder rejected. ### Root cause This is not a Leonida decoder bug — the fixes are already merged upstream. The pin predates upstream commit `549c69c` (64 candidates), [rpf9-explorer#26](https://github.com/breadbbbb/rpf9-explorer/pull/26) (1 candidate: in-range but truncated secondary-LOD palette hashes) and [rpf9-explorer#30](https://github.com/breadbbbb/rpf9-explorer/pull/30) (6 candidates: a sole child drawable selected when a fragment's primary drawable is empty). The claim was posted in the coordination issue before starting. ### Changes - `third_party/rpf9-explorer`: `e293917` → `af54933` - `docs/models.md`, `docs/README.md`, `docs/design.md`: current counts; the `e293917` tables are kept as historical controls ### Full ten-archive re-count (fresh candidate scan + recovery, no index cache) | Archive | Candidates | Models | Rejects | |---|---:|---:|---:| | `data.rpf` | 2,921 | 3,175 | 0 | | `shared_minigame000` | 1,060 | 1,296 | 0 | | `core_restofworld` | 924 | 936 | 0 | | `story000_restofworld` | 1 | 3 | 0 | | `story000.rpf` | 4,195 | 7,461 | 0 | | `packs.rpf` | 27,288 | 27,484 | 0 | | `levels.rpf` | 235,580 | 343,648 | 0 | | `textures.rpf` | 1 | 0 | 1 | | `common`, `core_restofworld001` | 0 | 0 | 0 | | **Total** | **271,970** | **384,003** | **1** | `levels.rpf`: 343,327 → 343,648 models, 71 → 0 rejects. All ten: 382,781 → 384,003 models, 72 → 1 reject (the texture dictionary in `textures.rpf`, handled by `Rpf9TextureRecovery`). The `levels.rpf` row matches the full re-count in upstream PR #30; the other nine archives were counted locally. ### Validation - `dotnet build tools/rpf9dump/rpf9dump.csproj -c Release` — 0 warnings, 0 errors - `dotnet run --project tests/Rpf9DumpDiagnostics/Rpf9DumpDiagnostics.csproj -c Release` — all smoke tests passed - `python -m compileall -q make_game.py tools tests` — OK - `python -I tests/test_make_game_assets_decoder.py` — 5 tests OK - `python -I tests/test_text_write_line_endings.py` — 3 tests OK - `python -I scripts/check_no_game_data.py .` — exit 0 - `git diff --check` — clean No game data, no GPU needed. AI-assisted. Tested on Windows 11 Pro, .NET 8 / 10 Release, AMD Radeon RX 6600 (RDNA2), driver 26.11.2; the GPU was not exercised by these checks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#398
No description provided.