win-capture: Add Construct 3 window class to WGC match

Construct 3 games register a top-level window class named
"WindowsWebview2Wrapper" which does not contain "Chrome" or "Mozilla",
causing OBS automatic mode to use BitBlt instead of WGC, which results
in a black screen for Construct 3 games.

Add "WindowsWebview2Wrapper" to wgc_whole_match_classes and add
compatibility entries for window capture BitBlt and game capture
warnings.

Closes #13359
This commit is contained in:
Pablo
2026-05-25 21:25:31 +01:00
committed by Ryan Foster
parent dc1e75b9cb
commit bcd53e2914
3 changed files with 41 additions and 12 deletions
@@ -86,6 +86,34 @@
"message": "Games built on Chromium cannot be captured using Game Capture. Use Window Capture or Display Capture instead.",
"url": ""
},
{
"name": "Construct 3",
"translation_key": "Compatibility.WindowCapture.BitBlt.Applications.Based",
"severity": 0,
"executable": "",
"window_class": "WindowsWebview2Wrapper",
"window_title": "",
"match_flags": 4,
"game_capture": false,
"window_capture": true,
"window_capture_wgc": false,
"message": "Applications based on Chromium may not be capturable using the selected Capture Method (BitBlt).",
"url": ""
},
{
"name": "Construct 3",
"translation_key": "Compatibility.GameCapture.Blocked.Applications.Built",
"severity": 2,
"executable": "",
"window_class": "WindowsWebview2Wrapper",
"window_title": "",
"match_flags": 4,
"game_capture": true,
"window_capture": false,
"window_capture_wgc": false,
"message": "Games built on Chromium cannot be captured using Game Capture. Use Window Capture or Display Capture instead.",
"url": ""
},
{
"name": "UWP",
"translation_key": "Compatibility.WindowCapture.BitBlt.Applications",
+2 -2
View File
@@ -1,11 +1,11 @@
{
"$schema": "schema/package-schema.json",
"url": "https://obsproject.com/obs2_update/win-capture/v1",
"version": 10,
"version": 11,
"files": [
{
"name": "compatibility.json",
"version": 10
"version": 11
}
]
}
+11 -10
View File
@@ -121,16 +121,17 @@ static const char *wgc_whole_match_classes[] = {
"Windows.UI.Core.CoreWindow",
"WinUIDesktopWin32WindowClass",
"GAMINGSERVICESUI_HOSTING_WINDOW_CLASS",
"XLMAIN", /* Microsoft Excel */
"PPTFrameClass", /* Microsoft PowerPoint */
"screenClass", /* Microsoft PowerPoint (Slide Show) */
"PodiumParent", /* Microsoft PowerPoint (Presenter View) */
"OpusApp", /* Microsoft Word */
"OMain", /* Microsoft Access */
"Framework::CFrame", /* Microsoft OneNote */
"rctrl_renwnd32", /* Microsoft Outlook */
"MSWinPub", /* Microsoft Publisher */
"OfficeApp-Frame", /* Microsoft 365 Software */
"XLMAIN", /* Microsoft Excel */
"PPTFrameClass", /* Microsoft PowerPoint */
"screenClass", /* Microsoft PowerPoint (Slide Show) */
"PodiumParent", /* Microsoft PowerPoint (Presenter View) */
"OpusApp", /* Microsoft Word */
"OMain", /* Microsoft Access */
"Framework::CFrame", /* Microsoft OneNote */
"rctrl_renwnd32", /* Microsoft Outlook */
"MSWinPub", /* Microsoft Publisher */
"OfficeApp-Frame", /* Microsoft 365 Software */
"WindowsWebview2Wrapper", /* Construct 3 Games */
"SDL_app",
NULL,
};