startup-runtime: decode BCPack DirectStorage requests instead of zero-filling #1139
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#1139
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@denn0x on GitHub · 2026-11-24 01:45 UTC · original
Problem
The DirectStorage stand-in completes BCPack requests with zero-filled destinations, so those textures are blank.
The repository already has BCPack prefix and mip-tail research (
tests/bcpack_check.py); the stand-in does not use it.Done when
BCPack requests are decoded (or a measured subset is), covered by a source-built fixture, and the shortcut log line
is removed for the decoded cases.
Context:
docs/startup-runtime.md(#1135). Do not attach game files, dumps or logs that contain addresses or names from an executable; describe results in terms of the component tested.AI-assisted (Claude Code).
@R0Y00 on GitHub · 2026-11-24 02:36 UTC · original
I’m tracing the existing BCPack format evidence against the startup queue. I’ll publish a byte-exact queue fixture for any independently established form, with a malformed-input control. In the meantime, source-built encoder/decoder pairs with a pinned revision, license and expected block bytes would help extend the covered forms.
@R0Y00 on GitHub · 2026-11-24 10:08 UTC · original
#1336 is on main at
8d1c18cf. The queue now writes decoded BC1 and BC7 bytes and records “bcpack decoded” for those requests. The source-built Release tests cover exact bytes, including BC7 modes 1 and 6, unchanged output on a wrong destination size, and a valid request after the failure. That meets this issue's measured-subset criterion. Unhandled formats still use the documented fallback. The observed loading failures remain open in #1198.