https://bugs.winehq.org/show_bug.cgi?id=36627
Bug ID: 36627 Summary: Games For Windows Live 2.0.0687.0 (PANORAMA_V2.00_RTM.090421-2351) needs MSASN1.dll Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
there were a few GFWL/XLive bug comments in the past that stated "copying MSASN1.dll solves the issue" (bug 28035).
There is indeed a specific version of GFWL that hard-binds to 'MSASN1.dll'.
'winetricks msasn1' obviously solves the problem for 'xlive.dll' load failure.
It doesn't solve GFWL init failure at runtime as explained in https://bugs.winehq.org/show_bug.cgi?id=28035#c37
This bug is about adding a stub dll and possible implementation later.
The specific version is:
--- snip --- xlive.dll Microsoft Corporation Games for Windows - LIVE DLL 2.0.0687.0 (PANORAMA_V2.00_RTM.090421-2351) Wednesday 22 April 2009, 00.20.44 --- snip ---
Other versions such as '2.0.0672.0 (PANORAMA_V2.00_RTM.081022-0447)' don't have this binding.
'xLiveRedist.msi' redist installer 'File' table dumped with 'ORCA':
--- snip --- File Component_ FileName FileSize Version
s72 s72 l255 i4 S72
dxdx1037 DirectXRedist ze3kb3ub.cab|Mar2008_d3dx10_37_x86.cab 821508 512 xlive XLiveRuntimeComponent xlive.dll 14311680 2.0.687.0 sqmapidll SQMAPI sqmapi.dll 134144 6.0.6000.16386 dxdxsetupexe DirectXRedist DXSETUP.exe 527880 4.9.0.904 dxdx937 DirectXRedist rxp0yibt.cab|Mar2008_d3dx9_37_x86.cab 1446530 512 dxxinput DirectXRedist qdji7bjl.cab|APR2007_xinput_x86.cab 56902 512 dxdsetupdll DirectXRedist DSETUP.dll 97288 4.9.0.904 dxdsetup32 DirectXRedist dsetup32.dll 1694728 4.9.0.904 dxdllreg DirectXRedist an7grfka.cab|dxdllreg_x86.cab 47596 512 dxupdate DirectXRedist dxupdate.cab 97396 512 xlivecat XLiveRuntimeComponent kh3w9dph.cat|xlive.dll.cat 172173 512 xlivefnt XLiveRuntimeComponent xlivefnt.dll 13642496 2.0.687.0 ... --- snip ---
It bundles/installs .NET Framework 3.0
--- snip --- Wine-dbg>info process pid threads executable (all id:s are in hex) 00000024 1 'explorer.exe' 0000000e 8 'services.exe' 000000cf 4 _ 'mscorsvw.exe' 00000019 3 _ 'plugplay.exe' 00000012 4 _ 'winedevice.exe' 00000008 1 'setup.exe' 00000034 6 _ 'msiexec.exe' 0000003b 2 _ 'gfwlivesetup.exe' 0000003e 1 _ 'GFWLIVESetupStub.exe' 00000030 2 _ 'dotnetfx3.exe' 00000028 2 _ 'setup.exe' --- snip ---
Starting a game that installed this specific GFWL version, for example 'Resident Evil 5' (bug 23914) yields:
--- snip --- $ wine ./Launcher.exe err:module:import_dll Library MSASN1.dll (which is needed by L"C:\windows\system32\xlive.dll") not found err:module:import_dll Library xlive.dll (which is needed by L"C:\Program Files\CAPCOM\RESIDENT EVIL 5\RE5DX9.EXE") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\CAPCOM\RESIDENT EVIL 5\RE5DX9.EXE" failed, status c0000135 --- snip ---
Dumping the 'MSASN1.dll' import descriptor from main executable yields:
--- snip --- ...
26. ImageImportDescriptor: OriginalFirstThunk: 0x005ED47C TimeDateStamp: 0x00000000 (GMT: Thu Jan 01 00:00:00 1970) ForwarderChain: 0x00000000 Name: 0x005ECA68 ("MSASN1.dll") FirstThunk: 0x000018B4
Ordinal/Hint API name ------------ --------------------------------------- 0x0019 "ASN1BERDecS32Val" 0x000C "ASN1BERDecGeneralizedTime" 0x000A "ASN1BERDecExplicitTag" 0x000F "ASN1BERDecNotEndOfContents" 0x0017 "ASN1BERDecPeekTag" 0x0053 "ASN1DecAlloc" 0x0025 "ASN1BERDecZeroCharString" 0x0008 "ASN1BERDecEndOfContents" 0x0031 "ASN1BEREncExplicitTag" 0x003C "ASN1BEREncS32" 0x002F "ASN1BEREncEndOfContents" 0x0013 "ASN1BERDecOctetString" 0x0005 "ASN1BERDecCharString" 0x0029 "ASN1BEREncBool" 0x0000 "ASN1BERDecBitString" 0x001F "ASN1BERDecU32Val" 0x004C "ASN1CEREncGeneralizedTime" 0x002C "ASN1BEREncCharString" 0x0028 "ASN1BEREncBitString" 0x0039 "ASN1BEREncOctetString" 0x003F "ASN1BEREncU32" 0x00DB "ASN1_CloseEncoder" 0x00DE "ASN1_CreateDecoder" 0x00E0 "ASN1_CreateEncoder" 0x00E3 "ASN1_Encode" 0x00E2 "ASN1_Decode" 0x00DA "ASN1_CloseDecoder" --- snip ---
This might be also useful to split out ASN.1 API/helpers from builtin crypt.
$ sha1sum gfwlivesetup.exe ed02393e367c2a9e47f2a3f10da553cc292fa22a gfwlivesetup.exe
$ du -sh gfwlivesetup.exe 171M gfwlivesetup.exe
$ wine --version wine-1.7.19-70-gd6a59f7
Regards
https://bugs.winehq.org/show_bug.cgi?id=36627
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #1 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/104929
https://bugs.winehq.org/show_bug.cgi?id=36627
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #1)
https://source.winehq.org/git/wine.git/commitdiff/d13d296c2784c42a73d1e44295...
please retest.
https://bugs.winehq.org/show_bug.cgi?id=36627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d13d296c2784c42a73d1e442959 | |88166a79caf2d Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/d13d296c2784c42a73d1e442959...
Thanks Austin.
Prerequisite: bug 17273 patchset (support for message mode named pipes)
--- snip --- $ WINEDEBUG=+tid,+seh,+loaddll,+process wine ./Launcher.exe ... 002e:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\msidcrl40.dll" at 0x27500000: native 002e:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\msasn1.dll" at 0x7d930000: builtin 002e:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\msvcp90.dll" at 0x7d820000: builtin 002e:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\xlive.dll" at 0x1490000: native ... --- snip ---
Next would be bug 33034
Regards
https://bugs.winehq.org/show_bug.cgi?id=36627
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.20.
https://bugs.winehq.org/show_bug.cgi?id=36627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msasn1
https://bugs.winehq.org/show_bug.cgi?id=36627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20120707022155/http://down | |load.gfwl.xboxlive.com/cont | |ent/gfwl-public/redists/pro | |duction/gfwlivesetup.exe Keywords| |download Summary|Games For Windows Live |Games For Windows Live |2.0.0687.0 |(GFWL/XLive) 2.x and 3.x |(PANORAMA_V2.00_RTM.090421- |needs MSASN1.dll |2351) needs MSASN1.dll |
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
adding some stable download links for documentation.
Earliest snapshots from 'download.gfwl.xboxlive.com' site. There exist more ancient ones from other sites.
https://web.archive.org/web/20120707022155/http://download.gfwl.xboxlive.com... (web-downloader)
https://web.archive.org/web/20130725214700/http://download.gfwl.xboxlive.com... (offline)
'gfwlivesetup.exe' 3.5.0089.0 (WGX_XLIVE_V3.05_RTM(panblder).110411-1052):
https://www.virustotal.com/gui/file/c8582a16f4647365e0be04826442a77de257b9bb...
'xliveredist.msi':
https://www.virustotal.com/gui/file/cef636119489445101f65f99752cb2b62175a02f...
NOTE: Unlike the old bug summary might suggest, more XLive versions had that dependency.
Regards
https://bugs.winehq.org/show_bug.cgi?id=36627
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
adding more stable download links via Internet Archive for documentation:
================================
GFWL 2.0.672.0 (11/12/2008)
https://web.archive.org/web/20081212103050/http://www.microsoft.com/download...
https://web.archive.org/web/20120616202854/http://download.microsoft.com/dow...
https://web.archive.org/web/20111121101950/http://download.microsoft.com/dow...
$ sha1sum xliveredist.msi e5e033f2b4e73c8ea04b7d8de07971f9b8f9567b xliveredist.msi
$ du -sh xliveredist.msi 23M xliveredist.msi
================================
GFWL 2.0.0675.0
https://web.archive.org/web/20210203152042/http://dl.4players.de/f1/pc/sonst...
$ sha1sum gfwlivesetupmin.exe 4a52d191655aaf88c2248dafe8f23b447a467cc2 gfwlivesetupmin.exe
$ du -sh gfwlivesetupmin.exe 31M gfwlivesetupmin.exe
================================
GFWL 3.0.0086.0 (8/4/2009)
https://web.archive.org/web/20130903075243/http://download.microsoft.com/dow...
$ sha1sum gfwlivesetupmin.exe 3d3faaa0d0fc1d8b69c6b69894266434e309aa9a gfwlivesetupmin.exe
$ du -sh gfwlivesetupmin.exe 30M gfwlivesetupmin.exe
================================
GFWL 3.0.0089.0
https://web.archive.org/web/20111121101950/http://download.microsoft.com/dow...
$ sha1sum gfwlivesetupmin.exe 6f9e0ba052c68c8b51bb0e3ce6024d0e1c7b20b2 gfwlivesetupmin.exe
$ du -sh gfwlivesetupmin.exe 30M gfwlivesetupmin.exe
================================
GFWL 3.1.0186.0
https://web.archive.org/web/20210203155938/https://dl1.gamedl.ru/download/mp...
$ sha1sum gfwlivesetup.exe 3fe9d1f45c0c05b4cafd9dd6da8b76c79c7be126 gfwlivesetup.exe
$ du -sh gfwlivesetup.exe 260M gfwlivesetup.exe
================================
GFWL 3.02.0217.00 (12/15/2009)
https://web.archive.org/web/20120610095723/http://download.microsoft.com/dow...
$ sha1sum gfwlivesetupmin.exe 82c9fecc67bc55f37cebb61b1e483821988b54cd gfwlivesetupmin.exe
$ du -sh gfwlivesetupmin.exe 28M gfwlivesetupmin.exe
================================
GFWL 3.03.0024.00 (5/26/2010)
https://web.archive.org/web/20111220005241/http://download.microsoft.com/dow...
$ sha1sum gfwlivesetupmin.exe a41868dc09dd40875999458f0a3873a5677efa0f gfwlivesetupmin.exe
$ gfwlivesetupmin.exe 28M gfwlivesetupmin.exe
================================
Regards