@Flyander's review: the highest changed byte bounds the extent, not the
bytes written or the structure's size. With two sentinels a written byte
always differs from one of them, so the test now records every byte that
kept the sentinel in both calls and checks that none below the extent did:
on all 515 streams BinkGetSummary writes every byte of +0x00..+0x8F and
none after. docs/movies.md and the test notes say that, and that the
declared structure may have padding past +0x8F; the source link in the
ABI subsection now points at the .cpp, with the notes linked beside it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An optional Windows test that maps the package's Bink2Scarlett.dll with
rt::Loader and opens every stream of a tools/bink_index.py CSV in place
inside movies.rpf (BinkSetFileOffset + BinkOpen 0x20). For each stream it
keeps the HBINK and BINKSUMMARY word offsets that hold the header's width,
height, frame count, frame rate and audio track count, follows the current
frame number across BinkOpen/BinkNextFrame/BinkGoto, and tallies the
BinkWait/BinkDoFrame/BinkCopyToBuffer return values. One stream is reopened
with BinkSetFrameRate(24000, 1001) to separate the playback rate from the
file's (flag 0x1000, the only single bit that applies it).
1.0.2.1: 515/515 streams, RESULT PASS in 46 s. Offsets and counts only;
no frame is written. Skips (77) without LEONIDA_GAME_DIR/LEONIDA_BINK_INDEX.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>