bink_play: locate the player in CMake configuration folders #2251

Open
github-bot wants to merge 1 commit from github-bot/gh-2251 into main AGit
Owner

@⁠kirigayakazima on GitHub · 2026-11-26 10:24 UTC · original
kirigayakazima:codex/bink-play-cmake-config-discovery → main · +18 −4 · 2 files · 1 commits · open

Claimed in the coordination issue as: BINK-PLAY-CMAKE-CONFIG-DISCOVERY

What and why

Find the native player in RelWithDebInfo, Debug and MinSizeRel runtime build directories. Keep the existing lookup order for a flat build, Release and an explicitly supplied player. A synthetic directory fixture exercises each configuration and precedence.

Tested

Windows, Python 3.14.7. The regression failed on the parent commit and passed with this change.

  • python -I tests/test_bink_play.py
  • python -I tests/test_bink_play_cache_write.py
  • git diff --check and the changed-path no-game-data scan passed.
  • Shared main baseline: 498 semantic test files, 6,351 tests passed.

GPUs tested: N/A (synthetic CPU tests).

AI-assisted: Yes.

Checklist

  • Based on current main and merges cleanly with the tested base.
  • One topic.
  • No game data, keys or decryption.
  • Translator contract table: N/A.
**@⁠kirigayakazima** on GitHub · 2026-11-26 10:24 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2251) `kirigayakazima:codex/bink-play-cmake-config-discovery` → `main` · +18 −4 · 2 files · 1 commits · open Claimed in the coordination issue as: [BINK-PLAY-CMAKE-CONFIG-DISCOVERY](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ### What and why Find the native player in RelWithDebInfo, Debug and MinSizeRel runtime build directories. Keep the existing lookup order for a flat build, Release and an explicitly supplied player. A synthetic directory fixture exercises each configuration and precedence. ### Tested Windows, Python 3.14.7. The regression failed on the parent commit and passed with this change. - `python -I tests/test_bink_play.py` - `python -I tests/test_bink_play_cache_write.py` - `git diff --check` and the changed-path no-game-data scan passed. - Shared main baseline: 498 semantic test files, 6,351 tests passed. GPUs tested: N/A (synthetic CPU tests). AI-assisted: Yes. ### Checklist - [x] Based on current main and merges cleanly with the tested base. - [x] One topic. - [x] No game data, keys or decryption. - Translator contract table: N/A.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:24:30 +00:00
Author
Owner

@⁠DeadlyChirp on GitHub · 2026-11-26 10:42 UTC · original

Tested on Windows 11, Python 3.12.10, with this PR merged onto current upstream main.

  • tests/test_bink_play.py: 15 passed, 15 subtests passed (main: 14 passed, 10 subtests).

(AI-assisted test run; output checked by hand.)

**@⁠DeadlyChirp** on GitHub · 2026-11-26 10:42 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2251#issuecomment-7189725574) Tested on Windows 11, Python 3.12.10, with this PR merged onto current upstream main. - `tests/test_bink_play.py`: 15 passed, 15 subtests passed (main: 14 passed, 10 subtests). (AI-assisted test run; output checked by hand.)
Author
Owner

@⁠lixonik on GitHub · 2026-11-26 11:08 UTC · original · reviewed

Windows 11: 15/15 Bink launcher tests passed, including player discovery across all four CMake configurations, the top-level build output and an explicit --exe. The discovery tests use disposable file fixtures. Playback was outside this run. No findings.

AI-assisted.

**@⁠lixonik** on GitHub · 2026-11-26 11:08 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2251#pullrequestreview-6073065796) · **reviewed** Windows 11: 15/15 Bink launcher tests passed, including player discovery across all four CMake configurations, the top-level build output and an explicit `--exe`. The discovery tests use disposable file fixtures. Playback was outside this run. No findings. AI-assisted.
Author
Owner

@⁠tiguan26 on GitHub · 2026-11-27 04:35 UTC · original · approved these changes

Approving b05f1dd6f.

The player is found in every CMake configuration folder (none, Release, RelWithDebInfo, Debug, MinSizeRel), not just the first two.

Merged onto main d1dff7949 in one batch with 22 other tool PRs of this series (no conflicts), on Linux with Python 3.13. tests/test_bink_play.py: 15 passed (main: 14). AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠tiguan26** on GitHub · 2026-11-27 04:35 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2251#pullrequestreview-6083531118) · **approved these changes** Approving b05f1dd6f. The player is found in every CMake configuration folder (none, Release, RelWithDebInfo, Debug, MinSizeRel), not just the first two. Merged onto `main` `d1dff7949` in one batch with 22 other tool PRs of this series (no conflicts), on Linux with Python 3.13. `tests/test_bink_play.py`: 15 passed (main: 14). AI-assisted (Claude Code, Claude Opus 5.5).
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2251/head:github-bot/gh-2251'
git switch 'github-bot/gh-2251'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2251'
git switch 'github-bot/gh-2251'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2251'
git switch 'github-bot/gh-2251'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2251'
git switch 'main'
git merge --squash 'github-bot/gh-2251'
git switch 'main'
git merge --ff-only 'github-bot/gh-2251'
git switch 'main'
git merge 'github-bot/gh-2251'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.