[Bug 40276] New: Half-Life: Transparency problem when displaying the logo video
https://bugs.winehq.org/show_bug.cgi?id=40276 Bug ID: 40276 Summary: Half-Life: Transparency problem when displaying the logo video Product: Wine Version: 1.9.5 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: 00cpxxx(a)gmail.com CC: xylem2020(a)gmail.com Distribution: --- This is a split from bug 22533. It seems to be related to the way comctl32 determines the transparent color or maybe in how it applies the color. I'l add more info and workarounds later. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.fileplanet.com/1 | |0360/download/Half-Life:-Up | |Link-Demo Component|-unknown |comctl32 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda(a)volny.cz -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 Johan Gardhage <johan.gardhage(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #1 from winetest(a)luukku.com --- The video is unskipable. I quess fixme:mci:MCI_Break (0102) vkey 001B stub Would fix it. I quess nothing has changed. I also tried wine-staging version once and I got a crash. It printed multiple times this err:clipboard:convert_selection Timed out waiting for SelectionNotify event. wine 2.0rc5. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #2 from Xylemon <xylem2020(a)gmail.com> --- (In reply to winetest from comment #1) Hi winetest, I believe you are referring to the intro videos (the ones that play upon launching the game yes?), if so then it's a different bug. This bug is actually about Half-Life's menu. The logo that displays on the game's menu is an AVI file that isn't playing correctly due to Wine's implementation of comctl32 (using the library from a copy of Windows works around this problem).
The video is unskipable.
You can skip the intro videos if you launch HL with the "-novid" or "-dev -console" parameters, the latter launches in "developer mode" thus skipping the videos.
I also tried wine-staging version once and I got a crash.
It may be worth trying out the latest Staging version of Wine again (don't launch it in fullscreen mode in a virtual window however, it will crash), as I was suffering from the intro videos crashing as well but it was fixed for me not too long ago. Hope this was helpful. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #3 from Xylemon <xylem2020(a)gmail.com> ---
It may be worth trying out the latest Staging version of Wine again (don't launch it in fullscreen mode in a virtual window however, it will crash)
Correction, launching Half-Life in fullscreen regardless of a virtual window will cause it to crash in Staging. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #4 from winetest(a)luukku.com --- (In reply to Xylemon from comment #3)
It may be worth trying out the latest Staging version of Wine again (don't launch it in fullscreen mode in a virtual window however, it will crash)
Correction, launching Half-Life in fullscreen regardless of a virtual window will cause it to crash in Staging.
I think Sebastian already fixed this. See bug 42262. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> --- The specific problem in this bug seems to be that Wine's comctl32 chooses the wrong background color to use as transparency. While Windows chooses 0x80808 Wine chooses 0xb0b0b. 0xb0b0b is indeed the color at GetPixel(0,0) from the first frame in the movie so I don't know where the Windows value came from (my tests may be wrong). By forcing the color to any color that is not in the video it works correctly as it won't "draw" any transparency. This is the code I'm talking about: http://source.winehq.org/source/dlls/comctl32/animate.c#0303 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #6 from Wylda <wylda(a)volny.cz> --- Hi Bruno, is this still an issue? It seems to be fine in wine-4.0-rc2 (definitely not blue as used to be in bug 22533). Unfortunately there are no pictures of what you encountered. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #9 from Chebanenko Igor <chebanenkoigor93(a)gmail.com> --- We have Wine 7.0 right now. Any updates? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=40276 --- Comment #10 from Xylemon <xylemon(a)posteo.net> --- Just want to say this bug is still an issue in 7.1 Screenshot of how it appears in WINE: https://i.imgur.com/CkmVShU.png How it should look: https://www.youtube.com/watch?v=wGJzMp7b-MY Remember that this is for the CD Version, it's very different from Steam. This menu is done via Windows MFC (CWnd) where as the Steam version of HL is all in-game via OpenGL. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla