POL_Install_d3dcompiler_42

Informations

Créateur Messages
Dadu042

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 23853
Wine: System

Retours d'expérience

Description

X

Code source

#!/bin/bash
# Last revision : (2020-07-27 10:00)
# Creator: Dadu042
#  based Petch's script, based on POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Downloading directx runtime
POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4"
  
# Extracting & Installing Dx9 dlls
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DirectX 9 dlls...')" "$TITLE"
cd "$POL_USER_ROOT/ressources"
  
install_dx_dlls () {
    local CABPATTERN="$1"
    local TARGET="$2"
    local PATTERN="$3"
    local TMPDLL="$POL_USER_ROOT/tmp/Install_d3dx9"
  
    mkdir "$TMPDLL"
    cabextract -d "$TMPDLL/" -L -F "$CABPATTERN" directx_Jun2010_redist.exe
      
    for x in "$TMPDLL/"*.cab; do
        cabextract -d "$TARGET/" -L -F "$PATTERN" "$x"
    done
    rm -rf "$TMPDLL"
}
  
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Message "Extracting x86 and x64 dlls"
        install_dx_dlls '*d3dcompiler_42_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_42.dll'
else
        POL_Debug_Message "Extracting only x86 dll"
        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
fi
  
# Overriding dlls
POL_Debug_Message "Overriding d3dcompiler_42 dll"
POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_42"

Contributions

Filters:

Contribuer
Membre Messages
Yaotl Lundi 17 Mai 2021 à 6:15
Yaotl Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -5,7 +5,7 @@
 # Only For : http://www.playonlinux.com
   
 # Downloading directx runtime
-POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "7c1fc2021cf57fed3c25c9b03cd0c31a"
+POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4"
   
 # Extracting & Installing Dx9 dlls
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DirectX 9 dlls...')" "$TITLE"

Nouveau code source

#!/bin/bash
# Last revision : (2020-07-27 10:00)
# Creator: Dadu042
#  based Petch's script, based on POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Downloading directx runtime
POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4"
  
# Extracting & Installing Dx9 dlls
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DirectX 9 dlls...')" "$TITLE"
cd "$POL_USER_ROOT/ressources"
  
install_dx_dlls () {
    local CABPATTERN="$1"
    local TARGET="$2"
    local PATTERN="$3"
    local TMPDLL="$POL_USER_ROOT/tmp/Install_d3dx9"
  
    mkdir "$TMPDLL"
    cabextract -d "$TMPDLL/" -L -F "$CABPATTERN" directx_Jun2010_redist.exe
      
    for x in "$TMPDLL/"*.cab; do
        cabextract -d "$TARGET/" -L -F "$PATTERN" "$x"
    done
    rm -rf "$TMPDLL"
}
  
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Message "Extracting x86 and x64 dlls"
        install_dx_dlls '*d3dcompiler_42_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_42.dll'
else
        POL_Debug_Message "Extracting only x86 dll"
        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
fi
  
# Overriding dlls
POL_Debug_Message "Overriding d3dcompiler_42 dll"
POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_42"

Réponses

Lundi 17 Mai 2021 à 11:45
Script approved, thanks.

Edité par Yaotl

Dadu042 Lundi 27 Juillet 2020 à 15:30
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Made in order to try to let Arcania (GOG release) run.

Differences

@@ -0,0 +1,40 @@
+#!/bin/bash
+# Last revision : (2020-07-27 10:00)
+# Creator: Dadu042
+#  based Petch's script, based on POL_Install_d3dx9 by Berillions/GNU_Raziel
+# Only For : http://www.playonlinux.com
+  
+# Downloading directx runtime
+POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "7c1fc2021cf57fed3c25c9b03cd0c31a"
+  
+# Extracting & Installing Dx9 dlls
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DirectX 9 dlls...')" "$TITLE"
+cd "$POL_USER_ROOT/ressources"
+  
+install_dx_dlls () {
+    local CABPATTERN="$1"
+    local TARGET="$2"
+    local PATTERN="$3"
+    local TMPDLL="$POL_USER_ROOT/tmp/Install_d3dx9"
+  
+    mkdir "$TMPDLL"
+    cabextract -d "$TMPDLL/" -L -F "$CABPATTERN" directx_Jun2010_redist.exe
+      
+    for x in "$TMPDLL/"*.cab; do
+        cabextract -d "$TARGET/" -L -F "$PATTERN" "$x"
+    done
+    rm -rf "$TMPDLL"
+}
+  
+if [ "$POL_ARCH" = "amd64" ]; then
+        POL_Debug_Message "Extracting x86 and x64 dlls"
+        install_dx_dlls '*d3dcompiler_42_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
+        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_42.dll'
+else
+        POL_Debug_Message "Extracting only x86 dll"
+        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
+fi
+  
+# Overriding dlls
+POL_Debug_Message "Overriding d3dcompiler_42 dll"
+POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_42"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Last revision : (2020-07-27 10:00)
# Creator: Dadu042
#  based Petch's script, based on POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Downloading directx runtime
POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "7c1fc2021cf57fed3c25c9b03cd0c31a"
  
# Extracting & Installing Dx9 dlls
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DirectX 9 dlls...')" "$TITLE"
cd "$POL_USER_ROOT/ressources"
  
install_dx_dlls () {
    local CABPATTERN="$1"
    local TARGET="$2"
    local PATTERN="$3"
    local TMPDLL="$POL_USER_ROOT/tmp/Install_d3dx9"
  
    mkdir "$TMPDLL"
    cabextract -d "$TMPDLL/" -L -F "$CABPATTERN" directx_Jun2010_redist.exe
      
    for x in "$TMPDLL/"*.cab; do
        cabextract -d "$TARGET/" -L -F "$PATTERN" "$x"
    done
    rm -rf "$TMPDLL"
}
  
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Message "Extracting x86 and x64 dlls"
        install_dx_dlls '*d3dcompiler_42_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_42.dll'
else
        POL_Debug_Message "Extracting only x86 dll"
        install_dx_dlls '*d3dcompiler_42_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_42.dll'
fi
  
# Overriding dlls
POL_Debug_Message "Overriding d3dcompiler_42 dll"
POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_42"

Réponses

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com