[PR #1022] OLD-10040: bink_index: validate frame offsets within each stored stream #1059

Open
opened 2026-11-26 20:19:57 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1022
Author: @klikso
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: carry/old-10040-bink-index-validate


📝 Commits (1)

  • 77df871 bink_index: validate frame offsets within each stored stream

📊 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

Claimed in the coordination issue as: OLD-10040

What and why

Carries forward old-pr/10040 (draft #305) rebased onto current main:

  • Validates frame offsets within each stored Bink video stream in tools/bink_index.py.
  • Updates documentation in docs/movies.md.
  • Adds regression unit tests in tests/test_bink_index.py.

Original commit preserved: Tiller431 <[email protected]>.

Tested

  • python -I tests/test_bink_index.py: 41/41 passed
  • python -I scripts/check_no_game_data.py tools/bink_index.py tests/test_bink_index.py docs/movies.md: passed (no game data)
  • python -I tests/test_text_write_line_endings.py: passed
  • python -m compileall -q make_game.py tools tests: clean

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed: n/a (no translator rule).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1022 **Author:** [@klikso](https://github.com/klikso) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry/old-10040-bink-index-validate` --- ### 📝 Commits (1) - [`77df871`](https://github.com/ubiquitarianism/leonida/commit/77df8717a78f1595c77ba0ae273f14a8b2151322) bink_index: validate frame offsets within each stored stream ### 📊 Changes **3 files changed** (+146 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `docs/movies.md` (+11 -3) 📝 `tests/test_bink_index.py` (+80 -0) 📝 `tools/bink_index.py` (+55 -10) </details> ### 📄 Description Claimed in the coordination issue as: OLD-10040 ### What and why Carries forward `old-pr/10040` (draft #305) rebased onto current `main`: - Validates frame offsets within each stored Bink video stream in `tools/bink_index.py`. - Updates documentation in `docs/movies.md`. - Adds regression unit tests in `tests/test_bink_index.py`. Original commit preserved: `Tiller431 <22901311+[email protected]>`. ### Tested - `python -I tests/test_bink_index.py`: 41/41 passed - `python -I scripts/check_no_game_data.py tools/bink_index.py tests/test_bink_index.py docs/movies.md`: passed (no game data) - `python -I tests/test_text_write_line_endings.py`: passed - `python -m compileall -q make_game.py tools tests`: clean GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed: n/a (no translator rule). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1059
No description provided.