Commit Graph

6 Commits

Author SHA1 Message Date
004620ec56 Merge pull request #4567 from bobcatchris
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/movies.md
2026-11-22 23:16:01 -05:00
60f1d31945 docs(runtime tests): link the KB2j composition from bink_decode_test 2026-11-22 21:41:52 -06:00
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
245a761c6e docs/movies.md: the Bink2Scarlett ABI measured over the archive (ASSET-324)
A new "ABI over the archive" subsection gives the HBINK fields (width
+0x00, height +0x04, frames +0x08, current frame +0x0c, playback rate
+0x14/+0x18, audio tracks +0x38) and the BINKSUMMARY ones (144 bytes;
width +0x28, height +0x2c, file rate +0x34/+0x38, playback rate
+0x3c/+0x40, frames +0x48), each matched on all 515 streams, and the
return values: BinkDoFrame and BinkCopyToBuffer 0 on every call, BinkWait
0 before the first frame and 1 when called before the next is due.
Section 5's ABI bullet and the decode-evidence bullets now point there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:09:32 +01:00
70e240ba45 runtime: add optional Bink 2 decode test through loader/xmem 2026-11-21 18:27:47 +00:00