Run: a known build's missing game files are named before it runs (#421: +0x3e42541) #1872
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1872
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1872"
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?
@nick0451 on GitHub · 2026-11-29 01:13 UTC · original
nick0451:fix/ttdb-graphics-check→main· +200 −0 · 2 files · 1 commits · merged 2026-11-29 08:16 UTCFor #421 (and #595 and #1622, the same crash):
0x80000003 at victory-image-…+0x3e42541is a game copy whosedata\ttdbfolder comes from another packaging. Today the title just stops on its own breakpoint, with nothing saying why. With this change,victory run --execute, and sovictory play, says which file is missing before the title runs.The cause (details in #421)
At
+0x3e42541the title looks up one key built into its code. That key is registered only fromdata/ttdb/graphics/ttdb_graphics.ttpf. The crash log attached in #421 never opens that file. Its texture databases are a different set (ttdb_peds.ttpf,ttdb_props.ttpf,textures_loose.ttpf, and nographicsfolder), under the same executable.The change
victory-game:KnownBuildgetsrequired_files. Each entry has its path in the package, its size in a copy that runs, and what the title does without it, as told to the player.check_package(build, dir)returns the files that are missing and the ones of another size. The retail build lists the one file above.run.rs: once the build is identified,check_package_filesruns. A missing file is named on amissing filesline, and with--executethe run stops there.VICTORY_SKIP_FILE_CHECK=1runs it anyway, likeVICTORY_SKIP_CPU_CHECK. A file of another size is only told (package files), since other packagings may run with it. An unknown build isn't checked.docs/asset-policy.md, only a path and a size are stored: no hash of the file and nothing from the executable. Package file names already appear the same way (Bink2Scarlett.dll,XboxBvhBuilder.dllinrun.rs).What a player sees with the file missing:
Tested
RTX 3090, Windows 11, release build on main
f9dfb76:MicrosoftGame.Config: bothvictory run --executeandvictory playstop with the message above (exit 1) before the image is mapped.missing filesline. 3 of 3 fresh starts reached the world.cargo test -p victory-game: 7 passed (3 new: well-formed entries, a complete package passes, a missing or shortened file is named).cargo test -p victory --bin victory: 30 passed (1 new: a missing file stops an executing run, and not with the skip or without--execute).Found and written with an AI assistant (Claude Code).
🤖 Generated with Claude Code