https://bugs.winehq.org/show_bug.cgi?id=50350
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- It's not in directx9 redist, or any of the service packs winetricks currently uses, afaict. If you've got a download for it, file a bug on github and I'll add it. --- quote ---
I took the chance for digging up the needed information ;-)
I found one hint here:
https://walbourn.github.io/hlsl-fxc-and-d3dcompile/
--- quote --- Version History
D3DCompiler_47 - Windows 10 (inbox), Windows 10 SDK; Windows 8.1 (inbox), Windows 8.1 SDK, Visual Studio 2013/2015 D3DCompiler_46 - Windows 8.0 SDK, Visual Studio 2012 D3DCompiler_43 - DirectX SDK (June 2010) D3DCompiler_42 - DirectX SDK (February 2010) D3DCompiler_41 - DirectX SDK (March 2009) D3DCompiler_40 - DirectX SDK (November 2008) D3DCompiler_39 - DirectX SDK (August 2008) D3DCompiler_38 - DirectX SDK (June 2008) D3DCompiler_37 - DirectX SDK (March 2008) D3DCompiler_36 - DirectX SDK (November 2007) D3DCompiler_35 - DirectX SDK (August 2007) D3DCompiler_34 - DirectX SDK (June 2007) D3DCompiler_33 - DirectX SDK (Aprli 2007) --- quote ---
Using that info we arrive here:
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
https://go.microsoft.com/fwlink/p/?LinkId=226658
Internet Archive snapshot:
https://web.archive.org/web/20130225071349/http://download.microsoft.com/dow...
Installation of Windows 8 SDK requires 'winetricks -q dotnet40 corefonts' prerequisites.
Searching WINEPREFIX after installation:
--- snip --- $ find ~/.wine/drive_c -iname "d3dcompiler_46*"
/home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/8.0/Redist/D3D/x64/d3dcompiler_46.dll /home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/8.0/Redist/D3D/arm/d3dcompiler_46.dll /home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/8.0/Redist/D3D/x86/d3dcompiler_46.dll /home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/8.0/bin/x64/d3dcompiler_46.dll /home/focht/.wine/drive_c/Program Files (x86)/Windows Kits/8.0/bin/x86/d3dcompiler_46.dll /home/focht/.wine/drive_c/windows/system32/d3dcompiler_46.dll /home/focht/.wine/drive_c/windows/syswow64/d3dcompiler_46.dll --- snip ---
Ok, that doesn't look too bad.
Searching files for 'd3dcompiler_46' pattern (installer package, logs, ...):
--- snip --- $ grep -ral d3dcompiler_46 .wine/drive_c/
.wine/drive_c/ProgramData/Package Cache/{D11F66FF-82B3-DDB8-1146-525370552BE1}v8.59.25584/Installers/Windows Software Development Kit for Metro style Apps-x86_en-us.msi .wine/drive_c/Program Files (x86)/Windows Kits/8.0/Include/um/d3dcompiler.h .wine/drive_c/windows/Installer/a2ee.msi .wine/drive_c/windows/system32/d3dcompiler_46.dll .wine/drive_c/windows/system32/gecko/2.47.2/wine_gecko/libEGL.dll .wine/drive_c/windows/system32/gecko/2.47.2/wine_gecko/libGLESv2.dll .wine/drive_c/windows/system32/gecko/2.47.1/wine_gecko/libEGL.dll .wine/drive_c/windows/system32/gecko/2.47.1/wine_gecko/libGLESv2.dll .wine/drive_c/windows/syswow64/d3dcompiler_46.dll .wine/drive_c/windows/syswow64/gecko/2.47.2/wine_gecko/libEGL.dll .wine/drive_c/windows/syswow64/gecko/2.47.2/wine_gecko/libGLESv2.dll .wine/drive_c/windows/syswow64/gecko/2.47.1/wine_gecko/libEGL.dll .wine/drive_c/windows/syswow64/gecko/2.47.1/wine_gecko/libGLESv2.dll .wine/drive_c/users/focht/Temp/standalonesdk/Windows Software Development Kit_20201218100629_2_package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us.log --- snip ---
Inspecting 'Windows Software Development Kit for Metro style Apps-x86_en-us.msi' with ORCA:
'Property' table:
--- snip --- Property Value s72 l0 Property Property UpgradeCode {EE1258A3-8BA0-F8AA-5239-FB9060337672} Manufacturer Microsoft Corporation ProductCode {D11F66FF-82B3-DDB8-1146-525370552BE1} ProductLanguage 1033 ProductName Windows Software Development Kit for Windows Store Apps ProductVersion 8.59.25584 NOUSERNAME 1 ALLUSERS 1 ProductArchitecture x86 SecureCustomProperties DISABLEDEPENDENCYCHECK;IGNOREDEPENDENCIES;NEWERVERSIONDETECTED;WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED --- snip ---
'File' table:
--- snip --- File Component_ FileName FileSize Version Language Attributes Sequence s72 s72 l255 i4 S72 S20 I2 i4 File File ... filb0e390f2c743989f5b7cfd899646d7b2 cmpb0e390f2c743989f5b7cfd899646d7b2 hlelwba0.dll|d3dcompiler_46.dll 3873208 9.30.960.9200 1033 512 77 ... fil4480432a668eb85695632690f07e915f cmp4480432a668eb85695632690f07e915f 0qkvoulg.dll|d3dcompiler_46.dll 3231688 9.30.960.9200 1033 512 951 ... fil8c20206095817436f8df4a711faee5b7 cmp8c20206095817436f8df4a711faee5b7 dmfwt944.dll|d3dcompiler_46.dll 3873224 9.30.960.9200 1033 512 14 fil95d3694a3f4e1aaa1c0bb5721084df6b cmp95d3694a3f4e1aaa1c0bb5721084df6b txd3sxbz.dll|d3dcompiler_46.dll 2840424 9.30.960.9200 1033 512 2 fil47ed91e900f4b9d9659b66a211b57c39 cmp47ed91e900f4b9d9659b66a211b57c39 csigzqd8.dll|d3dcompiler_46.dll 3231688 9.30.960.9200 1033 512 4 ... --- snip ---
Ok, that MSI package is the right one. How to get it? Searching installer logs again:
--- snip --- ... [0100:0158][2020-12-18T10:07:22]: Prompt for source of package: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, payload: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, path: Z:\home\focht\Downloads\Installers\Windows Software Development Kit for Metro style Apps-x86_en-us.msi [0100:0158][2020-12-18T10:07:22]: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us [0100:0158][2020-12-18T10:07:22]: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us to http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509... Software Development Kit for Metro style Apps-x86_en-us.msi [0100:0158][2020-12-18T10:07:22]: Acquiring package: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, payload: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, download from: http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509... Software Development Kit for Metro style Apps-x86_en-us.msi [0020:0114][2020-12-18T10:07:22]: Verified acquired payload: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us at path: C:\ProgramData\Package Cache.unverified\package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, moving to: C:\ProgramData\Package Cache{D11F66FF-82B3-DDB8-1146-525370552BE1}v8.59.25584\Installers\Windows Software Development Kit for Metro style Apps-x86_en-us.msi. ... --- snip ---
Now the problem is that the actual payloads are distributed across a dozen .cab files (source media):
--- snip --- -rw-rw-r--. 1 focht focht 1368627 Dec 18 10:07 15bc5316e373960d82abc253bceaa25d.cab -rw-rw-r--. 1 focht focht 1387877 Dec 18 10:07 2630bae9681db6a9f6722366f47d055c.cab -rw-rw-r--. 1 focht focht 13456 Dec 18 10:07 4035a83dc8e73244d15d1196d55059c3.cab -rw-rw-r--. 1 focht focht 1654595 Dec 18 10:07 61d57a7a82309cd161a854a6f4619e52.cab -rw-rw-r--. 1 focht focht 9004302 Dec 18 10:07 69661e20556b3ca9456b946c2c881ddd.cab -rw-rw-r--. 1 focht focht 1756844 Dec 18 10:07 766c0ffd568bbb31bf7fb6793383e24a.cab -rw-rw-r--. 1 focht focht 2765205 Dec 18 10:07 8125ee239710f33ea485965f76fae646.cab -rw-rw-r--. 1 focht focht 435997 Dec 18 10:07 8d2550602d5b8054e13a9fe36a9df5ba.cab -rw-rw-r--. 1 focht focht 12339 Dec 18 10:07 a68c0988d16ee124783efd98074dcbf9.cab -rw-rw-r--. 1 focht focht 2553874 Dec 18 10:07 ba60f891debd633ae9c26e1372703e3c.cab -rw-rw-r--. 1 focht focht 585097 Dec 18 10:07 c1c7e442409c0adbf81ae43aa0e4351f.cab -rw-rw-r--. 1 focht focht 3156142 Dec 18 10:07 e072b3b3d3164e26b63338dce51862a7.cab -rw-rw-r--. 1 focht focht 2387560 Dec 18 10:07 e10768bb6e9d0ea730280336b697da66.cab -rw-rw-r--. 1 focht focht 8068858 Dec 18 10:07 e3d1b35aecfccda1b4af6fe5988ac4be.cab -rw-rw-r--. 1 focht focht 2394596 Dec 18 10:07 f9b24c8280986c0683fbceca5326d806.cab -rw-rw-r--. 1 focht focht 536576 Dec 18 10:07 'Windows Software Development Kit for Metro style Apps-x86_en-us.msi' --- snip ---
Figuring out which .cab(s) contain the needed dlls...
Using the sequence number (last column) of the files from the 'File' table and inspecting the 'Media' table:
--- snip --- DiskId LastSequence DiskPrompt Cabinet VolumeLabel Source i2 i4 L64 S255 S32 S72 Media DiskId 1 0 2 2 15bc5316e373960d82abc253bceaa25d.cab 3 4 2630bae9681db6a9f6722366f47d055c.cab 4 12 4035a83dc8e73244d15d1196d55059c3.cab 5 14 61d57a7a82309cd161a854a6f4619e52.cab 6 103 69661e20556b3ca9456b946c2c881ddd.cab 7 382 766c0ffd568bbb31bf7fb6793383e24a.cab 8 701 8125ee239710f33ea485965f76fae646.cab 9 703 8d2550602d5b8054e13a9fe36a9df5ba.cab 10 705 a68c0988d16ee124783efd98074dcbf9.cab 11 755 ba60f891debd633ae9c26e1372703e3c.cab 12 812 c1c7e442409c0adbf81ae43aa0e4351f.cab 13 874 e072b3b3d3164e26b63338dce51862a7.cab 14 924 e10768bb6e9d0ea730280336b697da66.cab 15 1014 e3d1b35aecfccda1b4af6fe5988ac4be.cab 16 1064 f9b24c8280986c0683fbceca5326d806.cab --- snip ---
2 -> 15bc5316e373960d82abc253bceaa25d.cab 4 -> 2630bae9681db6a9f6722366f47d055c.cab 14 -> 61d57a7a82309cd161a854a6f4619e52.cab
--- snip --- $ cabextract -l 15bc5316e373960d82abc253bceaa25d.cab
Viewing cabinet: 15bc5316e373960d82abc253bceaa25d.cab File size | Date Time | Name -----------+---------------------+------------- 7170 | 26.07.2012 05:17:02 | cat15bc5316e373960d82abc253bceaa25d 2840424 | 25.07.2012 18:41:12 | fil95d3694a3f4e1aaa1c0bb5721084df6b
$ cabextract 15bc5316e373960d82abc253bceaa25d.cab
Extracting cabinet: 15bc5316e373960d82abc253bceaa25d.cab extracting cat15bc5316e373960d82abc253bceaa25d extracting fil95d3694a3f4e1aaa1c0bb5721084df6b
$ file fil95d3694a3f4e1aaa1c0bb5721084df6b fil95d3694a3f4e1aaa1c0bb5721084df6b: PE32 executable (DLL) (console) ARMv7 Thumb, for MS Windows --- snip ---
-> 32-bit ARMv7 d3dcompiler_46.dll
--- snip --- $ cabextract 2630bae9681db6a9f6722366f47d055c.cab
Extracting cabinet: 2630bae9681db6a9f6722366f47d055c.cab extracting cat2630bae9681db6a9f6722366f47d055c extracting fil47ed91e900f4b9d9659b66a211b57c39
$ file fil47ed91e900f4b9d9659b66a211b57c39 fil47ed91e900f4b9d9659b66a211b57c39: PE32 executable (DLL) (console) Intel 80386, for MS Windows --- snip ---
-> 32-bit x86 d3dcompiler_46.dll
--- snip --- $ cabextract 61d57a7a82309cd161a854a6f4619e52.cab
Extracting cabinet: 61d57a7a82309cd161a854a6f4619e52.cab extracting cat61d57a7a82309cd161a854a6f4619e52 extracting fil8c20206095817436f8df4a711faee5b7
$ file fil8c20206095817436f8df4a711faee5b7 fil8c20206095817436f8df4a711faee5b7: PE32+ executable (DLL) (console) x86-64, for MS Windows --- snip ---
-> 64-bit x86_64 d3dcompiler_46.dll
Going back to installer logs to search for the original download URL of the .cab files:
32-bit x86 d3dcompiler_46.dll
--- snip --- [0100:0158][2020-12-18T10:07:22]: Prompt for source of package: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, payload: pay31A500140833542B46C483C69BE9C2E6, path: Z:\home\focht\Downloads\Installers\2630bae9681db6a9f6722366f47d055c.cab [0100:0158][2020-12-18T10:07:22]: pay31A500140833542B46C483C69BE9C2E6 [0100:0158][2020-12-18T10:07:22]: pay31A500140833542B46C483C69BE9C2E6 to http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509... [0100:0158][2020-12-18T10:07:22]: Acquiring package: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, payload: pay31A500140833542B46C483C69BE9C2E6, download from: http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509... [0020:0114][2020-12-18T10:07:23]: Verified acquired payload: pay31A500140833542B46C483C69BE9C2E6 at path: C:\ProgramData\Package Cache.unverified\pay31A500140833542B46C483C69BE9C2E6, moving to: C:\ProgramData\Package Cache{D11F66FF-82B3-DDB8-1146-525370552BE1}v8.59.25584\Installers\2630bae9681db6a9f6722366f47d055c.cab. --- snip ---
64-bit x86_64 d3dcompiler_46.dll
--- snip --- [0100:0158][2020-12-18T10:07:23]: Prompt for source of package: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, payload: pay3404F40E102FAE7F95C543BFA980F915, path: Z:\home\focht\Downloads\Installers\61d57a7a82309cd161a854a6f4619e52.cab [0100:0158][2020-12-18T10:07:23]: pay3404F40E102FAE7F95C543BFA980F915 [0100:0158][2020-12-18T10:07:23]: pay3404F40E102FAE7F95C543BFA980F915 to http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509... [0100:0158][2020-12-18T10:07:23]: Acquiring package: package_WindowsSoftwareDevelopmentKitforMetrostyleAppsx86_en_us, payload: pay3404F40E102FAE7F95C543BFA980F915, download from: http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509... [0020:0114][2020-12-18T10:07:23]: Verified acquired payload: pay3404F40E102FAE7F95C543BFA980F915 at path: C:\ProgramData\Package Cache.unverified\pay3404F40E102FAE7F95C543BFA980F915, moving to: C:\ProgramData\Package Cache{D11F66FF-82B3-DDB8-1146-525370552BE1}v8.59.25584\Installers\61d57a7a82309cd161a854a6f4619e52.cab. --- snip ---
Now we have all the needed information to write a winetricks recipe.
===
32-bit x86 d3dcompiler_46.dll:
Download:
http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509...
CAB filename:
fil47ed91e900f4b9d9659b66a211b57c39
Destination path (WoW64):
'c:\windows\syswow64\d3dcompiler_46.dll'
---
64-bit x86_64 d3dcompiler_46.dll:
Download:
http://download.microsoft.com/download/F/1/3/F1300C9C-A120-4341-90DF-8A52509...
CAB filename:
fil8c20206095817436f8df4a711faee5b7
Destination path (WoW64):
'c:\windows\system32\d3dcompiler_46.dll'
===
NOTE: Internet Archive is currently not able to snapshot these. Might be robot blocking. I will try later.
Regards