docs: verify movie archive padding and trailer totals #161

Closed
Andretuta wants to merge 1 commit from upstream-pr/161 into main
Andretuta commented 2026-11-24 02:32:08 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:32:08Z.


Carried over from old PR 9892 by Tiller431 in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9892, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
Tiller431: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Coordination claim

What and why

Section 3 of the movie archive documentation records the padding and trailer totals as a prediction from an earlier tail measurement. A read-only run of the current indexer on the Xbox 1.0.2.1 archive confirmed those totals.

Tested

On Windows, the archive size and SHA-256 matched the package manifest. At 2d53a8055, tools/bink_index.py counted 515 streams, 1,098,628 bytes of zero padding, 18,928 trailer bytes and 0 unread bytes. The index covered 425,440 frames and 229 audio tracks.

All 34 tests in tests/test_bink_index.py passed. The changed document passed scripts/check_no_game_data.py and git diff --check.

AI-assisted: yes (Codex).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5464980124 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/161). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:32:08Z. --- > Carried over from **old PR 9892** by `Tiller431` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9892`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `Tiller431`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): [Coordination claim](https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116751033) ### What and why Section 3 of the movie archive documentation records the padding and trailer totals as a prediction from an earlier tail measurement. A read-only run of the current indexer on the Xbox 1.0.2.1 archive confirmed those totals. ### Tested On Windows, the archive size and SHA-256 matched the package manifest. At `2d53a8055`, `tools/bink_index.py` counted 515 streams, 1,098,628 bytes of zero padding, 18,928 trailer bytes and 0 unread bytes. The index covered 425,440 frames and 229 audio tracks. All 34 tests in `tests/test_bink_index.py` passed. The changed document passed `scripts/check_no_game_data.py` and `git diff --check`. AI-assisted: yes (Codex).
MoonEyes commented 2026-11-27 18:58:49 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T18:58:49Z.


Thanks a lot for this, @Andretuta. We checked and the change in this pull request is already in main: it landed through #1805, and the lines this PR changes are already in main with the same wording.

Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226065804 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/161#issuecomment-7226065804). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T18:58:49Z. --- Thanks a lot for this, @Andretuta. We checked and the change in this pull request is already in `main`: it landed through #1805, and the lines this PR changes are already in `main` with the same wording. Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed. AI-assisted (Claude Code, Claude Opus 5.5)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
ProjectLeonida/mandy!161
No description provided.