MODEL-71: bump rpf9-explorer to af54933, recover 71 fragment candidates #347
Closed
leonida/mandy
Tioloff wants to merge 0 commits from
model-71-pin-rpf9 into main
pull from: model-71-pin-rpf9
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:github-pr/2996
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2951
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!347
Loading…
Reference in a new issue
No description provided.
Delete branch "model-71-pin-rpf9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request closed
This pull request cannot be reopened because the branch was deleted.
MODEL-71
Bump
third_party/rpf9-explorerfrome293917to upstreamaf54933, which recovers the 71 fragment candidates inlevels.rpfthat 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→af54933docs/models.md,docs/README.md,docs/design.md: current counts; thee293917tables are kept as historical controlsFull ten-archive re-count (fresh candidate scan + recovery, no index cache)
data.rpfshared_minigame000core_restofworldstory000_restofworldstory000.rpfpacks.rpflevels.rpftextures.rpfcommon,core_restofworld001levels.rpf: 343,327 → 343,648 models, 71 → 0 rejects. All ten: 382,781 → 384,003 models, 72 → 1 reject (the texture dictionary intextures.rpf, handled byRpf9TextureRecovery). Thelevels.rpfrow 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 errorsdotnet run --project tests/Rpf9DumpDiagnostics/Rpf9DumpDiagnostics.csproj -c Release— all smoke tests passedpython -m compileall -q make_game.py tools tests— OKpython -I tests/test_make_game_assets_decoder.py— 5 tests OKpython -I tests/test_text_write_line_endings.py— 3 tests OKpython -I scripts/check_no_game_data.py .— exit 0git diff --check— cleanNo 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.
The submodule commit
af549336624fis verified onbreadbbbb/rpf9-explorermain (not a fork). Frome2939175the Core csproj is unchanged: its only package is still BCnEncoder.Net 2.3.0, with no new build targets. The new Cli project (net10) isn't built by Leonida, and theProcess.Startpath is opt-in (a user-chosen JSON config,ArgumentList, unused here). No binaries or nested submodules. Safe on security grounds once CI has builtrpf9dumpagainstaf54933. Please also updatedocs/world.md:711-719, which still namese2939175as the pin. This supersedes #214 (16134b0is an ancestor ofaf54933).Security review; read only, nothing run.
AI-assisted (Claude Code, Claude Opus 5.5).
Discord: bigpeppa.
MODEL-71-RECOUNT: independent recount of
levels.rpfconfirms 71 → 0I counted
levels.rpffrom my own 1.0.2.1 package at both pins. Every number matches: thee293917row indocs/models.mdand this pull request'saf54933row.levels.rpfdocs/models.mdate293917e293917af54933af54933Where the +321 models come from:
e293917are still candidates ataf54933and all 71 are recovered, one model each.af54933scan checks every 16-byte boundary); all 250 are recovered with one model each (208 dictionary children, 42 standalone).e293917are all recovered ataf54933with the same 343,327 models.The attribution (64 by
549c69c, one by rpf9-explorer#26, 6 by rpf9-explorer#30) also holds. I recovered only those 71 offsets withRpfPreview.Corebuilt at intermediate upstream commits:RpfPreview.Coreate293917, andbd54fb0(parent of the merge of549c69c)6b99030(merge of549c69c)4566315(parent of the rpf9-explorer#26 merge)16134b0(rpf9-explorer#26 merge)bd06d96(parent of the rpf9-explorer#30 merge)4bf8c0c(rpf9-explorer#30 merge)af54933The other
levels.rpfcells, in case the page wants them at the new pin. Thee293917column reproduces the values already indocs/models.md.levels.rpfe293917af54933One suggestion, not a blocker:
docs/models.mdsays thelevels.rpfrow comes from the full re-count reported in rpf9-explorer#30. It can now say the row was also re-counted on a second copy of the package.Method. A count-only pass, not a full export. A small local harness makes the same calls as the
modelsmode oftools/rpf9dump: a freshRpf9ModelRecovery.FindCandidateOffsetsscan (no index cache),RecoverAtOffsetsin chunks of 32, thenRecoveredResource.ReadandRageModelDecoder.Decodefor every entry. It writes no OBJ files. Checks on the harness:data.rpfit gives the same result as the realrpf9dump modelsat both pins (2,921 candidates, 3,175 models, 0 rejects, 0 failures).packs.rpfit gives 26,389 / 26,585 / 0 ate293917(the docs' row) and 27,288 / 27,484 / 0 ataf54933(this pull request's row).Details.
mainat1504c1af6; this pull request's headd49949f6.tools/rpf9dumpdoes not differ between the two.e2939175andaf549336, each built into its own output folder.game/xbox-1.0.2.1.jsonby SHA-256.net8.0target rolled forward), Release, Linux x64. No GPU involved.Not covered. The other seven archives, a full OBJ export at
af54933(so the export's own summary lines were not regenerated), and thedocs/world.mdlines from the earlier review comment.AI-assisted (Claude Code). No game data is posted here: counts only.
Merged onto current
main,tests/test_docs_links.pyfails: the rootREADME.mdstill linksdocs/models.md#full-archive-re-count-at-e293917, and this PR renames that heading. Please update the link.QemmHD's request about
docs/world.md:711-719is also still open on this head.AI-assisted (Claude Code, Claude Opus 5.5).
#347 | head d49949f68496643ed1e8767879b75ced50d900ac (merged cleanly onto origin/main 48bae6cade) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes
Independent Verification (Windows 11)
docs/README.md,docs/design.md,docs/models.md, andthird_party/rpf9-explorer(e2939175c36a02d6ed25fa2c217b9d6ddcb8b516 -> af549336624fdabf7d1bb6f00b8783e7e1ef692e).python -I scripts/check_no_game_data.py docs/README.md docs/design.md docs/models.mdpassed (rc=0).#347 + origin/main(48bae6cade):origin/main(48bae6cade).tests/test_docs_links.pyandtests/test_docs_cli_flags.py:0broken links or unknown CLI flags indocs/README.md,docs/design.md, ordocs/models.md, and0broken inbound anchors todocs/models.mdanywhere in the repository (the rootREADME.mdlink todocs/models.md#full-archive-re-count-at-e293917noted in an earlier review on an oldermainwas removed ina9e247cd6).python -I tests/test_docs_design_rows.py(5/5),tests/test_docs_table_rows.py(2/2),tests/test_docs_repo_paths.py(5/5),tests/test_docs_encoding.py(1/1),tests/test_docs_list_items.py(3/3), andtests/test_docs_repeated_lines.py(3/3) all passed (OK).docs/models.md(271,970candidates,384,003models,1reject intextures.rpf/0inlevels.rpf, and40,355rows across the six non-levels.rpfmodel-bearing archives).breadbbbb/rpf9-explorerHEADhas since advanced pastaf54933(cab9bb6ebe), whileaf549336624fdabf7d1bb6f00b8783e7e1ef692ematches the384,003-model re-count documented here.Checked
d49949f68merged (no commit) withmain87a39df94: Python 3.12.4, Windows 11 10.0.26300, CPU only.third_party/rpf9-explorersubmodule fetched ataf54933and a .NET build oftools/rpf9dump. The Python tests that name the exporter give the same result onmainand on the merge.check_no_game_data.pyis clean on the three docs. It refuses the submodule path only because it is a gitlink, not a file.e293917toaf54933brings 61 upstream commits and 85 files (compareon breadbbbb/rpf9-explorer). That is much more than MODEL-71: Opus timing, RbPlus tiling, PSIN and clip recovery, large index buffers, LODs, vehicle previews, a dark mode and version 1.3. Worth listing in the description what the bump brings beyond the 71 fragments.AI-assisted (Claude Code).
Thank you for the work on this update. Closing this PR because the third_party/rpf9-explorer submodule bump to af54933 is now obsolete: main is already ahead at 73e9400, and Dependabot PR #2976 updates it further to cab9bb6. If any remaining documentation updates are still relevant on current main, feel free to open a fresh PR against main.