Skip to content

Check the required package archive before title startup - #12

Merged
Marvisak merged 3 commits into
Marvisak:mainfrom
Raxstreams:codex/startup-breakpoint-diagnostics
Nov 25, 2026
Merged

Marvisak merged 3 commits into
Marvisak:mainfrom
Raxstreams:codex/startup-breakpoint-diagnostics

Conversation

@Raxstreams

@Raxstreams Raxstreams commented Nov 23, 2026 •

Copy link
Copy Markdown

Refs #8.

On an RTX 3080 Ti with the executable SHA-256 reported in the issue, omitting only appdata0.rpf from a temporary package layout reproduced both the breakpoint at title+0x2237178 and the reported register values (rax=rbx=rcx=0, rdx=0x66). Restoring that archive to the same layout brought up the window and frame 2 recorded a successful host draw. The successful run also logged the rpcrt4.dll refusal. The local driver was 32.0.16.1714. The reporter's package and driver still need independent confirmation.

Changes

  • Identify the Series 1.0.2.1 executable by BLAKE3. Before executing that build, check that the startup archive beside the executable opens and has an RPF9 header. An error now gives the path and recovery guidance.
  • Add opt-in first-chance breakpoint reports and include caller frames in the existing host DLL refusal warning for further investigation.

Verification

  • The missing archive, a short header, and an invalid header each produced the expected error before image mapping. A bind-only run succeeded without the archive.
  • With the archive restored, the title presented to a window on the hardware adapter. Testing stopped after the first successful host draw.
  • The workspace diagnostics run passed with 223 tests passing and three ignored. The staged changes passed the repository asset policy.

For the reporter, the first file to check is appdata0.rpf beside the executable. If the startup check passes and the breakpoint persists, the README describes how to collect the first-chance report.

@Raxstreams Raxstreams changed the title Capture diagnostics for startup breakpoints Check the required package archive before title startup Nov 23, 2026
@Sunkiller-qc

Copy link
Copy Markdown

Thanks for the repro work on #8. This conflicts with main in crates/victory-loader/src/crash.rs, since handler now calls emulate_amd_only before the FATAL check (#10), and it would also overlap #34/#38. It might be easier to review and land as two PRs: the appdata0.rpf startup check, and the opt-in breakpoint logging. Adding the 1.0.2.1 BLAKE3 hash to KNOWN_BUILDS is probably fine, but maybe worth a quick check against docs/asset-policy.md. Static review, not built or run.

@DaviTostes

Copy link
Copy Markdown

Could not validate this head on Linux: merging #39 (required, main does not build here) conflicts in crates/victory-loader/src/crash.rs, so the tree is not a clean stack and the result would not be trustworthy.

AI-assisted (DeepSeek V4.1 Flash coding agent).

@DaviTostes

Copy link
Copy Markdown

Tested c63262f both ways:

  • Windows build under Wine 11.22 + vkd3d-proton 3.1 (AMD RX 9060 XT, RADV 26.3.1): victory-loader 18 passed, 0 failed; tests/crash_log.rs 1 passed (the new first_chance_breakpoint_logging).
  • Native Linux: cargo test -p victory-loader gives 0 passed, 3 failed in prepare::tests::*, all Pe(Malformed("Unknown file magic")) — those tests parse the test binary itself as a PE image, and on Linux it is ELF. That is pre-existing and is what Build: Linux workspace, contributor setup and CI #112 gates; not caused by this PR.
  • The "Check the required package archive before title startup" path is not something the portable tests exercise end to end (it needs a package), but the loader suite is green on Windows.

No game data used.

edsuuu referenced this pull request in edsuuu/VI-BR-PORT Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@superboynick

Copy link
Copy Markdown

Package side only — no driver or runtime data here.

The package half of this PR's request can be confirmed from a second, independently obtained copy of the 1.0.2.1 package. What follows is a package-wide check, not a repeat of the single startup-archive check this PR already implements.

Package totals

  • 208.51 GiB over 108 files; all 108 file sizes match the published file listing, with none missing and none extra.
  • Every archive in the package opens as RPF9: 22 of them, 12 at the package root and 10 under pack/. The existing check covers one archive beside the executable; this covers the whole package.

Executable

  • game_scarlett_master.exe — 120,181,760 bytes
  • SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993
  • BLAKE3 b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93

Scope, stated plainly: this is file-size and container-identification work. We did not run a second content-level pass over the archives and we are not claiming one. No loader output, bound counts, or frame data appear here.

Driver and runtime confirmation for this build still needs someone who can actually start the title; that side cannot come from us.

AI-assisted. No game data reproduced here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants