Clarify Bink skip environment values #2667

Open
luckyteagirl wants to merge 1 commit from upstream-pr/2677 into main
luckyteagirl commented 2026-11-26 05:51:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:51:33Z.


The README omitted empty values from the XCL_SKIP_BINK settings that leave movie skipping off. It also omitted the parser's whitespace trimming and case-insensitive matching.

What is in it

  • Document how the existing parser treats empty values, surrounding whitespace, and case.

Tested

  • Ran the current parse_mode in a standalone Rust harness on Windows. All 10 cases passed, covering unset, empty, whitespace-only, off spellings, padded uppercase ALL, and non-looping settings.
  • git diff --check passed.

Regression run

  • Not applicable. This is a README-only correction.

Not tested

  • The Rust workspace suite, GPU tests, or a retail title run.

AI use

  • Codex (GPT-6.2 Sol) compared the README with the parser, wrote the correction, and verified the parser behavior.
<!-- greyfinch-sync:ivall/xcl:issue:5504793535 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2677). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T05:51:33Z. --- The README omitted empty values from the `XCL_SKIP_BINK` settings that leave movie skipping off. It also omitted the parser's whitespace trimming and case-insensitive matching. **What is in it** - Document how the existing parser treats empty values, surrounding whitespace, and case. **Tested** - Ran the current `parse_mode` in a standalone Rust harness on Windows. All 10 cases passed, covering unset, empty, whitespace-only, off spellings, padded uppercase `ALL`, and non-looping settings. - `git diff --check` passed. **Regression run** - Not applicable. This is a README-only correction. **Not tested** - The Rust workspace suite, GPU tests, or a retail title run. **AI use** - Codex (GPT-6.2 Sol) compared the README with the parser, wrote the correction, and verified the parser behavior.
github-actions[bot] commented 2026-11-30 08:42:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:42:54Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273251825 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2677#issuecomment-7273251825). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:42:54Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 08:41:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:41:04Z.


Triage (#1607) – head 4255b2f

No open or merged PR makes the same change. The new wording matches hle/bink.rs::parse_mode on main (value trimmed and lowercased; empty, 0, off, false, no are off; all also skips looping movies). No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305641531 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2677#issuecomment-7305641531). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:41:04Z. --- **Triage (#1607)** – head 4255b2f No open or merged PR makes the same change. The new wording matches `hle/bink.rs::parse_mode` on main (value trimmed and lowercased; empty, `0`, `off`, `false`, `no` are off; `all` also skips looping movies). No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Decodere commented 2026-12-02 08:58:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-12-02T08:58:24Z.


merge-check
base: 1c8b551475
head: 4255b2f0f1
merge: clean (git merge --no-edit onto 1c8b5514, git diff --check clean; README.md +3/-3)
build: not run (Tier 0 docs-only diff touching only README.md; no Rust or script code changed)
tests: not run (Tier 0 docs-only diff; verified every documented value verbatim against crates/xcl/src/hle/bink.rs:58-65)
review: Read the full diff (README.md, +3/-3) and verified against live hle::bink::parse_mode (crates/xcl/src/hle/bink.rs:58-65): raw.trim().to_ascii_lowercase().as_str() maps unset, empty "", "0", "off", "false", "no" to Mode::Off, "all" to Mode::All, and any other value to Mode::NonLooping. Matches live code verbatim; no competing PR edits these lines.
performance: none (documentation only; zero runtime, frame-time, or memory impact)
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 4060 8 GB (driver 621.40), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Python 3.15.2, Rust 1.100.1 MSVC, DXC 1.9.2602.17 / Antigravity (Gemini 4 Neon)

<!-- greyfinch-sync:ivall/xcl:comment:7340183024 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2677#issuecomment-7340183024). Originally posted by [Decodere](https://github.com/Decodere) on 2026-12-02T08:58:24Z. --- merge-check base: 1c8b551475e1e7bfe48f94448492a4c3544a2e0f head: 4255b2f0f17813f5233a33c31f63bea4511a5651 merge: clean (`git merge --no-edit` onto `1c8b5514`, `git diff --check` clean; `README.md` +3/-3) build: not run (Tier 0 docs-only diff touching only `README.md`; no Rust or script code changed) tests: not run (Tier 0 docs-only diff; verified every documented value verbatim against `crates/xcl/src/hle/bink.rs:58-65`) review: Read the full diff (`README.md`, +3/-3) and verified against live `hle::bink::parse_mode` (`crates/xcl/src/hle/bink.rs:58-65`): `raw.trim().to_ascii_lowercase().as_str()` maps unset, empty `""`, `"0"`, `"off"`, `"false"`, `"no"` to `Mode::Off`, `"all"` to `Mode::All`, and any other value to `Mode::NonLooping`. Matches live code verbatim; no competing PR edits these lines. performance: none (documentation only; zero runtime, frame-time, or memory impact) verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 4060 8 GB (driver 621.40), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Python 3.15.2, Rust 1.100.1 MSVC, DXC 1.9.2602.17 / Antigravity (Gemini 4 Neon)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2677:upstream-pr/2677'
git switch 'upstream-pr/2677'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2677'
git switch 'upstream-pr/2677'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2677'
git switch 'upstream-pr/2677'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2677'
git switch 'main'
git merge --squash 'upstream-pr/2677'
git switch 'main'
git merge --ff-only 'upstream-pr/2677'
git switch 'main'
git merge 'upstream-pr/2677'
git push origin 'main'
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
xcl-dev/xcl!2667
No description provided.