[Bug 29852] Star Trek Birth of the Federation - No Videos

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 19 21:38:49 CST 2015


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

--- Comment #13 from Bruno Jesus <00cpxxx at gmail.com> ---
Dmitry, I found something new. The game is calling ICLocate [1] with the
negative height in the LPBITMAPINFOHEADER lpbiOut.

The game installs its own iccvid.dll inside the game folder, on XP I deleted
this dll and the video NO longer plays (the game requires an older version of
iccvid to work). In wine I forced iccvid as native (confirmed by not having
debug traces anymore) to check if videos would render and they ARE displayed
correctly. So:

XP + system32 iccvid = NO VIDEO
XP + game iccvid     = GOOD VIDEOS
Wine + built iccvid  = NO VIDEO (due to negative biHeight check)
wine + game iccvid   = GOOD VIDEOS

This bug could be potentially invalid but it looks like wine iccvid could still
cope with negative biHeights like the old versions of iccvid, I see no harm in
that.

By old version I mean:
XP version of iccvid   = 1.10.0.13
game version of iccvid = 1.10.0.6

[1] https://source.winehq.org/source/dlls/msvfw32/msvideo_main.c#0605

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