Repository navigation
README: the BCPack decoder rebuilds BC6H and BC7 too - #1063
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Merged
Conversation
The status row listed BC1, BC3, BC4 and BC5. tools/bcpack.py has rebuilt all six codecs since ItsNotRexed#576, as docs/textures.md says; most BC6H and BC7 chunks need a history table the repository does not ship. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
|
Reviewed cd4c3ed (README only). I checked the claim against
So the new sentence matches the code. The only part I couldn't tie to a number is "most" in "most BC6H/BC7 chunks need a local history table". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: #1006 (comment) (new PROC item)
What and why
The README status row for textures says the clean-room decoder (
tools/bcpack.py) "rebuilds BC1, BC3, BC4 and BC5". Since #576 it rebuilds all six codecs:SUPPORTED_REBUILD_CODECSis{1, 3, 4, 5, 6, 7}anddocs/textures.mdlists BC1, BC3, BC4, BC5, BC6H and BC7. #504 refreshed the row before #576 landed.One line changes. The row now lists the six codecs, with a short note that most BC6H/BC7 chunks need a local history table, which the repository does not ship: in the default strict mode a chunk that refers to the built-in history is refused (
BcpackProvisionalError), and only self-contained chunks decode without one. The rest of the row (pool entries skipped by the export, not wired intorpf9dump) is unchanged.docs/textures.mdis not touched; itsttpf_mips.py checkline belongs to #939.Tested
Docs only.
tests/test_bcpack.pyandtests/test_bcpack_tables.pypass onmain(48 tests), and a synthetic 4-block BC7 stream was used to confirm the note: self-contained it decodes in strict mode, and with one block predicting from the built-in history it is refused. No game files, no GPU.AI-assisted (Claude Code).
Checklist
docs/design.md, with how it was confirmed. (not a translator change)🤖 Generated with Claude Code