Repository navigation
Conversation
…d-page model streams (ASSET-128, ASSET-129) The new pin is upstream main's tip. It brings ItsNotRexed#18 (index buffers with more than 65,535 triangles or vertex references) and ItsNotRexed#19 (model streams on every 16-byte boundary, not only page starts), both by cxchhh, and b3678413, which raises the model index cache schema so old caches are scanned again. It also contains the commits that ItsNotRexed#4638 (ad41e794) and ItsNotRexed#4548 (65a9b02a) pin, and ItsNotRexed#13, ItsNotRexed#16, ItsNotRexed#17 and ItsNotRexed#22; those were not re-measured here. docs/models.md: a re-count at the new pin. rpf9dump models with both pins on the same input: packs.rpf 26,585 -> 27,484 (899 new, all mid-page), shared_minigame000 1,294 -> 1,296, core_restofworld 936 = 936; two levels.rpf byte ranges chosen around the largest meshes gain 4 models, two of them with a single mesh above 65,535 triangles. In the re-run inputs nothing the old pin found is lost; fail=0 skip=0 in every run. docs/models.md, docs/world.md, docs/textures_arrays.md: sentences that named e293917 as the current pin now name 7ef5c51 or say "since". docs/textures.md has two such sentences, left alone because ItsNotRexed#4638 and ItsNotRexed#4050 edit those lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kam471
left a comment
There was a problem hiding this comment.
Checked 87a6d239f on Windows 11.
git submodule update --init third_party/rpf9-explorercloned and checked out exactly7ef5c51fdea346bcd9373a98bb4a427209a25ae3.tests/test_docs_links.py-> 6 OK,tests/test_docs_table_rows.py-> 2 OK;git diff --checkclean.
The docs rows move to the new pin's behaviour (large index buffers, mid-page model streams); I cannot re-run the package checks here, but the pointer and docs checks are consistent. No blocking issue.
|
Tested 87a6d23 merged with main 98fa503 on Linux (Python 3.12.16): pass - docs-only; tests/test_docs_*.py 10 files, 30 tests OK. No new tests, so no negative control. Checked: 7ef5c51 exists in rpf9-explorer, is on its main, and is a descendant of the old pin; b3678413 does change the model index schema 4 -> 5; PRs #13, #15-#19, #22, #24 are merge commits in that range; the table deltas are right (27,484 - 26,585 = 899, 1,296 - 1,294 = 2, 18,950 - 18,946 = 4). The model counts themselves were not re-run (no game data, no .NET here). |
|
Thanks @kapitche for checking the pin and the table. Full
Counts only, measured on my own copy (Fedora 44, .NET 9 SDK). The docs section in this PR still says the rest of AI-assisted (Claude Code). |
|
Independent check at Verified
Total wall 359.9 s. Arithmetic: All 7 rejects satisfy
Offsets only; no model or archive bytes. Two stale spots the PR does not touch:
Upstream #18's own body measures 235,259/235,330 -> 235,323/235,330 and attributes 64 of the 71 to Would you rather fold a 71 -> 7 correction into this PR, or land a docs-only follow-up on top of it? Not asking for an export here. |
A full levels.rpf scan and recovery at 7ef5c51 (reviewer run, PR ItsNotRexed#4687 comment) gives 235,580 candidates, 235,573 recovered, 7 rejects. Add the counts and the 7 offsets to the re-count section, relabel the 72-rejects paragraph as the e293917 state, drop its pre-ItsNotRexed#18 MetadataComplete diagnosis, and update the README "Want to help?" bullet and next-steps item 4 to the 7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@Idealism3937 Thanks for the full-archive run. I folded the 71 -> 7 correction into this PR in
One correction to the offset table: the 7 offsets are on 7 distinct 4 KiB pages ( Tests: AI-assisted (Claude Code). |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merges cleanly with current main; the gitlink lands on 7ef5c51 and all docs guards pass at the merged tree, including the new re-count anchor. Upstream submodule content could not be re-verified from this sandbox (no submodule fetch), so the PR #18/#19 claims and re-count numbers are taken as reported. One cross-check for maintainers: #4050 pins a different rpf9-explorer commit (BCPack history) — worth confirming 7ef5c51 subsumes it rather than dropping that pin. CI pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
|
Tested PR #4687 (
AI-assisted review (Gemini 4 Neon). |
|
Tested 52ffe49 merged with main 3faac55 on Linux (WSL2), Python 3.12.16: pass. |
|
Correction to my breakdown above: the split of the 314 new models was wrong. My comparison read offsets from file names and missed names ending in
That's 250 + 64, matching @Idealism3937's offset-level count and the "+314" paragraph in AI-assisted (Claude Code). |
|
I verified that the pin here also covers ASSET-628: I exported a synthetic 256-entry BC1 pool using both builds of With the newer pin and the consumer code from Follow-up on the two exit-code tests. They blocked the old fixed Conflict resolution on |
Items: ASSET-128 and ASSET-129 (claim 128, claim 129).
Depends on: none.
What
Both decoder fixes were already merged upstream, both by @cxchhh, but
mainstill pinnede293917, from before them:6b990301): read index buffers with more than 65,535 triangles or vertex references (ASSET-128).66b57af5): scan for model streams on every 16-byte boundary, not only at page starts (ASSET-129).b3678413: raises the model index cache schema from 4 to 5, so an index cached by the old decoder is scanned again and picks up what fix(runtime): type D3D12 root signature forwarding #18/Audio: export AWC banks in parallel with --jobs #19 now find.This PR moves
third_party/rpf9-explorerto7ef5c51, upstreammain's current tip, as @Krashgamer suggested. That commit also containsad41e794(#4638's pin) and65a9b02a(#4548's pin), so whichever of #4638, #4548 and this lands second only drops its one-line pointer change.docs/models.mdgets a "Re-count at7ef5c51" section with the numbers below. Five sentences indocs/models.md,docs/world.mdanddocs/textures_arrays.mdthat namede293917as the current pin now say7ef5c51or "sincee293917".Measured on my own copy (counts only)
tools/rpf9dump modelsbuilt at both pins, run on the same input:e2939177ef5c51e2939177ef5c51packs.rpf(whole)pack/shared_minigame000/...(whole)pack/core_restofworld/...(whole)levels.rpf, bytes0x10F0000000+0x60000000levels.rpf, bytes0x6B0000000+0x40000000levels.rpf, first 4 GiBfail=0 skip=0.packs.rpfandshared_minigame000start mid-page, which the old scan never looked at.levels.rpfranges were chosen around the largest single meshes in thee293917export (up to 64,288 triangles). Two of the four new models there have a single mesh above 65,535 triangles (66,251 and 76,793). Why the old decoder dropped the other two (largest mesh 56,095) wasn't determined.levels.rpf(a full export is about 213 GB) and the other archives.Not covered
docs/textures.mdlines 38 and 995 still say the C#TtpfReaderis "carried by thee293917submodule pin", and the "Next step" item at ~995 still lists RbPlus tiling and external history tables as open. I left them alone because ASSET-316: rpf9dump ttpf --history reads the bc1-bc5 BCPack history tables #4050 and third_party/rpf9-explorer: pin ad41e794, the RbPlus 64 KiB 4 BPP tile order (ASSET-125) #4638 edit those exact lines; whichever lands can update them.Tests
dotnet build tools/rpf9dump/rpf9dump.csproj -c Releaseandtests/Rpf9DumpDiagnostics: build, 0 warnings.tests/test_docs_links.py,test_docs_table_rows.py,test_docs_list_items.py,test_docs_repo_paths.py,test_docs_cli_flags.py,test_check_no_game_data.py,test_text_encoding.py,test_text_write_line_endings.py,test_make_game_submodule.py,test_restofworld_model_join.py: OK.6b990301,66b57af5,b3678413,ad41e794and65a9b02a), the overlap with third_party/rpf9-explorer: pin ad41e794, the RbPlus 64 KiB 4 BPP tile order (ASSET-125) #4638/rpf9dump: models --lod N exports a drawable's other LODs (BUILD-1316) #4548/ASSET-316: rpf9dump ttpf --history reads the bc1-bc5 BCPack history tables #4050, the arithmetic and the no-game-data rule. It found five pin sentences that had become false, overclaiming in the new section and the missing note on the other upstream changes. All are fixed in this commit.AI-assisted (Claude Code).
🤖 Generated with Claude Code