[Bug 36514] King's Quest: Mask of Eternity requires MCIWndCreate to create a child window when parent is specified

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 2 01:19:31 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=36514

--- Comment #4 from Nico Bendlin <nico at nicode.net> ---
Two demos have been released:
- Swamp Demo (MaskDemo, English, game version 1.0.0.0)
- Daventry Demo (MaskCh1, English, game version 1.0.0.1)
Only the latter includes the intro video.

Both demos can be downloaded from:
http://www.sierrahelp.com/Misc/Demos.html#K
Note that the Sierra Help Pages (SHP) setup install a modified game version
1.0.0.3 binary. You can use them if the original setup (16-bit installer) does
not work.

MCI in Wine does not support playing AVIs with unregistered file extensions
(the videos in KQMoE are named W32*_1.dll). For Wine you have to rename the
file and replace "w32opn_1.dll" with "w32opn_1.avi" in the Mask.exe.

Another problem is the Indeo Video 5.0 codec that has been used for the
original videos. You can download more compatible videos (Cinepak/MSADPCM)
from:
http://nicode.net/games/kqmoe/

The current documentation for MCIWndCreate can be found here:
https://msdn.microsoft.com/en-us/library/dd757172%28v=vs.85%29.aspx
It explicitly states that the default style includes WS_CHILD if a parent
window is specified.

I created a runtime shim library that fixes several issues in KQMoE. Adding
WS_CHILD for the MCIWndCreate call did not work in Wine. I had to change the
window style and make the MCI window a child of the parent after the
MCIWndCreate call to make the videos work in Wine.

Currently my spare time is very limited. It might take some time to retest it
with my current Wine package (wine-development (1.7.52) on Debian "stretch",
had no time to switch back to wine (1.8~rc1-1)).

-- 
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