http://bugs.winehq.org/show_bug.cgi?id=30244
Bug #: 30244 Summary: Might & Magic Clash of Heroes: fails to start Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: spoon0042@hotmail.com Classification: Unclassified
Trying to run Steam version of Might & Magic Clash of Heroes. The first fraction of a second of an intro video plays, then the screen goes black for about ten seconds and then seems to exit, but usually leaves a process running in the background.
gameoverlayrenderer is disabled. Using debian fglrx 12-1-1.
A demo is available at least on Steam.
This is the entire console output from when it is started, no WINEDEBUG is set:
Setting breakpad minidump AppID = 61700 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198009351313 [API loaded no] fixme:win:EnumDisplayDevicesW ((null),0,0x33f814,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:thread:SetThreadIdealProcessor (0x188): stub fixme:thread:SetThreadIdealProcessor (0x18c): stub fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x7e3ea1c): stub fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x813ea1c): stub fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:thread:SetThreadIdealProcessor (0x24c): stub fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:thread:SetThreadIdealProcessor (0x210): stub err:wgl:internal_SetPixelFormat Invalid operation on root_window
http://bugs.winehq.org/show_bug.cgi?id=30244
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://store.steampowered.c | |om/app/61700/
http://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #1 from julusp@gmail.com 2012-04-27 17:18:19 CDT --- Same thing happens on Mac Os X
http://bugs.winehq.org/show_bug.cgi?id=30244
Stefan hybrid@onlinehome.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hybrid@onlinehome.de
--- Comment #2 from Stefan hybrid@onlinehome.de 2012-09-17 08:27:51 CDT --- I can confirm this.
http://bugs.winehq.org/show_bug.cgi?id=30244
Felix Hellmann privat@cirk2.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |privat@cirk2.de
--- Comment #3 from Felix Hellmann privat@cirk2.de 2013-07-03 13:04:26 CDT --- I can also confirm this.
Fedora 18 x86_64 Wine 1.6 rc4 (32bit prefix) Nvidia (Binary 325.08)
I tried the winetricks verbs d3dx9_36, xinput and wmi
http://bugs.winehq.org/show_bug.cgi?id=30244
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2013-07-03 13:13:52 CDT --- Multiple confirmations.
http://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #5 from Felix Hellmann privat@cirk2.de 2013-07-03 15:08:26 CDT --- I did a fresh prefix and stopped stem from installing the dependencies (vcrun2008 and dx9) by deleting the redist folder in the gamefiles.
1. Try: Crash (with Wine crash alert) fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table wine: Call from 0x7b840355 to unimplemented function d3dx9_36.dll.D3DXGetShaderInputSemantics, aborting
Installed d3dx9_36 with winetricks
2. Try: appearance of a Window with black contents, closes after a couple of seconds > See MMCoH-1.log attachment
Installed vcrun2008 with winetricks (just a guess)
3. Try: Same behavior as 2nd try. Log is only missing some stub messages about msvcrt > See MMCoH-2.log
http://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #6 from Felix Hellmann privat@cirk2.de 2013-07-03 15:09:04 CDT --- Created attachment 45088 --> http://bugs.winehq.org/attachment.cgi?id=45088 With winetricks d3dx9_43
http://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #7 from Felix Hellmann privat@cirk2.de 2013-07-03 15:09:33 CDT --- Created attachment 45089 --> http://bugs.winehq.org/attachment.cgi?id=45089 With winetricks d3dx9_43 vcrun2008
http://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #8 from RoyT winehq@rbox.be 2013-07-14 08:02:38 CDT --- Created attachment 45264 --> http://bugs.winehq.org/attachment.cgi?id=45264 wine-1.5.31 + nvidia 304.88 + d3dx9_36 + vcrun2010
Black screen on startup. Game then exits but ClashOfHeroes.exe keeps running.
https://bugs.winehq.org/show_bug.cgi?id=30244
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #9 from roger@mailinator.com --- please retest with more recent wine
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #10 from Michael McGuire spoon0042@hotmail.com --- Created attachment 49931 --> https://bugs.winehq.org/attachment.cgi?id=49931 mmcoh log
wine 1.7.30, clean wineprefix, plus winetricks vcrun2008 since it crashes otherwise
same behavior as initial bug report
https://bugs.winehq.org/show_bug.cgi?id=30244
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |22682
--- Comment #11 from Austin English austinenglish@gmail.com --- (In reply to Felix Hellmann from comment #5)
I did a fresh prefix and stopped stem from installing the dependencies (vcrun2008 and dx9) by deleting the redist folder in the gamefiles.
- Try: Crash (with Wine crash alert)
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table wine: Call from 0x7b840355 to unimplemented function d3dx9_36.dll.D3DXGetShaderInputSemantics, aborting
That's bug 22682.
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #12 from Michael McGuire spoon0042@hotmail.com --- I tried the patch from bug 22682 (with winetricks vcrun2008) and nothing seems to have changed.
https://bugs.winehq.org/show_bug.cgi?id=30244
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #13 from Béla Gyebrószki gyebro69@gmail.com --- Still present in Wine 1.7.42.
Instead of playing the intro videos the game shows a black screen for ~10 seconds then it quits without an error message or backtrace.
Native d3dx9_36 and 'winetricks vcrun2008' are installed.
https://bugs.winehq.org/show_bug.cgi?id=30244
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #14 from winetest@luukku.com --- I think I know why it doesnt work.
err:wgl:internal_SetPixelFormat Invalid operation on root_window
I think this bug is actually a dupe of bug 18490 which has patches.
Could someone confirm and merge it as dupe?
https://bugs.winehq.org/show_bug.cgi?id=30244
Ottopower ottopower8@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ottopower8@yahoo.com
--- Comment #15 from Ottopower ottopower8@yahoo.com --- Clash of Heroes works in VMware Player with Win7 64-bit. I hope this bug will be fixed soon.
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #16 from Michael McGuire spoon0042@hotmail.com --- (In reply to winetest from comment #14)
I think I know why it doesnt work.
err:wgl:internal_SetPixelFormat Invalid operation on root_window
I think this bug is actually a dupe of bug 18490 which has patches.
Could someone confirm and merge it as dupe?
That error didn't show up in my 1.7.30 log and doesn't seem to with 2.0 either. I tried 2.0 with and without the patch anyway (had to make a best guess edit as it doesn't apply cleanly anymore) and nothing seems to have changed. I may poke at it a bit more this weekend or whenever to make sure I didn't screw anything up.
https://bugs.winehq.org/show_bug.cgi?id=30244 Bug 30244 depends on bug 22682, which changed state.
Bug 22682 Summary: Multiple games need function d3dx9_36.dll.D3DXGetShaderInputSemantics (Far Cry 2/3, Avatar, Faery: Legends of Avalon, Civilization 4, Deathspank, Of Orcs and Men) https://bugs.winehq.org/show_bug.cgi?id=22682
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=30244
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with latest wine (4.0-rc6)? If yes, please attach the console output.
https://bugs.winehq.org/show_bug.cgi?id=30244
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #18 from Ottopower ottopower8@yahoo.com --- Created attachment 63263 --> https://bugs.winehq.org/attachment.cgi?id=63263 Backtrace Clash of heroes
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does winetricks vcrun 2008 help you?
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #20 from Ottopower ottopower8@yahoo.com --- It was already installed together with d3dx9 and d3dx9_43, does it start to you?
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- I do not have the game. And it looks there is no available demo showing the problem. So I can not test.
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #22 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Ottopower from comment #18)
Created attachment 63263 [details] Backtrace Clash of heroes
The crash seen here could be anything but it's not the originally reported bug. Could be a corrupted userconfig.cfg. Delete that file from the game directory and try again (it will be recreated on next start).
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #23 from Ottopower ottopower8@yahoo.com --- Created attachment 63267 --> https://bugs.winehq.org/attachment.cgi?id=63267 Terminal Clash of heroes
Yes, userconfig.cfg was a blank file, deleted and now black screen for a few seconds and exits. The demo (Steam appid 61720) has the same result.
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #24 from Paul Gofman gofmanp@gmail.com --- Created attachment 63304 --> https://bugs.winehq.org/attachment.cgi?id=63304 Partial workaround for DSS cryptographic provider
Duplicate of bug #10506.
I am attaching an awkward (but short) workaround which allows the game to run (as a proof of concept). With this patch it works for me with d3dcompiler_47 override ('winetricks d3dcompiler_47'). No other native dll overrides were required.
The game checks SHA1 hash on its data files and silently exits after a while if the check fails.
--- 00b1:Call advapi32.CryptAcquireContextW(0801f600,00000000,00000000,00000003,00000000) ret=0043c2d7 00b1:Ret advapi32.CryptAcquireContextW() retval=00000000 ret=0043c2d7 00b1:Call KERNEL32.GetLastError() ret=0043c2e1 00b1:Ret KERNEL32.GetLastError() retval=80090017 ret=0043c2e1 ---
Tested on Steam demo. I did not test it far beyond the start though, just loading, start of new campaign with some first screens. I also hit the problem covered by Comment #22: right after installation the game crashed in msvcrt.strtok() with empty userconfig.cfg. Deleting the file just once was enough to workaround it (it was recreated with parameters and problem did not come up anymore).
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #25 from Paul Gofman gofmanp@gmail.com --- As a separate note, I suppose adding a FIXME until DSS provider is implemented to CryptAcquireContextW() could be appropriate. Such a call does not fail on Windows with these parameters.
Without a FIXME this problem was not exactly easy to track down. The application does not exhibit any error and does not exit immediately after. Thread which does the check seemingly just sets some status (which probably causes main rendering thread to display just blank screen, while it still does some minimal rendering), continues to do things (like e. g. opening other files), exits with 0 exit code, and after that the main rendering thread just silently exits too.
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #26 from Michael McGuire spoon0042@hotmail.com --- Neat! Yeah, that's tricky. No wonder this never went anywhere.
I can confirm the workaround works on the full version on steam.
A few months back when I was poking at this again I did notice the strtok issue as well, seems like another bug?
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #27 from Ottopower ottopower8@yahoo.com --- The full game works great, thanks Paul Gofman.
https://bugs.winehq.org/show_bug.cgi?id=30244
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=30244
radiomans3+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |radiomans3+wine@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30244
Josh winehq@iooioio.hadar.uberspace.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@iooioio.hadar.ubersp | |ace.de
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #28 from winetest@luukku.com --- is this actually fixed? I cant test myself currently, I would. Rémi Bernon sent three patches that went in.
https://bugs.winehq.org/show_bug.cgi?id=30244
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #29 from Rémi Bernon rbernon@codeweavers.com --- Yes, as far as I can tell the game should work fine out of the box after 9b19a110ea6adb289cc1afa8e33d8b259164801e
https://bugs.winehq.org/show_bug.cgi?id=30244
--- Comment #30 from Béla Gyebrószki gyebro69@gmail.com --- Works for me in wine-6.9-81-g8ddff3f51fa.
https://bugs.winehq.org/show_bug.cgi?id=30244
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |9b19a110ea6adb289cc1afa8e33 | |d8b259164801e Status|NEW |RESOLVED
--- Comment #31 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Béla Gyebrószki from comment #30)
Works for me in wine-6.9-81-g8ddff3f51fa.
Marking FIXED in that case, thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=30244
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.11.
https://bugs.winehq.org/show_bug.cgi?id=30244
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=30244
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #33 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.3.