http://bugs.winehq.org/show_bug.cgi?id=15268
Summary: No Video or Sound in GameMaker 7 Games Product: Wine Version: 1.1.4 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: me100313@gmail.com
This is on Kubuntu Hardy (KDE4.1) 32-bit. Games that are made with GameMaker 7 show their splash screen, then open up to a black window with no sound or display. I have found that the controls still work as I am able to get dialog boxes to appear in one of the games I tried. I think the game is running, but video and audio just are not working.
I tried two games. The first is Mushroom Kingdom Fusion, found here: http://mkfusion.ipbfree.com/index.php?showtopic=905&st=0&#entry12846
You will need both the music pack and the game data files. Also, you should delete mp3_title.mp3 from the music pack as that causes a known lockup with the game. This game uses FMOD for the background music, so it does work if you can blindly get through the menu and start playing. To do this, wait a minute or two for the intro logos (you can't see them, but that's what you would see) to cycle through then hit Enter or Shift to start a new game. Just keep hitting them both until you hear the BG music. Then you can use the arrow keys to move right one or two times (SMB3 style map) and use Shift to enter a level. You'll hear the level music play, but the video and the sound effects (which do NOT use FMOD) will not work. I have played this game in Windows so that's how I know how to get to a level. This game takes a very long time to load (something that supposedly will be fixed in the next version).
The second game I tried just to verify this bug with other GameMaker games. The other game is Sonic FGX ( http://www.yoyogames.com/games/show/30975 ) and does not use FMOD for music. In this game, I manged to randomly hit arrow keys, Shift, and Enter to get the generic Game Maker grey dialog boxes to appear with descriptions of Sonic, Tails, and the other characters in the game. I assume I was in a character select screen, but don't know since I've never played this game before.
Both games repeatedly flash "fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options 0x32fcbc/0x32fccc" for Sonic FGX and "fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present options 0x32f76c/0x32f77c" for MK Fusion. Both games also show a lot of IDirectMusicLoader or IDirectMusicSegment functions in the console output.
I have included the console output of both games in the files "sfgx_ou.txt" and "mkf_out.txt". Also, I ran wine with WINEDEBUG=+d3d,+dsound,+wine_d3d and output those to "sfgx_dbg.txt" and "mkf_dbg.txt". All of the file will be compressed. The debug output files are 270MB and 460MB.
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #1 from Jesse DeGuire me100313@gmail.com 2008-09-12 23:24:38 --- Okay, so the attachments seem to be way too big to actually attach. There are two compressed archives: ones for MK Fusion at 6.1MB and the other for Sonic FGX at 8.1MB. Each archive contains the normal console output for that game (with no WINEDEBUG channels) and the debug output for WINEDEBUG=+d3d,+dsound,+wine_d3d. The latter txt files are huge! The MKFusion one is 270MB and the Sonic FGX one is 470MB!
Here are links to the attachments. You might need to just copy and paste the links into your browser (clicking on them might give you an "invalid referrer" error or something like that). MKFusion.tar.gz: http://files.myopera.com/The%20J/files/MKFusion.tar.gz SonicFGX.tar.gz: http://files.myopera.com/The%20J/files/SonicFGX.tar.gz
If you need any more info or if you want me to reupload these somewhere else, please let me know.
http://bugs.winehq.org/show_bug.cgi?id=15268
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-13 04:48:43 --- Does wget http://kegel.com/wine/winetricks && sh winetricks directx9
work around the problemn? If so, it's likely due to unimplemented stuff in wine's dm*.dll files
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #3 from Jesse DeGuire me100313@gmail.com 2008-09-13 14:07:42 --- I ran the winetricks script to install DirectX9, but I had to use xkill to kill the DX9 installer when it wanted to restart my computer. All of the DLLs and overrides seemed to be correctly applied, though.
When I use the default overrides--everything set to Native except for d3d8 and d3d9--in both games I get a message that says "Could not initialize Direct Music Audio!" during load. Clicking OK continues to load the game. Video still does not display and I still get the messages about the SwapChainImpl_Present function. In Sonic FGX, I can hear what I assume is the menu music (which is an improvement), but since there's no video I can't tell if I get any further than that. In Mushroom Kingdom Fusion I hear the opening chime for the game (like the "ding" you hear when you startup Super Mario World for the SNES), which I did not hear before, despite getting the message about not initializing Direct Music Audio. However, I don't seem to get any further than that. I should hear another sound (like the secret exit sound in Super Mario World), but I don't and I can't tell if the game has progressed at all. This game usually takes a very long time to load, but it did seem to be going even slower this time around.
I then went into winecfg and set d3d8 and d3d9 to Native as well. When I do this both games show the message "An unexpected error has occurred" and they close when I click OK.
Let me know if there is anything else you need.
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #4 from egasimus fallenblood@gmail.com 2008-10-17 02:45:58 --- Created an attachment (id=16697) --> (http://bugs.winehq.org/attachment.cgi?id=16697) Log of winedebug="+all,-relay" and backtrace of SKULLPOGO, a Game Maker 7 game.
http://bugs.winehq.org/show_bug.cgi?id=15268
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://videogame2play.com/do | |wnloads/spelunky_0_98_1.rar Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #5 from Jeff Zaroyko jeffz@jeffz.name 2009-01-03 19:42:16 --- updating download link with smaller game that has the same issue, confirming for wine 1.1.12
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #6 from Jeff Zaroyko jeffz@jeffz.name 2009-01-03 20:40:40 --- fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present rects (0,0)-(800,600)/(0,0)-(800,600)
Is repeated endlessly.
looking at wined3d there is a comment next to this fixme saying.
/* TODO: If only source rect or dest rect are supplied then clip the window to match */
which appears to make sense, since if you maximise the app window (hack CreateWindowEx to enable it) then you can see that the games graphics are oversized, what the "black screen" is, appears to be just a section of the window that doesn't have anything interesting on it.
With the maximised window, you can see some options for the game, resolution, enable gamepad etc, but the game doesn't appear to receive input properly, as the arrow keys would normally shift the focus among the options, the only thing you can do is press ENTER to accept the default.
This launches the game and again only a section of the window is displayed because the graphics aren't scaled to the correct size.
http://bugs.winehq.org/show_bug.cgi?id=15268
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|No Video or Sound in |GameMaker games graphics are |GameMaker 7 Games |not displayed properly
--- Comment #7 from Jeff Zaroyko jeffz@jeffz.name 2009-01-03 20:45:26 --- revising summary.. there doesn't appear to be any problem with sound.
http://bugs.winehq.org/show_bug.cgi?id=15268
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scott@open-vote.org
--- Comment #8 from Scott Ritchie scott@open-vote.org 2009-02-07 02:29:27 --- A forum poster says:
"add a comment to this bug telling them that their swapchain implementation isn't going to work if they don't implement the copy swapping method (atm the swapchain ignores the swapchain effect specifier and just uses the swapchain flip method)"
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #9 from Scott Ritchie scott@open-vote.org 2009-03-18 22:45:12 --- By the way the game Spelunky illustrates this same behavior without having to mess with music settings and can be downloaded here: http://forums.tigsource.com/index.php?topic=4017.0
http://bugs.winehq.org/show_bug.cgi?id=15268
Ismael Barros razielmine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |razielmine@gmail.com
--- Comment #10 from Ismael Barros razielmine@gmail.com 2009-04-28 05:09:45 --- I can reproduce this bug with GlumBuster (http://www.glumbuster.com/), made with GameMaker 6.1
The game tries to open by default in fullscreen, but it crashes. Setting 1.0000 or -1.0000 instead of 0.0000 in se.tup, the game starts fine in windowed mode, but with a black screen and with the "Unhandled present options" showing up in every frame update [1].
However the game seems to be actually rendered, but off the window. If you maximize the window, you get to see a small portion of the game [2]. Maybe it's due to some error with nVidia dualhead handling, but when I maximize the window in my other, bigger screen, almost the entire game is shown [3], and if I remove the window border (Alt+F3->Avanced->No border), I get to see the full game scene. [4].
Besides these problems, game rendering looks perfectly fine.
[1] http://img257.imageshack.us/img257/4898/glumbuster.png [2] http://img407.imageshack.us/img407/4648/glumbuster1.png [3] http://img223.imageshack.us/img223/5087/glumbuster2.png [4] http://img407.imageshack.us/img407/7196/glumbuster3.png [5] http://img253.imageshack.us/img253/6638/glumbuster4.png
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #11 from Ismael Barros razielmine@gmail.com 2009-07-08 08:04:14 --- Created an attachment (id=22254) --> (http://bugs.winehq.org/attachment.cgi?id=22254) WINEDEBUG="+all,-relay" log for Glum Buster
The log size was 1.3GB, so I'm only attaching the 6000 first and the 6000 last lines
$ head -n 6000 Glum\ Buster.log > Glum\ Buster2.log && echo "---------------SNIP---------------" >> Glum\ Buster2.log && tail -n 6000 Glum\ Buster.log >> Glum\ Buster2.log
http://bugs.winehq.org/show_bug.cgi?id=15268
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbysamppi@gmail.com
--- Comment #12 from Jeff Zaroyko jeffz@jeffz.name 2009-09-05 18:43:36 --- *** Bug 19940 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #13 from Jeff Zaroyko jeffz@jeffz.name 2009-10-03 20:39:50 --- Also affects RunMan: Race Around the World: http://whatareyouwait.info/download.php
http://bugs.winehq.org/show_bug.cgi?id=15268
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #14 from Jeff Zaroyko jeffz@jeffz.name 2010-01-10 21:16:56 --- bug 17172 seems to have improved the situation here so I'm going to mark it a duplicate
Spelunky shows its splash screen scaled correctly, an older version 0.98.1 crashes in wined3d when trying to load. v1.1 loads fine and displays the ingame graphics/title sequence correctly.
Glumbuster appears to crash in wined3d after loading the first part, similar to Runman RATW.
Looks like separate bugs should be filed for these as the original scaling issue is fixed.
*** This bug has been marked as a duplicate of bug 17172 ***
http://bugs.winehq.org/show_bug.cgi?id=15268
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Jeff Zaroyko jeffz@jeffz.name 2010-01-10 21:17:13 --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=15268
--- Comment #16 from Jeff Zaroyko jeffz@jeffz.name 2010-01-10 21:50:34 --- bug 21323 filed for the 0.98.1 spelunky crash