Commit Graph

4 Commits

Author SHA1 Message Date
11a1f88c07 docs(runtime tests): tighten the Bink second-machine wording and link the notes 2026-11-22 21:41:05 -06:00
e69471eaab docs(runtime tests): independent 1.0.2.1 package-gated runs on a second machine
All six gated tests pass on Windows 11 / Ryzen 7 7800X3D / RX 7900 XTX
(32.0.32015.7029) against an independently verified package on main d0835dd9:
pe_loader, fsr_dispatch (steps 1-7; context created as on WARP, dispatch stops
at the documented compute-pipeline refusal), bvh_builder (WARP per RT-89),
bink_decode, bink_audio and bink_play_headless.

New measured facts recorded:
- bink_audio: 1280x720 1-track 0x7000 binkaudio_dct 48 kHz stereo stream,
  181 frames -> 1,158,400 PCM bytes (6.033 s), calls=181, no pre-roll.
- bink_decode: a KB2j-revision 512x512 15-frame stream decodes (2 shim / 58
  host / 0 unimplemented imports, frames 0 and 1 differ), so both revisions
  decode through the loader on more than one package copy.
- bink_play: 720p 181-frame headless decode at 672 fps on this CPU.

Offsets, sizes and counts only; no game data. movies.rpf indexing reproduced
docs/movies.md exactly (515 streams, 1,094,744 padding bytes, 22,812 unread).
2026-11-22 21:41:05 -06:00
9c5ec38122 bink_play: play by name, and the stinger when started with no movie
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>
2026-11-22 18:48:54 +00:00
fb6f143da9 bink_play: play a game movie in a window, straight from its archive
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>
2026-11-22 18:48:52 +00:00