docs: check archive integrity after an early boot breakpoint #686

Open
github-bot wants to merge 1 commit from github-bot/gh-686 into main AGit
Owner

@⁠TomEageer on GitHub · 2026-11-24 06:51 UTC · original
TomEageer:docs/startup-archive-integrity → main · +14 −0 · 1 files · 1 commits · open

Adds a short archive-integrity check to the debugging section for exits after the first black frames. A clean import-binding report can still accompany damaged data.

I ran a controlled comparison on Windows 11 with an RX 6750 GRE 12 GB, VIctory main at d2a4bae, and the Series S profile. Both runs used the same diagnostic binary and options, with local routing for verified files. The only changed input was the animation archive.

  • Original archive (SHA-256 mismatch) — two presented frames, no draws, then 0x80000003.
  • Restored archive (SHA-256 matches the reference for the same build) — continued drawing and reached the frame-1024 log before I stopped the run at the 40-second limit.

The hardware result narrowed this particular startup failure to the archive. The text leaves room for unrelated breakpoints and asks testers to include their file-check outcome.

Verified the PowerShell command with a synthetic file before and after a one-byte change. The staged asset policy check passed.

AI-assisted. The tests ran on my hardware.

**@⁠TomEageer** on GitHub · 2026-11-24 06:51 UTC · [original](https://github.com/Marvisak/VIctory/pull/686) `TomEageer:docs/startup-archive-integrity` → `main` · +14 −0 · 1 files · 1 commits · open Adds a short archive-integrity check to the debugging section for exits after the first black frames. A clean import-binding report can still accompany damaged data. I ran a controlled comparison on Windows 11 with an RX 6750 GRE 12 GB, VIctory main at `d2a4bae`, and the Series S profile. Both runs used the same diagnostic binary and options, with local routing for verified files. The only changed input was the animation archive. - Original archive (SHA-256 mismatch) — two presented frames, no draws, then `0x80000003`. - Restored archive (SHA-256 matches the reference for the same build) — continued drawing and reached the frame-1024 log before I stopped the run at the 40-second limit. The hardware result narrowed this particular startup failure to the archive. The text leaves room for unrelated breakpoints and asks testers to include their file-check outcome. Verified the PowerShell command with a synthetic file before and after a one-byte change. The staged asset policy check passed. AI-assisted. The tests ran on my hardware.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:02 +00:00
Author
Owner

@⁠ErRusso on GitHub · 2026-11-24 11:19 UTC · original

Audit: ✅ Looks good

Reviewed this PR as part of an audit of mergeable PRs.

  • Scope: README.md Debugging section (+14/-0). Adds guidance for diagnosing the 0x80000003 breakpoint exit with one/two black frames: verify the SHA-256 of the archive (.rpf) files against a known-good copy of the same build before investigating rendering, since the loader's import report only counts bindings and can report zero missing imports with a damaged archive. Includes a PowerShell Get-FileHash example.

Docs-only PR; no code to test. Content is accurate and actionable.

No issues found.

**@⁠ErRusso** on GitHub · 2026-11-24 11:19 UTC · [original](https://github.com/Marvisak/VIctory/pull/686#issuecomment-7129946085) ## Audit: ✅ Looks good Reviewed this PR as part of an audit of mergeable PRs. - **Scope:** `README.md` Debugging section (+14/-0). Adds guidance for diagnosing the `0x80000003` breakpoint exit with one/two black frames: verify the SHA-256 of the archive (`.rpf`) files against a known-good copy of the same build before investigating rendering, since the loader's import report only counts bindings and can report zero missing imports with a damaged archive. Includes a PowerShell `Get-FileHash` example. Docs-only PR; no code to test. Content is accurate and actionable. No issues found.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:25 UTC · original

Automated triage for the maintainers.

Proposed close.

This PR adds 14 lines to the README's Debugging section: if the title exits with 0x80000003 after a black frame or two, hash the archive files and compare them with a known-good copy of the same build.

Reasons:

  • The repo docs are meant to stay short (rule 3). "Check that your files are intact" is general troubleshooting advice that fits a bug report or issue thread better than the README. Most users also have no reference hash to compare against.
  • The part that can be checked in code is already there: apps/victory/src/run.rs check_startup_archive() checks the startup archive's header and gives a "restore it from your package" message.
  • The example names one of the title's own archive files.

If a damaged archive can be detected reliably, a check in the loader with a clear error message would be the right change, and very welcome.

This pull request will be closed in 48 hours unless the author pushes a change or a maintainer removes the triage: proposed close label.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:25 UTC · [original](https://github.com/Marvisak/VIctory/pull/686#issuecomment-7149525002) <!-- victory-triage v1 head=741d675c90287a82052f1c5bbbae82d699d95a28 verdict=proposed-close at=2026-11-25T01:25:06Z --> Automated triage for the maintainers. **Proposed close.** This PR adds 14 lines to the README's Debugging section: if the title exits with `0x80000003` after a black frame or two, hash the archive files and compare them with a known-good copy of the same build. Reasons: - The repo docs are meant to stay short (rule 3). "Check that your files are intact" is general troubleshooting advice that fits a bug report or issue thread better than the README. Most users also have no reference hash to compare against. - The part that can be checked in code is already there: `apps/victory/src/run.rs` `check_startup_archive()` checks the startup archive's header and gives a "restore it from your package" message. - The example names one of the title's own archive files. If a damaged archive can be detected reliably, a check in the loader with a clear error message would be the right change, and very welcome. This pull request will be closed in 48 hours unless the author pushes a change or a maintainer removes the `triage: proposed close` label. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/686/head:github-bot/gh-686'
git switch 'github-bot/gh-686'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-686'
git switch 'github-bot/gh-686'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-686'
git switch 'github-bot/gh-686'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-686'
git switch 'main'
git merge --squash 'github-bot/gh-686'
git switch 'main'
git merge --ff-only 'github-bot/gh-686'
git switch 'main'
git merge 'github-bot/gh-686'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/Marvisak--VIctory!686
No description provided.