Skip to content
Permalink
Browse files

new verb: d3dcompiler_42

This is needed for Secret of Monkey Island 2 SE, see:
https://forum.winehq.org/viewtopic.php?f=8&t=31763#p120227
  • Loading branch information...
mgorny authored and austin987 committed May 30, 2019
1 parent cb31662 commit 15aa33a8fdefa34a28788728b05c3aa8e656d9d2
Showing with 35 additions and 0 deletions.
  1. +1 −0 files/verbs/all.txt
  2. +1 −0 files/verbs/dlls.txt
  3. +1 −0 files/verbs/download.txt
  4. +32 −0 src/winetricks
@@ -83,6 +83,7 @@ comctl32ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for
comctl32 MS common controls 5.80 (Microsoft, 2001) [downloadable]
comdlg32ocx Common Dialog ActiveX Control for VB6 (Microsoft, 2012) [downloadable]
crypt32 MS crypt32 (Microsoft, 2004) [downloadable]
d3dcompiler_42 MS d3dcompiler_42.dll (Microsoft, 2010) [downloadable]
d3dcompiler_43 MS d3dcompiler_43.dll (Microsoft, 2010) [downloadable]
d3dcompiler_47 MS d3dcompiler_47.dll (Microsoft, FIXME) [downloadable]
d3drm MS d3drm.dll (Microsoft, 2010) [downloadable]
@@ -14,6 +14,7 @@ comctl32ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for
comctl32 MS common controls 5.80 (Microsoft, 2001) [downloadable]
comdlg32ocx Common Dialog ActiveX Control for VB6 (Microsoft, 2012) [downloadable]
crypt32 MS crypt32 (Microsoft, 2004) [downloadable]
d3dcompiler_42 MS d3dcompiler_42.dll (Microsoft, 2010) [downloadable]
d3dcompiler_43 MS d3dcompiler_43.dll (Microsoft, 2010) [downloadable]
d3dcompiler_47 MS d3dcompiler_47.dll (Microsoft, FIXME) [downloadable]
d3drm MS d3drm.dll (Microsoft, 2010) [downloadable]
@@ -50,6 +50,7 @@ corefonts
courier
crayonphysics_demo
crypt32
d3dcompiler_42
d3dcompiler_43
d3dcompiler_47
d3drm
@@ -5981,6 +5981,38 @@ load_binkw32()

#----------------------------------------------------------------

w_metadata d3dcompiler_42 dlls \
title="MS d3dcompiler_42.dll" \
publisher="Microsoft" \
year="2010" \
media="download" \
file1="../directx9/directx_Jun2010_redist.exe" \
installed_file1="$W_SYSTEM32_DLLS_WIN/d3dcompiler_42.dll"

load_d3dcompiler_42()
{
dllname=d3dcompiler_42

helper_directx_Jun2010

w_try_cabextract -d "$W_TMP" -L -F "*$dllname*x86*" "$W_CACHE"/directx9/$DIRECTX_NAME
for x in "$W_TMP"/*.cab
do
w_try_cabextract -d "$W_SYSTEM32_DLLS" -L -F "$dllname.dll" "$x"
done
if test "$W_ARCH" = "win64"; then
w_try_cabextract -d "$W_TMP" -L -F "*$dllname*x64*" "$W_CACHE"/directx9/$DIRECTX_NAME
for x in "$W_TMP"/*x64.cab
do
w_try_cabextract -d "$W_SYSTEM64_DLLS" -L -F "$dllname.dll" "$x"
done
fi

w_override_dlls native $dllname
}

#----------------------------------------------------------------

w_metadata d3dcompiler_43 dlls \
title="MS d3dcompiler_43.dll" \
publisher="Microsoft" \

0 comments on commit 15aa33a

Please sign in to comment.
You can’t perform that action at this time.