feat(hle): skip the intro movie or all Bink movies on request (LARP_SKIP_INTRO, LARP_SKIP_BINK) #309
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!309
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-309"
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?
@niiniiniintje on GitHub · 2026-12-05 22:58 UTC · original
niiniiniintje:feat/skip-intro→main· +426 −0 · 4 files · 1 commits · merged 2026-12-05 23:10 UTCAdds an opt-in Bink movie skipper.
LARP_SKIP_INTRO=1skips the intro movie at start and goes straight to the menu.LARP_SKIP_BINK=1skips every movie that plays once, andallalso skips the looping menu backgrounds, which then stay dark.The title's Bink DLL stays loaded and opens every movie as usual. A skipped movie is moved to its last frame before its first frame is shown, so the title's own end-of-movie check ends it. The title opens its movies from memory, so no movie name reaches the DLL. The intro is therefore identified as the first movie at 3840x2160 with 450 frames. Only imports bound by the loader are wrapped, both at startup and for DLLs loaded later. An export looked up with
GetProcAddressis not.Ported from VIctory-xmem (
0a4aadf,25b1a09). It goes back to C-GDev's fork PR 613, with the idea from XCL PR #1053. TheVICTORY_switches are renamedLARP_.wrap_withreturns the DLL's address unchanged, so the bound imports are the same as onmain.docs/environment-variables.md.modules::bink::tests::mode_valuesandskips_movies_and_passes_the_rest_throughpass, cross-built forx86_64-pc-windows-msvcand run under Wine.Checked on Linux only: Proton (Wine 11), RX 7900 XTX, retail 1.0.2.1, Series X profile. With
LARP_SKIP_INTRO=1the game starts at the menu, and loading screens and in-world videos still play. Not checked on native Windows.@Heliumrich on GitHub · 2026-12-05 23:52 UTC · original
This trigger a false positive trojan detection in Windows Defender for me