Repository navigation
Conversation
|
Read 52c652c against the code and ran the related tests on Windows, CPython 3.14.7, CPU only (no GPU, no game files): no contradiction found in the statements that can be checked without the game.
Not checked: the stated share of real BC6H/BC7 chunks that need history (needs the game), and the native C# export was not run. AI-assisted. |
|
Docs tests pass and every claim checks out: Two small imprecisions: the manifest records Approve. AI-assisted review, docs only. |
The Texture dictionaries row said BCPack pool entries "are still skipped by the export" and that tools/bcpack.py "is not wired into rpf9dump yet". That is out of date: - rpf9dump at the pinned submodule (e293917) decodes BCPack BC1, BC3, BC4 and BC5 chunks in strict mode (Core/BcpackDecoder.cs; BC6H and BC7 are "not supported" there, Core/TtpfReader.cs); - BC6H, BC7 and provisional-history chunks are left to the assets stage, which runs tools/ttpf_assets.py after the exporter; it calls tools/bcpack.py through ttpf_mips.texture_dds, which rebuilds all six modes (SUPPORTED_REBUILD_CODECS = 1, 3, 4, 5, 6, 7), but without a local calibration the strict profile refuses unconfirmed history, so the stage completes what it can and marks the rest as limited (a BCPackLimitation in manifest.json, ttpf_assets.py:96; make_game.py:1264 logs "... full BCPack DDS written, ... limited (see manifest.json)"). Keep the existing caveat that most BC6H/BC7 chunks need a local history table, which the repository does not ship (docs/textures.md). Claimed in ItsNotRexed#3574. Written with AI assistance (Claude, via OpenBot). Tested: python -I tests/test_docs_{design_rows,links,list_items,repo_paths}.py, tests/test_i18n_index.py and tests/test_text_write_line_endings.py pass; git diff --check is clean (Windows 11, docs only; no GPU involved). Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
52c652c to
0b279fa
Compare
|
Thanks @tupacfan04 and @shdann. Rebased onto AI-assisted (Claude, via OpenBot). |
|
Reviewed on Linux: the README rewrite checks out against the code — BCPackLimitation and the ttpf_mips import/wiring exist in tools/ttpf_assets.py as described. The "strict mode" phrasing for rpf9dump I could not pin to a flag from the tree here. AI-assisted: yes. |
|
Read
|
bobcatchris
left a comment
There was a problem hiding this comment.
Verified the new row's claims against the repo (CPU only):
tools/ttpf_assets.py:96recordsBCPackLimitationper row in manifest.json; the file importsbcpackandttpf_mipsexactly as the text says (ttpf_assets.py:14-16).tools/bcpack.pycovers all six codecs (BC1/BC3/BC4/BC5/BC6H/BC7,ALL_CODECS) and has the strict mode whose unconfirmed-history behaviour the row describes (BcpackError,bcpack.py:73,969).- The
rpf9dumpwrapper (tools/rpf9dump/Program.cs) shows the skip-with-limitation path (NotSupportedException or InvalidDataException→ skip + message) that the row's 'strict mode, skips BC6H/BC7/unconfirmed-history' wording reflects, at the pinned submodule.
The old text's two claims ('pool entries still skipped by the export', 'not wired into rpf9dump yet') are both stale, and the replacement says precisely what each layer does instead of a vague status. README row, no behaviour change. Approving.
AI-assisted.
Claimed in #3574 (item 1 of #3574 (comment)), found in a docs audit.
The README status row for texture dictionaries and world texture pools said BCPack pool entries "are still skipped by the export" and that the clean-room decoder "is not wired into
rpf9dumpyet". That is out of date:rpf9dumpat the pinned submodule (e293917) decodes BCPack BC1, BC3, BC4 and BC5 chunks in strict mode, and skips BC6H, BC7 and chunks that need unconfirmed history (Core/BcpackDecoder.cs,Core/TtpfReader.cs,tools/rpf9dump/Program.cs:63-65).tools/ttpf_assets.py, which usestools/bcpack.py(all six modes,SUPPORTED_REBUILD_CODECS) to complete what it can; without a local calibration the strict profile refuses unconfirmed history, so the rest is marked limited inmanifest.json(make_game.py:1255-1264: "… full BCPack DDS written, … limited (see manifest.json)").The row now says that, and keeps the caveat that most BC6H/BC7 chunks need a local history table the repo does not ship (
docs/textures.md:28-34). One line, docs only;docs/i18nhas no copy of this table.Tested on
f847748c(Windows 11, Python 3.14):python -I tests/test_docs_design_rows.py,test_docs_links.py,test_docs_list_items.py,test_docs_repo_paths.py,test_i18n_index.py,test_text_write_line_endings.py: all pass;git diff --checkclean. No game files: the export behaviour is read from the code, not run.AI-assisted: written and checked with Claude (via OpenBot), with an independent AI review against the code and the submodule before submitting.