BK2 Video Player implemented wrong? #35

Closed
opened 2026-11-27 02:32:23 +00:00 by github-bot · 1 comment
Owner

@⁠CedarCoder1 on GitHub · 2026-11-22 11:55 UTC · original

When trying to use the built in bink 2 video player this alert pops up on screen and the video doesn't play unless the video is popped out.

image
**@⁠CedarCoder1** on GitHub · 2026-11-22 11:55 UTC · [original](https://github.com/rpatty-dev/PercyStar/issues/35) When trying to use the built in bink 2 video player this alert pops up on screen and the video doesn't play unless the video is popped out. <img width="1962" height="1165" alt="image" src="https://github.com/user-attachments/assets/d735f8ff-69c0-431b-b521-0c0244296d5f" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:32:23 +00:00
Author
Owner

@⁠rpatty-dev on GitHub · 2026-11-22 12:17 UTC · original

Fixed in PercyStar v1.4.5!

Root cause: Docked playback in select_entry passed /NoBorder /DrawD3D11 /L /W640 /H360 to binkplay.exe, which triggers an alert popup on RAD Video Tools versions that reject those flags. Pop-out worked because it passed only the .bk2 file path, and the Win32 embedder (dock_child_hwnd) already strips borders and resizes the child window via SetWindowLongW + SetParent + MoveWindow.

Docked playback now passes only the .bk2 path just like Pop-out.

**@⁠rpatty-dev** on GitHub · 2026-11-22 12:17 UTC · [original](https://github.com/rpatty-dev/PercyStar/issues/35#issuecomment-7079005625) Fixed in **PercyStar v1.4.5**! **Root cause:** Docked playback in `select_entry` passed `/NoBorder /DrawD3D11 /L /W640 /H360` to `binkplay.exe`, which triggers an alert popup on RAD Video Tools versions that reject those flags. Pop-out worked because it passed only the `.bk2` file path, and the Win32 embedder (`dock_child_hwnd`) already strips borders and resizes the child window via `SetWindowLongW` + `SetParent` + `MoveWindow`. Docked playback now passes only the `.bk2` path just like Pop-out.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/rpatty-dev--PercyStar#35
No description provided.