mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #2221] [CLOSED] bink_index: validate frame offsets on request #2225
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2225
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2221
Author: @whoalin1
Created: 11/26/2026
Status: ❌ Closed
Base:
main← Head:bink-index-validate-frames📝 Commits (1)
b6269e6bink_index: validate frame offsets on request📊 Changes
3 files changed (+146 additions, -13 deletions)
View changed files
📝
docs/movies.md(+11 -3)📝
tests/test_bink_index.py(+80 -0)📝
tools/bink_index.py(+55 -10)📄 Description
Summary
--validate-framesto check each indexed Bink 2 stream's frame-offset tableItem: BINK-INDEX-VALIDATE-FRAMES
This carries forward the still-uncarried fix in old-pr/10040, originally written by Tiller431, reapplied and verified on current main. The original measurement covered 683,552 frame offsets across 797 indexed streams in the 22 manifest-matching archives; this PR does not include or require any game data.
Tests
Under the local machine coordination lock:
frame_index_errordoes not existpython -I tests/test_bink_index.py— 41 tests, OKpython -m compileall -q tools/bink_index.py tests/test_bink_index.py— passgit diff --cached --check— passNo game files or GPU.
AI-assisted with Devin.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.