https://bugs.winehq.org/show_bug.cgi?id=28861
--- Comment #23 from Chiitoo escomk3@hotmail.com --- Created attachment 61062 --> https://bugs.winehq.org/attachment.cgi?id=61062 Combined Win7 and WinXP Output (tid,imm)
(In reply to Algaris from comment #22)
Thanks.
So far I'm (still) unable to reproduce the issue, while having Windows 7 set as the version to be reported to the application.
If set to Windows XP, however, differing a bit from the original report here, and even though bug 35323 was reportedly fixed, I can still see the crash before the title screen, right after the loading is done which occurs after having accepted to the “Rules of Conduct”.
The backtrace does seem to be similar to those seen here.
I'll attach some test runs from when it's working, as well as when it's not working.
Before I was wondering if this is somehow specific to macOS, since I couldn't see it on Gentoo Linux, but then there are those reports from Debian and Ubuntu. If I find the time, I may set up such a test system to see if I can not run the game in Windows 7 mode there either.
Forcing NULL in a way or another does still make things work for me even in Windows XP mode.
For example, just commenting out, or removing the mentioned lines (updated patch for that):
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 685eb018c4..522b01dd84 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -1509,8 +1509,8 @@ HIMC WINAPI ImmGetContext(HWND hWnd) rc = GetPropW(hWnd,szwWineIMCProperty); if (rc == (HIMC)-1) rc = NULL; - else if (rc == NULL) - rc = get_default_context( hWnd ); +/* else if (rc == NULL) + rc = get_default_context( hWnd );*/
if (rc) {