A NAME (a game path or a unique part of it) is looked up in the table
tools/bink_play.py keeps, which bink_play builds once if it is missing; the
table also gives the game folder. A windowed run with no movie plays
Stinger/RSG_STINGER.bk2, so double-clicking the executable plays it. A headless
run with no movie still skips (CTest).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Started by double-click, the console closes with the process, so a missing
movie or game folder looked like the player not opening at all.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
runtime/test/bink_play.cpp maps the package's Bink2Scarlett.dll with rt::Loader
and plays a .bk2 at its frame rate (GDI window; pause, seek, loop). A movie
inside an archive plays where it is: archive.rpf@OFFSET goes to BinkOpen with
BinkSetFileOffset and the BINKFILEOFFSET flag, so nothing is extracted.
tools/bink_play.py finds the offset from the movie's name (bink_names.py).
CTest runs the headless smoke, which skips without a package and movie.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>