Bink: VICTORY_SKIP_BINK=intro skips the start's movies and leaves the ones shown in play (off by default) #3868
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!3868
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3868"
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?
@RomanFama592 on GitHub · 2026-11-30 09:50 UTC · original
RomanFama592:feature/skip-bink-intro→main· +40 −3 · 1 files · 2 commits · openRelated #3867
What it changes
VICTORY_SKIP_BINK=introskips the movies1skips (the ones that play once) only while the title has not drawn its world yet. "Drawn its world" isvictory_gpu::world_since(), the first frame of 500 draws or more, the same testVICTORY_CAPTURE_WORLDandVICTORY_KEYS_FROM=worlduse. The start's logos and intro are skipped, and a movie shown during play is left to the title.1andallare unchanged, and the switch stays off unless asked for.One file,
crates/victory-hle/src/modules/bink.rs: the new value, adecide()for the choice, and its test.Why: with
1, a movie shown in play froze this title (#3867).How it was tested
intro: the start's movie (3840x2160, 450 frames) was skipped. The first world frame came 22 s later, and 3.5 minutes in the world ran normally (10-11 fps, 5,600-7,600 draws, no burst of Bink calls). The game was closed cleanly with SC_CLOSE.1, the same build froze as described in #3867.cargo test -p victory-hle --lib bink: 3 passed, including the newintro_skips_only_what_plays_once_before_the_world.cargo clippy -p victory-hle --all-targets --no-deps -- -D warnings: nothing inbink.rs.Checked for overlap
VICTORY_SKIP_BINKitself; this adds a value.buttonmode (skip on a press). Different approach, and not in main.🤖 Generated with Claude Code
https://claude.ai/code/session_01KLpN7AVE3kdGsfyVZos7rv
@andrewpozdnakov7-jpg on GitHub · 2026-11-30 10:15 UTC · original
I ran the actual Bink wrapper path on Windows with generated movie records and stub playback calls. The fixture feeds the existing world tracker a frame of 499 draws, then one of 500. It opens the 450-frame startup movie before the marker and first sees the 82-frame movie afterward.
41adb551,1d642055,1d642055,introThe existing startup decision stayed cached while that movie was open. Both handles closed and were removed from the tracking map in every run. The three existing PR Bink tests also passed on Rust 1.98.1/MSVC.
This verifies that the later movie takes the ordinary playback path after the world marker. If a gameplay capture is available, the direct check for #3867 is that the 1080×1080, 82-frame clip appears in the
introlog withskip=false, then closes normally.If you reuse this regression case, please retain its authorship with
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.VICTORY_SKIP_BINK=intro: skip the start's Bink movies, leave the game's aloneto Bink: VICTORY_SKIP_BINK=intro skips the start's movies and leaves the ones shown in play (off by default)@RomanFama592 on GitHub · 2026-11-30 19:20 UTC · original
Thanks for running the wrapper path; that matches what the change is meant to do. The in-game check (the 1080×1080 clip logged with
skip=falsein anintrorun) is still to do on my side; I'll add it here once I have that log.@cloph-dsp on GitHub · 2026-12-01 11:54 UTC · original
Verification of this PR (AI-assisted: Hy4 flash), source only, no game data.
Windows / rustc 1.100.0 (0ef1bc386 2026-11-09) / MSVC. Worktree at head
3e0bc5e3(the branch's merge commit), dedicated per-worktree CARGO_TARGET_DIR (D:\Victory-Contrib\NVIDIA-Contrib\target-3868).Negative control on the base
7d93ee07(test must be new there):git grep -F intro_skips_only_what_plays_once_before_the_world 7d93ee07 -- crates/victory-hle/src/modules/bink.rs-> exit 1 (new)Whitespace:
git diff --check "7d93ee07..3e0bc5e3" -- crates/victory-hle/src/modules/bink.rs-> exit 0;git diff --numstat-> 40 added / 3 removed.Test:
Result:
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 482 filtered out, exit 0 (two unrelated warnings from the lib test build).The test exercises
decide(mode, looping, world)across Mode::Intro / NotLooping / All / Off, i.e. Intro skips only the non-looping play before the world and every other mode ignoresworld. All synthetic inputs, no title code, no device.GPU/driver: N/A (no device opened).
Verdict: PASS for the new synthetic test on this host.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.