POL_Install_d3dcompiler_47
Informations
Créateur | Messages |
---|---|
Dadu042
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience0 1 DescriptionX Code source#!/bin/bash # Last revision : (2021-06-15 22:22) # Creator: Dadu042 & Yaotl # Inspired by Winetricks d3dcompiler_47 https://github.com/Winetricks/winetricks # Script licence : GNU Lesser General Public License 2.1 https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing d3dcompiler_47 dlls...')" "$TITLE" if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32" ]; then if [ "$POL_ARCH" = "amd64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll else cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi else POL_Download_Resource "https://ftp.mozilla.org/pub/firefox/releases/78.11.0esr/win32/en-US/Firefox Setup 78.11.0esr.exe" "b72333db7a247ecd9df0189d79f2ed7f" "d3dcompiler_47/win32" 7z x "Firefox Setup 78.11.0esr.exe" "core/d3dcompiler_47.dll" cp -f core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 if [ "$POL_ARCH" = "amd64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll else cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi rm -rf $POL_USER_ROOT/ressources/d3dcompiler_47/win32 fi if [ "$POL_ARCH" = "amd64" ]; then if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll else POL_Download_Resource "https://ftp.mozilla.org/pub/firefox/releases/78.11.0esr/win64/en-US/Firefox Setup 78.11.0esr.exe" "6ad08322fa49ee1a2a4e12c6d77e5388" "d3dcompiler_47/win64" 7z x "Firefox Setup 78.11.0esr.exe" "core/d3dcompiler_47.dll" cp -f core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 mv -f core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi rm -rf $POL_USER_ROOT/ressources/d3dcompiler_47/win64 fi POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" |
Contributions
Filters:
ContribuerMembre | Messages |
Yaotl | Mardi 15 Juin 2021 à 23:24 |
Yaotl
|
InformationCette mise à jour a été acceptée par l'équipe Differences@@ -1,36 +1,38 @@ #!/bin/bash -# Last revision : (2021-05-26 02:05) +# Last revision : (2021-06-15 22:22) # Creator: Dadu042 & Yaotl # Inspired by Winetricks d3dcompiler_47 https://github.com/Winetricks/winetricks # Script licence : GNU Lesser General Public License 2.1 https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing d3dcompiler_47 dlls...')" "$TITLE" if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32" ]; then - POL_Debug_Message "Copy d3dcompiler_47 dlls" if [ "$POL_ARCH" = "amd64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll - cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll else cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi else - POL_Debug_Message "Extract d3dcompiler_47 dlls" - mkdir -p "$POL_USER_ROOT/ressources/d3dcompiler_47" - cd "$POL_USER_ROOT/tmp" - wget -O "Firefox_Setup_78.10.1esr_win32.exe" "https://ftp.mozilla.org/pub/firefox/releases/78.10.1esr/win32/en-US/Firefox Setup 78.10.1esr.exe" - 7z x "Firefox_Setup_78.10.1esr_win32.exe" "core/d3dcompiler_47.dll" - cp -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 + POL_Download_Resource "https://ftp.mozilla.org/pub/firefox/releases/78.11.0esr/win32/en-US/Firefox Setup 78.11.0esr.exe" "b72333db7a247ecd9df0189d79f2ed7f" "d3dcompiler_47/win32" + 7z x "Firefox Setup 78.11.0esr.exe" "core/d3dcompiler_47.dll" + cp -f core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 if [ "$POL_ARCH" = "amd64" ]; then - mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll + cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll else - mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi - if [ "$POL_ARCH" = "amd64" ]; then - wget -O "Firefox_Setup_78.10.1esr_win64.exe" "https://ftp.mozilla.org/pub/firefox/releases/78.10.1esr/win64/en-US/Firefox Setup 78.10.1esr.exe" - 7z x "Firefox_Setup_78.10.1esr_win64.exe" "core/d3dcompiler_47.dll" - cp -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 - mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + rm -rf $POL_USER_ROOT/ressources/d3dcompiler_47/win32 +fi +if [ "$POL_ARCH" = "amd64" ]; then + if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64" ]; then + cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + else + POL_Download_Resource "https://ftp.mozilla.org/pub/firefox/releases/78.11.0esr/win64/en-US/Firefox Setup 78.11.0esr.exe" "6ad08322fa49ee1a2a4e12c6d77e5388" "d3dcompiler_47/win64" + 7z x "Firefox Setup 78.11.0esr.exe" "core/d3dcompiler_47.dll" + cp -f core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 + mv -f core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi + rm -rf $POL_USER_ROOT/ressources/d3dcompiler_47/win64 fi + POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" \ No newline at end of file Nouveau code source#!/bin/bash # Last revision : (2021-06-15 22:22) # Creator: Dadu042 & Yaotl # Inspired by Winetricks d3dcompiler_47 https://github.com/Winetricks/winetricks # Script licence : GNU Lesser General Public License 2.1 https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing d3dcompiler_47 dlls...')" "$TITLE" if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32" ]; then if [ "$POL_ARCH" = "amd64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll else cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi else POL_Download_Resource "https://ftp.mozilla.org/pub/firefox/releases/78.11.0esr/win32/en-US/Firefox Setup 78.11.0esr.exe" "b72333db7a247ecd9df0189d79f2ed7f" "d3dcompiler_47/win32" 7z x "Firefox Setup 78.11.0esr.exe" "core/d3dcompiler_47.dll" cp -f core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 if [ "$POL_ARCH" = "amd64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll else cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi rm -rf $POL_USER_ROOT/ressources/d3dcompiler_47/win32 fi if [ "$POL_ARCH" = "amd64" ]; then if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll else POL_Download_Resource "https://ftp.mozilla.org/pub/firefox/releases/78.11.0esr/win64/en-US/Firefox Setup 78.11.0esr.exe" "6ad08322fa49ee1a2a4e12c6d77e5388" "d3dcompiler_47/win64" 7z x "Firefox Setup 78.11.0esr.exe" "core/d3dcompiler_47.dll" cp -f core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 mv -f core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi rm -rf $POL_USER_ROOT/ressources/d3dcompiler_47/win64 fi POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" RéponsesMercredi 16 Juin 2021 à 6:29
|
Yaotl | Mercredi 26 Mai 2021 à 12:04 |
Yaotl
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,40 +1,36 @@ #!/bin/bash -# Last revision : (2020-07-18 20: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_47_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' - install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_47.dll' +# Last revision : (2021-05-26 02:05) +# Creator: Dadu042 & Yaotl +# Inspired by Winetricks d3dcompiler_47 https://github.com/Winetricks/winetricks +# Script licence : GNU Lesser General Public License 2.1 https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt + +POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing d3dcompiler_47 dlls...')" "$TITLE" +if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32" ]; then + POL_Debug_Message "Copy d3dcompiler_47 dlls" + if [ "$POL_ARCH" = "amd64" ]; then + cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll + cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + else + cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + fi else - POL_Debug_Message "Extracting only x86 dll" - install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' + POL_Debug_Message "Extract d3dcompiler_47 dlls" + mkdir -p "$POL_USER_ROOT/ressources/d3dcompiler_47" + cd "$POL_USER_ROOT/tmp" + wget -O "Firefox_Setup_78.10.1esr_win32.exe" "https://ftp.mozilla.org/pub/firefox/releases/78.10.1esr/win32/en-US/Firefox Setup 78.10.1esr.exe" + 7z x "Firefox_Setup_78.10.1esr_win32.exe" "core/d3dcompiler_47.dll" + cp -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 + if [ "$POL_ARCH" = "amd64" ]; then + mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll + else + mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + fi + if [ "$POL_ARCH" = "amd64" ]; then + wget -O "Firefox_Setup_78.10.1esr_win64.exe" "https://ftp.mozilla.org/pub/firefox/releases/78.10.1esr/win64/en-US/Firefox Setup 78.10.1esr.exe" + 7z x "Firefox_Setup_78.10.1esr_win64.exe" "core/d3dcompiler_47.dll" + cp -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 + mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll + fi fi - -# Overriding dlls POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" \ No newline at end of file Nouveau code source#!/bin/bash # Last revision : (2021-05-26 02:05) # Creator: Dadu042 & Yaotl # Inspired by Winetricks d3dcompiler_47 https://github.com/Winetricks/winetricks # Script licence : GNU Lesser General Public License 2.1 https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing d3dcompiler_47 dlls...')" "$TITLE" if [ -f "$POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32" ]; then POL_Debug_Message "Copy d3dcompiler_47 dlls" if [ "$POL_ARCH" = "amd64" ]; then cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll else cp -f $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi else POL_Debug_Message "Extract d3dcompiler_47 dlls" mkdir -p "$POL_USER_ROOT/ressources/d3dcompiler_47" cd "$POL_USER_ROOT/tmp" wget -O "Firefox_Setup_78.10.1esr_win32.exe" "https://ftp.mozilla.org/pub/firefox/releases/78.10.1esr/win32/en-US/Firefox Setup 78.10.1esr.exe" 7z x "Firefox_Setup_78.10.1esr_win32.exe" "core/d3dcompiler_47.dll" cp -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win32 if [ "$POL_ARCH" = "amd64" ]; then mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/syswow64/d3dcompiler_47.dll else mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi if [ "$POL_ARCH" = "amd64" ]; then wget -O "Firefox_Setup_78.10.1esr_win64.exe" "https://ftp.mozilla.org/pub/firefox/releases/78.10.1esr/win64/en-US/Firefox Setup 78.10.1esr.exe" 7z x "Firefox_Setup_78.10.1esr_win64.exe" "core/d3dcompiler_47.dll" cp -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $POL_USER_ROOT/ressources/d3dcompiler_47/d3dcompiler_47.win64 mv -f $POL_USER_ROOT/tmp/core/d3dcompiler_47.dll $WINEPREFIX/drive_c/windows/system32/d3dcompiler_47.dll fi fi POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" RéponsesMardi 1 Juin 2021 à 9:49
|
winetrouble | Mercredi 7 Avril 2021 à 8:21 |
winetrouble
|
MessagesYour source "directx_Jun2010_redist.exe" doesn't contain neither the d3dcompiler_46.dll nor the d3dcompiler_47.dll. Based on winetricks I made a new script: #!/usr/bin/env playonlinux-bash POL_SetupWindow_Init # Select and create prefix eval_gettext 'Please wait while $TITLE is installed.' cd "$POL_USER_ROOT/ressources/"
RéponsesEdité par winetrouble |
Quentin PÂRIS | Mercredi 10 Mars 2021 à 23:07 |
Quentin PÂRIS
|
WarningCette mise à jour n'a pas été approuvé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-18 20: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_47_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_47.dll' else POL_Debug_Message "Extracting only x86 dll" install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' fi # Overriding dlls POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" Réponses |
Dadu042 | Samedi 18 Juillet 2020 à 20:39 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,40 @@ +#!/bin/bash +# Last revision : (2020-07-18 20: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_47_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' + install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_47.dll' +else + POL_Debug_Message "Extracting only x86 dll" + install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' +fi + +# Overriding dlls +POL_Debug_Message "Overriding d3dcompiler_47 dll" +POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" \ No newline at end of file Nouveau code source#!/bin/bash # Last revision : (2020-07-18 20: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_47_x64.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/syswow64" 'd3dcompiler_47.dll' else POL_Debug_Message "Extracting only x86 dll" install_dx_dlls '*d3dcompiler_47_x86.cab' "$WINEPREFIX/drive_c/windows/system32" 'd3dcompiler_47.dll' fi # Overriding dlls POL_Debug_Message "Overriding d3dcompiler_47 dll" POL_Wine_OverrideDLL "native, builtin" "d3dcompiler_47" 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