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

Open
TomEageer wants to merge 1 commit from upstream-pr/686 into main
TomEageer commented 2026-11-24 06:51:38 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by TomEageer on 2026-11-24T06:51:38Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6576345062 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/686). Originally posted by [TomEageer](https://github.com/TomEageer) on 2026-11-24T06:51:38Z. --- 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.
catminou4 commented 2026-11-24 07:01:10 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T06:53:12Z.

Review: COMMENTED


README-only change (+14 lines about archive integrity after an early boot breakpoint). Nothing executable to verify locally; the doc statement matches the asset-policy/offline design. No objections.

<!-- greyfinch-sync:Marvisak/VIctory:review:6034902475 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/686#pullrequestreview-6034902475). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-24T06:53:12Z. **Review:** COMMENTED --- README-only change (+14 lines about archive integrity after an early boot breakpoint). Nothing executable to verify locally; the doc statement matches the asset-policy/offline design. No objections.
LAKSHYA-cmd-tech commented 2026-11-24 07:07:55 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T07:04:05Z.

Review: APPROVED


LGTM! Policy checks pass cleanly. Documenting archive SHA-256 verification provides clear triage guidance for 0x80000003 early breakpoint exits caused by corrupted assets.

<!-- greyfinch-sync:Marvisak/VIctory:review:6035010184 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/686#pullrequestreview-6035010184). Originally posted by [LAKSHYA-cmd-tech](https://github.com/LAKSHYA-cmd-tech) on 2026-11-24T07:04:05Z. **Review:** APPROVED --- LGTM! Policy checks pass cleanly. Documenting archive SHA-256 verification provides clear triage guidance for 0x80000003 early breakpoint exits caused by corrupted assets.
mercuryVM commented 2026-11-24 11:03:57 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T10:33:42Z.

Review: APPROVED


Read only, not built: README-only change (14 added lines in the debugging section).

  • The advice is sound and fits the existing debugging section: the import report counts bindings, not data integrity, so a hash check against a copy of the same build is the right first step before chasing rendering.
  • The path in the Get-FileHash example is a generic placeholder, and no hashes or file contents are quoted, which is good.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:review:6037621736 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/686#pullrequestreview-6037621736). Originally posted by [mercuryVM](https://github.com/mercuryVM) on 2026-11-24T10:33:42Z. **Review:** APPROVED --- Read only, not built: README-only change (14 added lines in the debugging section). - The advice is sound and fits the existing debugging section: the import report counts bindings, not data integrity, so a hash check against a copy of the same build is the right first step before chasing rendering. - The path in the `Get-FileHash` example is a generic placeholder, and no hashes or file contents are quoted, which is good. AI-assisted (Claude Code).
ErRusso commented 2026-11-24 12:04:29 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by ErRusso on 2026-11-24T11:19:18Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7129946085 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/686#issuecomment-7129946085). Originally posted by [ErRusso](https://github.com/ErRusso) on 2026-11-24T11:19:18Z. --- ## 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.
Marvisak commented 2026-11-25 02:06:01 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:25:08Z.


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149525002 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/686#issuecomment-7149525002). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:25:08Z. --- <!-- 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 cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/686:upstream-pr/686'
git switch 'upstream-pr/686'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/686'
git switch 'upstream-pr/686'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/686'
git switch 'upstream-pr/686'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/686'
git switch 'main'
git merge --squash 'upstream-pr/686'
git switch 'main'
git merge --ff-only 'upstream-pr/686'
git switch 'main'
git merge 'upstream-pr/686'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!686
No description provided.