[Bug 40777] The Moment of Silence launcher unusable (displays only black)
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Oct 17 13:17:45 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=40777
Paul Gofman <gofmanp at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gofmanp at gmail.com
--- Comment #6 from Paul Gofman <gofmanp at gmail.com> ---
Created attachment 65457
--> https://bugs.winehq.org/attachment.cgi?id=65457
Fix
I've tested the demo.
The launcher is getting confused by zero window coordinates passed to
WM_NCCALCSIZE when SetWindowPos() is called from SetWindowRgn(). Zero
coordinate are passed to WM_WINDOWPOSCHANGING in WINPOS structure both under
Windows and Wine, but WM_NCCALCSIZE is different.
I am attaching the patch which is fixing it.
While that fixes the launcher, the demo still does not start. Choosing 'Start'
runs some DRM config / launcher, when selecting 'Ok' there it registers some
services and then fails:
003f:fixme:ntoskrnl:PsSetCreateThreadNotifyRoutine stub: 003405C0
wine: Unhandled page fault on read access to 0xffffffff at address 00359C07
(thread 0045), starting debugger...
0034:err:service:process_send_command service protocol error - failed to read
pipe r = 0 count = 0!
0032:err:module:LdrInitializeThunk "MOSSFL.DLL" failed to initialize, aborting
0032:err:module:LdrInitializeThunk Initializing dlls for L"C:\\mos\\Mos.exe"
failed, status c0000142
Then those services continued to crash during each "boot" of Wine prefix until
I removed them manually (while it is really better to delete such Wine prefix).
The demo itself didn't work for me on Windows 7 either. There was no crash upon
attempt to start the game itself, but it silently closes. Maybe it needs to be
run as administrator, but I did not try that.
So if this demo really works on Windows somehow (or a full game does) but does
not work under Wine these further issues deserve a separate bug report.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list