mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-28 17:42:28 +08:00
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:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user