startup-runtime: decode BCPack DirectStorage requests instead of zero-filling #1139

Closed
opened 2026-11-26 22:44:26 +00:00 by github-bot · 2 comments
Owner

@⁠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).

**@⁠denn0x** on GitHub · 2026-11-24 01:45 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/1139) ## 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:44:26 +00:00
Author
Owner

@⁠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 02:36 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/1139#issuecomment-7120303921) 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.
Author
Owner

@⁠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.

**@⁠R0Y00** on GitHub · 2026-11-24 10:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/1139#issuecomment-7128382188) #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.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#1139
No description provided.