https://bugs.winehq.org/show_bug.cgi?id=35751
Bug ID: 35751 Summary: Cannot launch One Finger Death Punch from Steam Product: Wine Version: 1.7.14 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: adys.wh@gmail.com
The following console output appears:
----- fixme:heap:HeapSetInformation (nil) 1 (nil) 0 Can't recognize 'C:\Program Files (x86)\Steam\steamapps\common\One Finger Death Punch_CommonRedist\DotNet\4.0 Client Profile\Microsoft .NET Framework 4.0 Client Profile.cmd ' as an internal or external command, or batch script. Install script executed.err:module:import_dll Loading library MSVCR100.dll (which is needed by L"C:\windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework.Graphics\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Graphics.dll") failed (error c000007b). err:mscoree:mono_assembly_preload_hook_fn Failed to load L"C:\windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework.Graphics\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Graphics.dll", status=1 err:module:import_dll Loading library MSVCR100.dll (which is needed by L"C:\windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.dll") failed (error c000007b). err:module:import_dll Loading library msvcr100.dll (which is needed by L"C:\windows\system32\msvcp100.dll") failed (error c000007b). err:module:import_dll Loading library MSVCP100.dll (which is needed by L"C:\windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.dll") failed (error c000007b). err:mscoree:mono_assembly_preload_hook_fn Failed to load L"C:\windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.dll", status=1
Unhandled Exception: System.TypeLoadException: Could not load type 'One_Finger_Death_Punch.Game1' from assembly 'One Finger Death Punch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'One_Finger_Death_Punch.Game1' from assembly 'One Finger Death Punch, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. -----
These are the contents of "Microsoft .NET Framework 4.0 Client Profile.cmd"
@ECHO OFF start /w "" "%~dp0\dotNetFx40_Client_x86_x64.exe" /q /norestart IF %ERRORLEVEL% == 3010 EXIT /B 0 EXIT /B %ERRORLEVEL%
Trying to manually run wine start Microsoft\ .NET\ Framework\ 4.0\ Client\ Profile.cmd opens a wineconsole window for a split second that says "Application could not be started or no application associated with the specified file".
Oddly, this happens even with vcrun2010 installed. The following files are present in the prefix: /home/adys/.local/share/wineprefixes/steam/drive_c/windows/system32/msvcr100.dll /home/adys/.local/share/wineprefixes/steam/drive_c/windows/syswow64/msvcr100.dll
I'm trying to reproduce all this in a cleaner prefix, unfortunately I am getting issues opening steam from there. It'll have to wait. I have a spare key to One Finger Death Punch, by the way, so I'm happy to give it to a dev volunteering to take on this bug.
https://bugs.winehq.org/show_bug.cgi?id=35751
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://store.steampowered.c | |om/app/264200/
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #1 from Vincent Povirk madewokherd@gmail.com --- Error c000007b is STATUS_INVALID_IMAGE_FORMAT. Use 'file' to check the type of the dll.
Also, xna doesn't work with mono yet, you'll need native .net, sorry.
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #2 from Vincent Povirk madewokherd@gmail.com --- Some old steam installers can no longer update properly. Try downloading the most recent Windows steam installer.
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #3 from Jerome Leclanche adys.wh@gmail.com --- (In reply to Vincent Povirk from comment #1)
% file Microsoft.Xna.Framework.dll Microsoft.Xna.Framework.dll: PE32 executable (DLL) (GUI) Intel 80386 Mono/.Net assembly, for MS Windows
I'll try in a clean prefix with .net. But the issue I'm having with steam is using winetricks steam (version 20130707) :/
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #4 from Vincent Povirk madewokherd@gmail.com --- The dll that's failing to load is msvcr100.dll, so you should check that one.
https://bugs.winehq.org/show_bug.cgi?id=35751
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |focht@gmx.net Hardware|x86 |x86-64
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
installing bi-arch VC++ runtimes (32-bit and 64-bit) in 64-bit WINEPREFIX is known to be broken. Either use a 32-bit prefix (recommended) or recent winetricks which has some hacks to work around.
-> dupe of bug 30713
Regards
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com --- (In reply to Anastasius Focht from comment #5)
Okay, so tried a fresh 32-bit prefix.
When clicking "Play", I'm getting this the first time, when it executes the installs:
----- Successfully registered DLL C:\Program Files\Common Files\Microsoft Shared\XNA\Framework\Shared\xnavisualizer.dll Install script executed. Unhandled Exception: System.InvalidProgramException: Invalid IL code in Microsoft.Xna.Framework.Media.WmpProxyThread:ProxyThreadFunc (): IL_00e7: ldc.i4.0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in Microsoft.Xna.Framework.Media.WmpProxyThread:ProxyThreadFunc (): IL_00e7: ldc.i4.0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 err:ole:CoGetClassObject class {77f10cf0-3db5-4966-b520-b7c54fd35ed6} not registered err:ole:CoGetClassObject no class object {77f10cf0-3db5-4966-b520-b7c54fd35ed6} could be created for context 0x1 -----
The 2nd time and further, it attempts to install "Microsoft .NET Framework 4.0 Client Profile.cmd", but fails to do so, with the following output:
fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:exec:SHELL_execute flags ignored: 0x00000100 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: Invalid parameter.
Install script executed.
Attempting to start the executable itself (wine "One Finger Death Punch.exe"), I get the exception from earlier: System.InvalidProgramException: Invalid IL code in Microsoft.Xna.Framework.Media.WmpProxyThread:ProxyThreadFunc (): IL_00e7: ldc.i4.0
If I am encountering bug 30713, I'd rather make this bug about the issues further encountered.
With that said, I am still getting the same issues when running wine start Microsoft\ .NET\ Framework\ 4.0\ Client\ Profile.cmd. Is that normal?
I'll try with native .net next.
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #7 from Jerome Leclanche adys.wh@gmail.com --- With dotnet40 installed, I get: "Could not find a Direct3D device that supports the XNA Framework HiDef profile." Should I fill another bug for this?
https://bugs.winehq.org/show_bug.cgi?id=35751
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Jerome,
--- quote --- The 2nd time and further, it attempts to install "Microsoft .NET Framework 4.0 Client Profile.cmd", but fails to do so, with the following output:
fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:exec:SHELL_execute flags ignored: 0x00000100 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: Invalid parameter.
Install script executed.
--- quote ---
Yes, it's expected due to optional title argument passed to 'start.exe' -> bug 10913
--- quote --- With dotnet40 installed, I get: "Could not find a Direct3D device that supports the XNA Framework HiDef profile." Should I fill another bug for this? --- quote ---
That's bug 35444
You managed to make this report a dupe of at least 3 existing bug reports. It would have been better to use WineHQ forums for that kind of walkthroughs. Bugzilla is not meant for end user support.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35751
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #9 from Jerome Leclanche adys.wh@gmail.com --- (In reply to Anastasius Focht from comment #8)
Bugzilla is not meant for end user support.
This wasn't meant to be user support...
Anyway, most glaring issue is 10913.
*** This bug has been marked as a duplicate of bug 10913 ***
https://bugs.winehq.org/show_bug.cgi?id=35751
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Jerome Leclanche adys.wh@gmail.com --- Closing