http://bugs.winehq.org/show_bug.cgi?id=35748
Bug ID: 35748 Summary: Blazing Angels 2: cannot initialize 3D engine Product: Wine Version: 1.7.12 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: amlopezalonso@gmail.com
Created attachment 47739 --> http://bugs.winehq.org/attachment.cgi?id=47739 BA2 start log in desktop mode.
Installing and updating Blazing Angels 2 are OK. However, trying to start the game fails:
1) In fullscreen mode I only get a black screen.
2) In desktop mode (800x600) I get a popup: "Cannot initialize 3D engine".
Other 3D games run fine.
Attaching log.
Regards, Antonio
https://bugs.winehq.org/show_bug.cgi?id=35748
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #1 from Jarkko K jarkko_korpi@hotmail.com --- "err:module:import_dll Library MSVCR80D.dll (which is needed by L"C:\Program Files\Ubisoft\Blazing Angels 2 Secret Missions of WWII\Bin\restore.exe") not found"
Have you tried adding msvcr80.dll ?
https://bugs.winehq.org/show_bug.cgi?id=35748
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
--- snip --- fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.DebugCRT" (8.0.50608.0) err:module:import_dll Library MSVCR80D.dll (which is needed by L"C:\Program Files\Ubisoft\Blazing Angels 2 Secret Missions of WWII\Bin\restore.exe") not found --- snip ---
If the game executables really bind to the debug version of the VC++ runtime this would be a serious accident on the developer or publisher side. There is a rule: you don't ship apps/games linked to the debug version of the VC++ runtime. These dlls are non-redistributable, they are part of Visual Studio installation. You don't expect people wanting to play a game installing Visual Studio.
Not a Wine bug. Complain to whoever developed/published that product.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35748
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Maybe the game resorts to the debug dll when something wrong happens. There are issues in W2K too: http://win2kgaming.prophpbb.com/topic684.html#p2368
https://bugs.winehq.org/show_bug.cgi?id=35748
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello Bruno,
--- quote --- Maybe the game resorts to the debug dll when something wrong happens. There are issues in W2K too: http://win2kgaming.prophpbb.com/topic684.html#p2368 --- quote ---
Unlikely. You can't "rebind" linked msvcrt from release to debug version at runtime (late binding to msvcrt doesn't make sense).
OP needs to figure out if 'restore.exe' is essential to the game or just a useless helper tool.
Generate a relay log to check if the VC++ runtime problem is related to the graphics at all.
"cd" to the game folder ('C:\Program Files\Ubisoft\Blazing Angels 2 Secret Missions of WWII\Bin\') and run (replace 'foo.exe' with actual executable name):
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+d3d wine ./foo.exe >>log.txt 2>&1 --- snip ---
and attach log. Compress if too large.
Regards
http://bugs.winehq.org/show_bug.cgi?id=35748
--- Comment #5 from Antonio López amlopezalonso@gmail.com ---
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+d3d wine ./foo.exe >>log.txt 2>&1 --- snip ---
and attach log. Compress if too large.
Regards
Still in 1.7.18. Attached full compressed log as per request.
Regards, Antonio
http://bugs.winehq.org/show_bug.cgi?id=35748
--- Comment #6 from Antonio López amlopezalonso@gmail.com --- Created attachment 48408 --> http://bugs.winehq.org/attachment.cgi?id=48408 +tid,+seh,+relay,+d3d
https://bugs.winehq.org/show_bug.cgi?id=35748
--- Comment #7 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=35748
--- Comment #8 from Antonio López amlopezalonso@gmail.com --- Still in 1.7.50 at least.
https://bugs.winehq.org/show_bug.cgi?id=35748
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Blazing Angels 2: cannot |Blazing Angels 2: Secret |initialize 3D engine |Missions of WWII v1.01 | |fails with 'cannot | |initialize 3D engine' in | |800x600 virtual desktop | |mode
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
so you are complaining the game doesn't run in 800x600 desktop mode by default?
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Ubisoft/Blazing Angels 2 Secret Missions of WWII/Bin
$ WINEDEBUG=+tid,+msgbox wine explorer /desktop=foo,800x600 BA2.exe ... 0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33e284,0x00000000), stub! 0033:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1024x768x32 @75! (desktop) 0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33e2b4,0x00000000), stub! 0033:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1024x768x32 @75! (desktop) 0033:err:d3d:context_create Failed to set pixel format 29 on device context 0x60030. 0033:err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat 0033:err:d3d:context_create Failed to set pixel format 21 on device context 0xe003d. 0033:fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table 0033:fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN. 0033:err:d3d:context_create Failed to set pixel format 5 on device context 0x1003f. 0033:err:d3d:context_create Failed to set pixel format 13 on device context 0x10041. 0033:err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat 0033:err:d3d:context_create Failed to set pixel format 13 on device context 0x10043. 0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33e2b4,0x00000000), stub! 0033:err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1024x768x32 @75! (desktop) 0033:err:d3d:context_create Failed to set pixel format 29 on device context 0x10045. 0033:err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat 0033:err:d3d:context_create Failed to set pixel format 21 on device context 0x20046. 0033:fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table 0033:fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN. 0033:err:d3d:context_create Failed to set pixel format 5 on device context 0x10049. 0033:err:d3d:context_create Failed to set pixel format 13 on device context 0x1004b. 0033:err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat 0033:err:d3d:context_create Failed to set pixel format 13 on device context 0x1004d. 0033:fixme:win:EnumDisplayDevicesW ((null),0,0x33e2b4,0x00000000), stub! 0033:fixme:d3d:wined3d_check_device_format_conversion wined3d 0x145da0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 0033:err:d3d:context_create Failed to set pixel format 29 on device context 0x1004f. 0033:err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat 0033:err:d3d:context_create Failed to set pixel format 21 on device context 0x20050. 0033:fixme:d3d:wined3d_get_format Can't find format WINED3DFMT_R24_UNORM_X8_TYPELESS (0x49) in the format lookup table 0033:fixme:d3d:getDepthStencilBits Unsupported depth/stencil format WINED3DFMT_UNKNOWN. 0033:err:d3d:context_create Failed to set pixel format 5 on device context 0x10053. 0033:err:d3d:context_create Failed to set pixel format 13 on device context 0x10055. 0033:err:d3d:context_choose_pixel_format Can't find a suitable iPixelFormat 0033:err:d3d:context_create Failed to set pixel format 13 on device context 0x10057. 0033:trace:msgbox:MSGBOX_OnInit L"Can not initialize 3D engine" --- snip ---
For me it looks the game has a hard-coded initial 1024x768@75 setting (before any in-game menu tweaks) which can be worked around using:
--- snip --- $ wine explorer /desktop=foo,1024x768 BA2.exe --- snip ---
The requested 75hz refresh rate is ignored unless configured/forced by other means.
Which leads to another crash that can be worked around using 'winetricks -q d3dx9_36' (not subject to this bug)
With that override in place game starts fine:
* intro video plays * in-game menu * gameplay * profit!
If you change the video resolution via in-game menu to 800x600, this also works:
--- snip --- $ wine explorer /desktop=foo,800x600 BA2.exe --- snip ---
Game forums indicate this also occurs on Windows.
http://forums.ubi.com/showthread.php/509438-Cannot-Initialize-3D-Engine-Erro...
http://www.thegamesmachine.it/forum/showthread.php?171810-ufficiale-Per-chi-...
Did you try this 800x600 after fresh installation on Windows (with same low desktop setting)? This bug report looks rather invalid in first place hence I'm not confirming.
Unrelated (for my documentation), ProtectionID scan:
--- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13
Scanning -> C:\Program Files\Ubisoft\Blazing Angels 2 Secret Missions of WWII\Bin\BA2.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 5216224 (04F97E0h) Byte(s) Compilation TimeStamp : 0x4700F756 -> Mon 01st Oct 2007 13:34:14 (GMT) [TimeStamp] 0x4700F756 -> Mon 01st Oct 2007 13:34:14 (GMT) | PE Header | - | Offset: 0x00000110 | VA: 0x00400110 | - [TimeStamp] 0x4700F756 -> Mon 01st Oct 2007 13:34:14 (GMT) | DebugDirectory | - | Offset: 0x002C5C54 | VA: 0x006C5C54 | - -> File Appears to be Digitally Signed @ Offset 04F8000h, size : 017E0h / 06112 byte(s) [!] Executable uses SEH Tables (/SAFESEH) (654 calculated 654 recorded... 0 invalid addresses) [File Heuristics] -> Flag #1 : 00000100000000001000000000000100 (0x04008004) [Entrypoint Section Entropy] : 6.62 (section #0) ".text " | Size : 0x2C3613 (2897427) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 4 (0x4) | ImageSize 0x59F000 (5894144) byte(s) [VersionInfo] Company Name : Ubisoft [VersionInfo] Product Name : Blazing Angels 2 [VersionInfo] Product Version : 1. 1. 0. 1 [VersionInfo] File Description : Blazing Angels 2 [VersionInfo] File Version : 1. 1. 0. 1 [VersionInfo] Original FileName : BA2.exe [VersionInfo] Internal Name : Blazing Angels 2 [VersionInfo] Legal Trademarks : Blazing Angels. Ubisoft. and the Ubisoft logo are trademarks of Ubisoft Entertainment in the U.S. and/or other countries. [VersionInfo] Legal Copyrights : Blazing Angels™ 2: Secret Missions of WWII © 2007 Ubisoft Entertainment. All Rights Reserved. [Debug Info] (record 1 of 1) (file offset 0x2C5C50) Characteristics : 0x0 | TimeDateStamp : 0x4700F756 (Mon 01st Oct 2007 13:34:14 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 2 (0x2) -> CodeView | Size : 0x4D (77) AddressOfRawData : 0x384E18 | PointerToRawData : 0x384E18 CvSig : 0x53445352 | SigGuid 63A24778-4EDA-4E4D-882CB544AF04FD4B Age : 0x1 | Pdb : D:\Projects\Ba2_PC\build\Main\Release_Win32\Main.pdb [CdKeySerial] found "Unregistered" @ VA: 0x00369269 / Offset: 0x00369269 [CdKeySerial] found "Unregistered" @ VA: 0x0036B970 / Offset: 0x0036B970 [CompilerDetect] -> Visual C++ 8.0 (Visual Studio 2005) [!] File appears to have no protection or is using an unknown protection - Scan Took : 1.429 Second(s) [000000623h (1571) tick(s)] [499 of 573 scan(s) done] --- snip ---
$ wine --version wine-1.7.51-102-ga7e294c
Regards
https://bugs.winehq.org/show_bug.cgi?id=35748
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- No response in over 5 years and it seems (according to Focht in Comment #9) that this was INVALID to start with.
https://bugs.winehq.org/show_bug.cgi?id=35748
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- Closing INVALID.