Skip to content

steamcompmgr: fix the detection of the .nv12.bin extension for screenshot requests#2182

Open
oSoMoN wants to merge 1 commit into
ValveSoftware:masterfrom
oSoMoN:steamcompmgr-nv12-screenshot-fix-extension-detection
Open

steamcompmgr: fix the detection of the .nv12.bin extension for screenshot requests#2182
oSoMoN wants to merge 1 commit into
ValveSoftware:masterfrom
oSoMoN:steamcompmgr-nv12-screenshot-fix-extension-detection

Conversation

@oSoMoN
Copy link
Copy Markdown

@oSoMoN oSoMoN commented May 15, 2026

The extension() method returns only the rightmost extension, in that case ".bin", so the check would never match. As a result the format wouldn't be assigned, and the request would always fail with this misleading error message:

"Oh no, we ran out of screenshot images. Not actually writing a screenshot."

…shot requests

The extension() method returns only the rightmost extension, in that case ".bin",
so the check would never match. As a result the format wouldn't be assigned,
and the request would always fail with this misleading error message:

    "Oh no, we ran out of screenshot images. Not actually writing a screenshot."
@oSoMoN oSoMoN force-pushed the steamcompmgr-nv12-screenshot-fix-extension-detection branch from e4636eb to a3e2e61 Compare May 16, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant