http://bugs.winehq.org/show_bug.cgi?id=34440
Bug #: 34440 Summary: NHL 2007 demo fails to install Product: Wine Version: 1.7.1 Platform: x86 URL: http://www.fileplanet.com/170491/170000/fileinfo/NHL-0 7-Demo OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com Classification: Unclassified
The demo fails to install, saying Directx9 is not available. Terminal output is short:
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030 fixme:wbemprox:enum_class_object_Next timeout not supported fixme:win:EnumDisplayDevicesW ((null),0,0x33a4a8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33a298,0x00000000), stub! fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a760-90c8-11d0-bd43-00a0c911ce86} not found fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
tried devenum and directx from winetricks, neither helped.
(noticed while checking bug 10928)
austin@aw25 ~ $ sha1sum nhl07demo.zip f25d735dbb6665f76e2e435baa523e02fab124f8 nhl07demo.zip austin@aw25 ~ $ du -h nhl07demo.zip 1.9G nhl07demo.zip austin@aw25 ~ $ wine --version wine-1.7.1-57-g376af32
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #1 from Berker Peköz nonkreon@gmail.com 2013-09-15 15:32:29 CDT --- Created attachment 45968 --> http://bugs.winehq.org/attachment.cgi?id=45968 NHL 07 backtrace on wine 1.6
The full game installation is completed perfectly but the game does not run at all.
http://bugs.winehq.org/show_bug.cgi?id=34440
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #2 from Jarkko K jarkko_korpi@hotmail.com --- I got full version on cd, but any update on the demo?
http://bugs.winehq.org/show_bug.cgi?id=34440
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/1 |http://megagames.com/demos/ |70491/170000/fileinfo/NHL-0 |nhl-2007-demo |7-Demo |
--- Comment #3 from Austin English austinenglish@gmail.com --- austin@debian-home:~/oldbugs/34440$ sha1sum nhl07demo.zip f25d735dbb6665f76e2e435baa523e02fab124f8 nhl07demo.zip austin@debian-home:~/oldbugs/34440$ du -h nhl07demo.zip 1.9G nhl07demo.zip
Still in wine-1.7.13-186-g049f08f
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #4 from Jarkko K jarkko_korpi@hotmail.com --- I don't get the full game running either. 1.7.13 too.
https://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #5 from Jarkko K jarkko_korpi@hotmail.com --- I cant get it working 1.7.14 either.
http://bugs.winehq.org/show_bug.cgi?id=34440
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|NHL 2007 demo fails to |NHL 2007 demo fails to |install |install (modified DX | |runtime installer with | |broken check for DirectX | |9.0c)
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Please stick to _one_ issue which is about the demo installer failure.
The demo ships a modified DX runtime installer which got stripped off some parts, namely 'DXNT.CAB' file and friends which carry the actual runtime payload.
This is intended because only the DX minimum version detection functionality ought to be used.
From 'c:\windows\DirectX.log':
--- snip --- 05/03/14 01:47:39: dsetup32: === SetupForDirectX() start === 05/03/14 01:47:39: dsetup32: SetupForDirectX(): query dxsetup command: result = 2. 05/03/14 01:47:39: dsetup32: DXSetupCommand = 0. 05/03/14 01:47:39: dsetup32: DirectXSetupIsJapanese == 0 05/03/14 01:47:39: dsetup32: DirectXSetupIsJapanNec == 0 05/03/14 01:47:39: dsetup32: Installing on WinXP SP 05/03/14 01:47:39: dsetup32: BuildPaths(): temp directory C:\windows\system32\DirectX is created. 05/03/14 01:47:39: dsetup32: Checking the version: HKLM\software\microsoft\directx\Version 05/03/14 01:47:39: dsetup32: Version in registry = 4.09.00.0904 05/03/14 01:47:39: dsetup32: Version in DLL = 4.09.00.0904 05/03/14 01:47:39: dsetup32: Installation Started with language eng 05/03/14 01:47:39: dsetup32: IterateDownloadedCabs(): Unable to find cab list. 05/03/14 01:47:39: dsetup32: Installation ended with value -2 = Source file not found --- snip ---
Trace log with inner installer:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay, wine ./AutoRun.exe -restart -dir "Z:\home\focht\Downloads" >>log.txt 2>&1 ... 0023:Call advapi32.RegOpenKeyExA(80000002,00381418 "software\microsoft\directx",00000000,00000001,0033b8cc) ret=00384624 0023:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=00384624 0023:Call advapi32.RegQueryValueExA(0000007c,003813d4 "Version",00000000,00000000,0033b8d0,0033b8c8) ret=00384666 0023:Ret advapi32.RegQueryValueExA() retval=00000000 ret=00384666 0023:Call KERNEL32.lstrcpynA(0033b7a8,0033b8d0 "4.09.00.0904",00000104) ret=0038654e 0023:Ret KERNEL32.lstrcpynA() retval=0033b7a8 ret=0038654e ... 0023:trace:ole:apartment_getclassobject added new loaded dll L"C:\windows\system32\dxdiagn.dll" 0023:trace:ole:apartment_getclassobject calling DllGetClassObject 0x7d6a695c 0023:Call dxdiagn.DllGetClassObject(00449350,7e55f1ac,0033b788) ret=7e470cf0 0023:Ret dxdiagn.DllGetClassObject() retval=00000000 ret=7e470cf0 ... 0023:Ret ole32.CoCreateInstance() retval=00000000 ret=0041c1f0 ... 0023:Call oleaut32.SysAllocString(7d6adce0 L"= "DirectX 9.0c (4.09.0000.0904)") ret=7d6a901d 0023:trace:ole:SysAllocStringLen L"= "DirectX 9.0c (4.09.0000.0904)" ... --- snip ---
dxdiag (x.xx.xxxx.xxxx format) -> version 4.09.0000.0904 = DirectX 9.0c registry (x.xx.xx.xxxx format) -> version 4.09.00.0904 = DirectX 9.0c
Unfortunately this DX runtime installer has nasty bug (comparing two floats where one float never gets set, thanks MS) which lets the result always be < 9.0c, despite what DX runtime (9.0c, 10.x, 11.x) is installed.
This wouldn't be a problem if some 'genius' wouldn't have decided to castrate the installer by stripping the payload away (AFAIK such modification isn't even legal). The failure messages in log file 'Unable to find cab list' and 'Installation ended with value -2' are the result of that.
Because of that the installer always aborts with the DX runtime part and can never proceed to the point of actual game demo install.
Can someone retest this demo installer on Windows and check if it also says 'DX 9.0c required' and refuses to go further? If yes -> invalid.
$ wine --version wine-1.7.18
Regards
http://bugs.winehq.org/show_bug.cgi?id=34440
Erich Hoover erich.e.hoover@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |erich.e.hoover@gmail.com
--- Comment #7 from Erich Hoover erich.e.hoover@gmail.com --- PSA: You can work around this issue by downloading the 2010 DirectX redistributable ( http://www.microsoft.com/en-us/download/details.aspx?id=8109 ), using cabextract to pull out the files, and replacing the game's version with the redist version.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #8 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to Erich Hoover from comment #7)
PSA: You can work around this issue by downloading the 2010 DirectX redistributable ( http://www.microsoft.com/en-us/download/details.aspx?id=8109 ), using cabextract to pull out the files, and replacing the game's version with the redist version.
You can also work around the issue by slightly upping the version number in the registry (easier!): https://dl.dropboxusercontent.com/u/195059/wine/nhl2007.reg
http://bugs.winehq.org/show_bug.cgi?id=34440
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #9 from hanska2@luukku.com --- I tried to install the full game,it complains about missing dx9 or newer. Did winetricks and still the same error.
So I quess both of these have the same issue.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #10 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to hanska2 from comment #9)
I tried to install the full game,it complains about missing dx9 or newer. Did winetricks and still the same error.
So I quess both of these have the same issue.
Did you try the trick I posted for tricking it into thinking you have a newer version of DirectX? (save that file and "install" it using "wine regedit nhl2007.reg", then launch the game installer)
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- My XP DirectX version: 4.09.00.0904
The installer complains:
--------------------------- NHL07 Demo --------------------------- Installation cannot continue because this game requires DirectX 9.0c or higher to be installed on your system. You can download the latest version of DirectX here: http://www.microsoft.com/windows/directx --------------------------- OK ---------------------------
I think the bug is invalid.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- If I change the registry as Erich suggested then it works in Windows.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #13 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to Bruno Jesus from comment #12)
If I change the registry as Erich suggested then it works in Windows.
Wow, you reproduced on Windows? I tried the demo on my wife's Win7 computer and it was happy. Though, if it's using uninitialized memory then it could just be luck of the draw.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Erich Hoover from comment #13)
Wow, you reproduced on Windows? I tried the demo on my wife's Win7 computer and it was happy. Though, if it's using uninitialized memory then it could just be luck of the draw.
Yes, that was the CTRL+C from the Windows XP error message box.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #15 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to Bruno Jesus from comment #14)
(In reply to Erich Hoover from comment #13)
Wow, you reproduced on Windows? I tried the demo on my wife's Win7 computer and it was happy. Though, if it's using uninitialized memory then it could just be luck of the draw.
Yes, that was the CTRL+C from the Windows XP error message box.
Could you try adding a "RC" string registry key and setting the value to "0"? This produces a different log entry (saw it try to access this key). I also noticed that setting the value of "RC" to "1" would also satisfy the application, but I'm wondering if setting it to "0" would properly initialize the memory it's using for comparison. Anastasius Focht might know better what we should try here, but it's possible that we can put together a solution that satisfies this application without breaking others.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #16 from hanska2@luukku.com --- I didnt try the trick, setting that registery key. But I tried to install the game into crossover and it doesnt complain there this dx issue. And it goes forward. I was able to achieve game menu with no clickable buttons/text. There were some game music. So I think I am very close to get it run. Last time I tried this it didnt go so far. Tried to install corefonts, but didnt do the trick.
I might try that registery trick a bit later.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #17 from hanska2@luukku.com --- And one small sidenote. The full cd contains directx directory, so even it complains about dx, it should install it from that directory. That's what these games usually do.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Erich Hoover from comment #15)
Could you try adding a "RC" string registry key and setting the value to "0"? This produces a different log entry (saw it try to access this key). I also noticed that setting the value of "RC" to "1" would also satisfy the application, but I'm wondering if setting it to "0" would properly initialize the memory it's using for comparison. Anastasius Focht might know better what we should try here, but it's possible that we can put together a solution that satisfies this application without breaking others.
There is already an entry saying RC = 0, if I set it to 1 then the installer works too.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #19 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to Bruno Jesus from comment #18)
... There is already an entry saying RC = 0, if I set it to 1 then the installer works too.
If you remove the entry does it work on Windows?
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com --- Version = 4.09.00.0904 ===> Does not work Absent RC
Version = 4.09.00.0904 ===> Does not work RC = 0
Version = 4.09.00.0904 ===> Works RC = 1
Version = 4.09.0000.0905 ===> Works Absent RC
Version = 4.09.0000.0905 ===> Works RC = 1
Version = 4.09.0000.0905 ===> Works RC = 0
Default setting in the registry was: Version = 4.09.00.0904 RC = 0
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #21 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to Bruno Jesus from comment #20)
... Default setting in the registry was: Version = 4.09.00.0904 RC = 0
Weird, I wonder why this worked on my wife's computer.
https://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #22 from Austin English austinenglish@gmail.com --- (In reply to Erich Hoover from comment #21)
(In reply to Bruno Jesus from comment #20)
... Default setting in the registry was: Version = 4.09.00.0904 RC = 0
Weird, I wonder why this worked on my wife's computer.
Potentially a compatibility shim on windows 7?
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #23 from Bruno Jesus 00cpxxx@gmail.com --- Maybe the installer does different stuff for XP/7? I tried changing the regional options to English (different decimal separator), it does not work too.
https://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #24 from Austin English austinenglish@gmail.com --- (In reply to Bruno Jesus from comment #23)
Maybe the installer does different stuff for XP/7? I tried changing the regional options to English (different decimal separator), it does not work too.
Maybe. I tried setting the emulated windows version to vista in wine and that allows the installation to proceed. With windows 7, it fails though.
Could just be luck again, though.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #25 from hanska2@luukku.com --- If you bypass the dx installer, I assume you soon get into somekind of game menu. I am missing some elements. I only see blue pattern background, Quit (esc) text and that's it. Music is playing, but something is missing.
This is with full game.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #26 from hanska2@luukku.com --- http://youtu.be/eEGuj3jtB4A?t=18s
This is the menu I am missing on full game. I just see the background of it.
I just cant see those "Play now", Game Modes...etc
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #27 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to hanska2 from comment #26)
http://youtu.be/eEGuj3jtB4A?t=18s
This is the menu I am missing on full game. I just see the background of it.
I just cant see those "Play now", Game Modes...etc
Does the demo work? It worked for me (the demo), but it could be dependent on the graphics card or whether you run it in emulated desktop mode.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #28 from hanska2@luukku.com --- I never tried the demo, it takes at least 2 hours to download. I have ati and closed source drivers. They in general work fine.
I had emulation mode on, switched it off no and no change.
The installation is on crossover version now, because I keep my games collection there. I have tried ie, corefonts, newer flash.
Also the menu doesnt seem to respond on keyboard/mouse, I can quit the game from exit menu, but that's it.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #29 from hanska2@luukku.com --- This is weird. Crossover had some dailybuild update, I took it. Also same time I updated kernel, reinstalled some stuff because they broke.
For some reason I have the same menu visible now.
But the selector or what you call it, goes fast up and down. I have the same issue with the latest tomb raider game.
So it seems this is playable for me too now.
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #30 from Anastasius Focht focht@gmx.net --- Hello folks,
thank you for messing up the bug with talk about unrelated issues.
This bug was clearly about the installer and Bruno already gave the correct answer I wanted to hear: invalid.
The installer behaves exactly as it should with default 'Windows XP' WINEPREFIX.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34440
--- Comment #31 from Erich Hoover erich.e.hoover@gmail.com --- (In reply to Anastasius Focht from comment #30)
Hello folks,
thank you for messing up the bug with talk about unrelated issues. ...
Sorry AF, that's my bad - I should have had them open a new bug for the other problem. It sounds like we still need to figure out how it's possible for the installer to work on a Vista+ environment though.
https://bugs.winehq.org/show_bug.cgi?id=34440
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #32 from Austin English austinenglish@gmail.com --- Invalid, we're matching behavior for Windows XP.
http://bugs.winehq.org/show_bug.cgi?id=34440
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #33 from Austin English austinenglish@gmail.com --- Closing.