https://bugs.winehq.org/show_bug.cgi?id=46928
Bug ID: 46928 Summary: Atelier Firis config tool doesn't show up when launched through Steam Product: Wine Version: 4.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: tijs96@hotmail.com Distribution: ---
Created attachment 64032 --> https://bugs.winehq.org/attachment.cgi?id=64032 Logs with the __crtGetShowWindowMode call data
The config tool window doesn't show up when launched through Steam (windows version, not proton) with builtin msvcr110, but with native msvcr110 it shows up just fine. When launching it without steam it shows up with both native and builtin.
The reason for this seems to be that the config tool calls __crtGetShowWindowMode and uses the return value in a call to ShowWindow. Wine's implementation of __crtGetShowWindowMode seems to differ from the native dll.
Steam + builtin: window doesn't show up, __crtGetShowWindowMode returns 0. Steam + native: window does show up, __crtGetShowWindowMode returns ?. (steam crashes with +snoop)
Without steam + builtin: window shows up, __crtGetShowWindowMode returns 1. Without steam + native: window shows up, __crtGetShowWindowMode returns 10.
Steam + builtin dll with __crtGetShowWindowMode hardcoded to return 10: window shows up, __crtGetShowWindowMode returns 10.
I haven't done much investigating with proton, but the window shows up without any tweaks on proton.