[Bug 15934] New: Can't see Worms 2 intro films as they play
http://bugs.winehq.org/show_bug.cgi?id=15934 Summary: Can't see Worms 2 intro films as they play Product: Wine Version: 1.0.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winmm&mci AssignedTo: wine-bugs(a)winehq.org ReportedBy: deriziotis(a)gmail.com The introduction films to Worms 2 play but you can't see the videos. You can only hear the audio and when they finish it goes into the game as normal. Without any debugging set a fixme line is outputted to the console when each video starts: fixme:mciavi:MCIAVI_mciPlay Unsupported flag 02000003 fixme:mciavi:MCIAVI_mciPlay Unsupported flag 02000003 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|winmm&mci |-unknown --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-11-06 10:51:52 --- FIXME doesn't mean it's a bug in winmm/mci. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 Tom Lloyd <napalmllama(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |napalmllama(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 kapta <ulo_kapta(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ulo_kapta(a)hotmail.com --- Comment #2 from kapta <ulo_kapta(a)hotmail.com> 2009-05-09 00:05:31 --- i believe this is a duplicate of Bug 4256 which has been fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #3 from Tom Lloyd <napalmllama(a)gmail.com> 2009-05-09 07:32:58 --- No, it isn't. See comment 13 of that bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 Denilson F. de Sá <denilsonsa(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |denilsonsa(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2010-09-07 13:31:12 CDT --- Is this still an issue in current (1.3.2 or newer) wine? Does native quartz help? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |00cpxxx(a)gmail.com Ever Confirmed|0 |1 --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-05-14 18:51:39 CDT --- Still present in wine 1.5.4. Same originally reported error: fixme:mciavi:MCIAVI_mciPlay Unsupported flag 02000003 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #6 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-02-16 23:56:40 CST --- Still in wine 1.5.24 fixme:mci:MCI_Break (0100) vkey 001B stub fixme:mciavi:MCIAVI_mciPlay Unsupported flag 02000003 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #7 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-02-17 00:19:29 CST --- Created attachment 43590 --> http://bugs.winehq.org/attachment.cgi?id=43590 +mci of the first video seconds -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle(a)users.sourceforge.ne | |t --- Comment #8 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2013-02-18 08:01:03 CST --- Your attachment shows
trace:mciavi:MCIAVI_GetInfoVideo ash.fccHandler='KMVC' trace:mciavi:MCIAVI_OpenVideo fcc KMVC This is Karl Morton's Video Codec, "KMVC is used on various Worms PC games." says http://wiki.multimedia.cx/index.php?title=KMVC Wine does not find or use this codec, so the screen remains black.
One would expect Worms to install and register its non-standard ICC/VFW codecs. So you should start looking for an installer or ICC/VFW bug. An installer should leave something in c:\windows\system.ini[drivers32] or in the registry HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Drivers32. However, there's also the possibility of a driver registered at run-time, without creating such entries. The main VFW debug channel is +msvideo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #9 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-02-18 16:14:19 CST --- Created attachment 43620 --> http://bugs.winehq.org/attachment.cgi?id=43620 +mciavi,+mci,+msvideo,+loaddll,+winmm Jörg, please take a look at this log. It's important to remember that prior to the video playing there is a .wav sound being played: trace:winmm:proc_PlaySound SoundName=L"sounds\\0.wav" ! +loaddll is used to prove that the video dll codec is beind loaded: trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\KMVIDC32.DLL" at 0x7f840000: native The video path is: trace:mci:MCI_Open lpstrElementName=L"\\autorun\\video\\intro.avi" -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 lizhenbo <litimetal(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #10 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-02-20 18:10:30 CST --- Created attachment 43661 --> http://bugs.winehq.org/attachment.cgi?id=43661 hack to make movies play After talking to Jörg I started looking for the code that actually paints the video frames in the screen because there is nothing wrong with the video decoding. I was lucky enough that the function is called MCIAVI_PaintFrame. So I hacked the hDC that is used and now the movie is played in the desktop, over everything (but with very weird colors) - see the patch. Question: What could happen for the hDC used by Worms to no show? It's non-zero for sure. How can I tell if it's valid? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=15934 --- Comment #11 from Henri Verbeet <hverbeet(a)gmail.com> 2013-02-21 08:31:13 CST --- (In reply to comment #10)
Question: What could happen for the hDC used by Worms to no show? It's non-zero for sure. How can I tell if it's valid?
There are probably a number of things that could go wrong there, but for a start you'll probably want to check where you're getting hWndPaint from, if that's a valid window, if it's visible, etc. Also, does this use ddraw? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15934 --- Comment #12 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to Henri Verbeet from comment #11)
There are probably a number of things that could go wrong there, but for a start you'll probably want to check where you're getting hWndPaint from, if that's a valid window, if it's visible, etc. Also, does this use ddraw?
The window is indeed invisible without the WS_VISIBLE style, so I did a ShowWindow and checked with IsWindowVisible, the return is always 0 because it hits the code: 3078 if (list[0]) 3079 { 3080 for (i = 0; list[i+1]; i++) 3081 if (!(GetWindowLongW( list[i], GWL_STYLE ) & WS_VISIBLE)) break ; 3082 retval = !list[i+1] && (list[i] == GetDesktopWindow()); /* top message window isn't visible */ 3083 } Line 3082 makes retval = 0. So even after ShowWindow the window is still hidden somehow. I don't know what else I could do to go further. I don't know if it uses ddraw, the game itself works perfectly. Only the videos don't play. -- 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=15934 --- Comment #13 from Bruno Jesus <00cpxxx(a)gmail.com> --- I guess the problem is most likely the missing MCI_MCIAVI_PLAY_FULLSCREEN flag support. -- 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=15934 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43661|0 |1 is obsolete| | --- Comment #14 from Bruno Jesus <00cpxxx(a)gmail.com> --- Created attachment 52209 --> https://bugs.winehq.org/attachment.cgi?id=52209 better hack to support fullscreen display The problem is indeed the missing of the fullscreen flag support, the game passes a window that is hidden to mci and mci does try to show the window but it's parent is also hidden so it fails. The attached patch is a proof of concept that makes the videos playable but not stretched to fullscreen nor centered. -- 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=15934 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't see Worms 2 intro |Can't see Worms 2 intro |films as they play |films as they play | |(mciavi32 missing support | |to | |MCI_MCIAVI_PLAY_FULLSCREEN) -- 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=15934 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winmm&mci -- 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=15934 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #15 from joaopa <jeremielapuree(a)yahoo.fr> --- Still a bug in current wine? -- 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=15934 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #16 from winetest(a)luukku.com --- (In reply to joaopa from comment #15)
Still a bug in current wine?
yes -- 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=15934 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/mciavi32-fullscr | |een_support Status|NEW |STAGED -- 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=15934 --- Comment #17 from Mathew Hodson <mathew.hodson(a)gmail.com> --- Patch committed with https://source.winehq.org/git/wine.git/commitdiff/08af837a8c3732da2053d600a0... -- 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=15934 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |08af837a8c3732da2053d600a05 | |8b3e17075df43 Resolution|--- |FIXED --- Comment #18 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Mathew Hodson from comment #17)
Patch committed with https://source.winehq.org/git/wine.git/commitdiff/ 08af837a8c3732da2053d600a058b3e17075df43
Hopefully fixed. -- 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=15934 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor -- 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=15934 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #19 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.7. -- 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=15934 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x -- 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=15934 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |--- --- Comment #20 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 4.0.x milestone from bug fixes included in 4.0.2. -- 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 (1)
-
wine-bugs@winehq.org