Capturing in the splash screen resolution
There is an issue with capturing games that display a splash screen window at the initial launch of the executable.
The initial approach we take before recording is to immediately retrieve the window handle of the game process that has just launched. If we retrieve the handle quick enough, it may end up being the splash screen window and not the actual game window.
Therefore, the output recording capture will be set at the resolution of the splash screen and not the actual game. This is not intended behavior.
Below are the following conflicted window handle class names that were recorded displaying this issue:
"SplashScreenWindow" - Tekken 7
"CoD Splash Screen" - Call of Duty®: Modern Warfare® II
"SDL_app" - Marauders
"EACLauncherWnd" - Squad
The occurrence is also common with splash screens that use Easy Anti Cheat.
Some proposed solutions:
- [ ] Check the aspect ratio of the initial splash screen to see if it is a standard game resolution
- [x] Keep a dictionary/regex/string manipulation against conflicted window handle class names (partially implemented)
- [ ] Check periodically if the window resolution has changed