feat(hle): skip the title's Bink movies on request (VICTORY_SKIP_BINK, off by default) #26

Manually merged
github merged 1 commit from github-bot/gh-26 into main 2026-11-27 10:44:54 +00:00 AGit
Owner

@⁠CuteBooty on GitHub · 2026-11-27 08:51 UTC · original
CuteBooty:feat/skip-bink → main · +372 −0 · 3 files · 1 commits · merged 2026-11-27 09:31 UTC

VICTORY_SKIP_BINK=1 skips the movies that play once (logos, the intro); =all also the looping ones. Unset, nothing changes and no import is rebound. The title's own Bink DLL still opens each movie; the exports a player loop calls are bound to wrappers that put a skipped movie on its last frame, so the title's own end-of-movie check ends it.

Wiring here: SkipMovies wraps WithTitleDlls at startup with the FidelityFX Interpose on top (unchanged), and wraps the resolver used for DLLs the title loads later. Streamline is untouched.

Original author: C-GDev (fxceless/victory-fork PR 613; the idea is from XCL PR #1053, the code was written anew for VIctory's loader). In my runs the log showed "Bink movies are skipped" and one line per movie, and the logos and the intro were gone.

cargo test -p victory-hle on this branch: 172 passed / 0 failed / 2 ignored.

Tested

RTX 3070 8 GB (driver 621.24), Ryzen 5 3600, 32 GB, Windows 11; Series S profile, 1920x1080, your launcher's settings without DLSS, built from source.

  • In the game (all four of my pull requests together, on 1010e023): five runs, 73 minutes in all, 0 logged errors, no device loss. Frame times were not slower than the unmodified tree on the same save: medians of the 5-second lines in a 37-minute run were 64 / 78 / 94 ms at 3,000-5,000 / 5,000-7,000 / 7,000-9,000 draws, against 89 / 104 / 116 ms for the unmodified tree in a 51-minute run the same evening. The routes differed, so read that as "not slower", not as a gain.
  • On c437b059 (this branch is based there; it merges cleanly onto 18a8dc26): the branch compiles (cargo check --locked -p victory --features diagnostics). cargo test --workspace --locked with all four changes: 1043 passed / 3 failed / 46 ignored; on c437b059 alone: 1034 / 3 / 46. The same three fail on both: indirect::tests::host_list_budget_starts_empty_at_each_submission, indirect::tests::warp_batch_charges_every_execution, and policy::tests::repository_passes_policy (it rejects PLAY_FRAMEGEN.bat).
  • Clippy (--workspace --all-targets -- -D warnings, with and without --all-features, --keep-going): fails on c437b059 alone and with these changes, with the same findings (31 and 30 distinct, none in the changed code); the first is victory-formats/src/texture.rs:1346.

Not tested: AMD and Intel cards, DLSS and frame generation, Series X beyond one 9-minute run.

AI-assisted: ported, checked and written up with Claude Code; the game runs were played by me.

🤖 Generated with Claude Code

**@⁠CuteBooty** on GitHub · 2026-11-27 08:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/26) `CuteBooty:feat/skip-bink` → `main` · +372 −0 · 3 files · 1 commits · merged 2026-11-27 09:31 UTC `VICTORY_SKIP_BINK=1` skips the movies that play once (logos, the intro); `=all` also the looping ones. Unset, nothing changes and no import is rebound. The title's own Bink DLL still opens each movie; the exports a player loop calls are bound to wrappers that put a skipped movie on its last frame, so the title's own end-of-movie check ends it. Wiring here: `SkipMovies` wraps `WithTitleDlls` at startup with the FidelityFX `Interpose` on top (unchanged), and wraps the resolver used for DLLs the title loads later. Streamline is untouched. Original author: C-GDev (fxceless/victory-fork PR 613; the idea is from XCL PR #1053, the code was written anew for VIctory's loader). In my runs the log showed "Bink movies are skipped" and one line per movie, and the logos and the intro were gone. `cargo test -p victory-hle` on this branch: 172 passed / 0 failed / 2 ignored. ## Tested RTX 3070 8 GB (driver 621.24), Ryzen 5 3600, 32 GB, Windows 11; Series S profile, 1920x1080, your launcher's settings without DLSS, built from source. - **In the game** (all four of my pull requests together, on 1010e023): five runs, 73 minutes in all, 0 logged errors, no device loss. Frame times were not slower than the unmodified tree on the same save: medians of the 5-second lines in a 37-minute run were 64 / 78 / 94 ms at 3,000-5,000 / 5,000-7,000 / 7,000-9,000 draws, against 89 / 104 / 116 ms for the unmodified tree in a 51-minute run the same evening. The routes differed, so read that as "not slower", not as a gain. - **On c437b059** (this branch is based there; it merges cleanly onto 18a8dc26): the branch compiles (`cargo check --locked -p victory --features diagnostics`). `cargo test --workspace --locked` with all four changes: 1043 passed / 3 failed / 46 ignored; on c437b059 alone: 1034 / 3 / 46. The same three fail on both: `indirect::tests::host_list_budget_starts_empty_at_each_submission`, `indirect::tests::warp_batch_charges_every_execution`, and `policy::tests::repository_passes_policy` (it rejects `PLAY_FRAMEGEN.bat`). - **Clippy** (`--workspace --all-targets -- -D warnings`, with and without `--all-features`, `--keep-going`): fails on c437b059 alone and with these changes, with the same findings (31 and 30 distinct, none in the changed code); the first is `victory-formats/src/texture.rs:1346`. Not tested: AMD and Intel cards, DLSS and frame generation, Series X beyond one 9-minute run. AI-assisted: ported, checked and written up with Claude Code; the game runs were played by me. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
VICTORY_SKIP_BINK=1 skips the movies that play once (logos, the intro);
=all skips the looping ones too. Unset, nothing changes: no import is
rebound. The title's own Bink DLL still opens each movie; the exports a
player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame,
BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers that put a
skipped movie on its last frame, so the title's own end-of-movie check ends
it at once.

Wiring for this tree (run.rs): SkipMovies wraps WithTitleDlls at startup,
so the executable's and its DLLs' imports go through it, with the
FidelityFX Interpose on top (it only looks at its own DLL and is unchanged);
and it wraps the resolver LateDlls binds DLLs the title loads later with.

Original author: C-GDev (fxceless/victory-fork pull request 613, 75fe122c;
the idea is from XCL pull request #1053, the code was written anew for
VIctory's loader). Ported by hand from CuteBooty/victory-8gb.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 08:55:39 +00:00
github manually merged commit 1a94d3ad55 into main 2026-11-27 10:44:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.