POL_Install_DXVK_170

Informations

Créateur Messages
Dadu042

Information

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

Informations

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

Retours d'expérience

Description

'DirectX to Vulkan'. DXVK's wiki. Release notes.

Script inspired by the Booman's guide (manually copying the files).

 

From the release notes of v1.70 (may 2020):

Wine 5.8 is needed for winevulkan support, as well as the following drivers:

  • AMD, Intel: Mesa 20.2 (current development version)
  • Nvidia: 440.66.12 (Vulkan developer beta)

Code source

#!/bin/bash
# Last revision : (2020-06-29)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

# CHANGELOG
# [Dadu042] (2020-06-26 17-00)
#   Initial script.
# [Yaolt] (2020-06-29 15-00)
#   Fix folders inversion when in amd64 mode.

   
DXVK_VERSION="dxvk-1.7"
   
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
    
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
   
cd "$WINEPREFIX"/drive_c/windows/temp
   
# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
   
   
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
 
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
    
    
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
   
POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Lundi 29 Juin 2020 à 15:32
Dadu042

Information

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

Differences

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Last revision : (2020-06-02)
+# Last revision : (2020-06-29)
 # Creator: Dadu042
 # based on:
 #  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
@@ -7,6 +7,13 @@
 #  POL_Install_d3dx9_43 by Petch
 #  POL_Install_d3dx9 by Berillions/GNU_Raziel
 # Only For : http://www.playonlinux.com
+
+# CHANGELOG
+# [Dadu042] (2020-06-26 17-00)
+#   Initial script.
+# [Yaolt] (2020-06-29 15-00)
+#   Fix folders inversion when in amd64 mode.
+
    
 DXVK_VERSION="dxvk-1.7"
    
@@ -23,19 +30,19 @@
    
    
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
  
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 else
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-29)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

# CHANGELOG
# [Dadu042] (2020-06-26 17-00)
#   Initial script.
# [Yaolt] (2020-06-29 15-00)
#   Fix folders inversion when in amd64 mode.

   
DXVK_VERSION="dxvk-1.7"
   
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
    
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
   
cd "$WINEPREFIX"/drive_c/windows/temp
   
# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
   
   
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
 
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
    
    
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
   
POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Edité par Dadu042

Dadu042 Lundi 29 Juin 2020 à 15:06
Dadu042

Warning

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

Messages

I cancel my approval because I tought that Yaolt change was only reordering. Yaolt please explain me if your change is required.

Differences

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Last revision : (2020-06-29)
+# Last revision : (2020-06-02)
 # Creator: Dadu042
 # based on:
 #  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
@@ -7,35 +7,35 @@
 #  POL_Install_d3dx9_43 by Petch
 #  POL_Install_d3dx9 by Berillions/GNU_Raziel
 # Only For : http://www.playonlinux.com
-  
+   
 DXVK_VERSION="dxvk-1.7"
-  
+   
 # Downloading DXVK files
 POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
-   
+    
 # Installing DLL
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
-  
+   
 cd "$WINEPREFIX"/drive_c/windows/temp
-  
+   
 # tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
 tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
-  
-  
+   
+   
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+ 
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 else
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
@@ -44,11 +44,11 @@
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 fi
-   
-   
+    
+    
 # Overriding dlls
 POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
-  
+   
 POL_Call POL_Function_OverrideDLL "native" "d3d9"
 POL_Call POL_Function_OverrideDLL "native" "d3d10"
 POL_Call POL_Function_OverrideDLL "native" "d3d10_1"

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
   
DXVK_VERSION="dxvk-1.7"
   
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
    
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
   
cd "$WINEPREFIX"/drive_c/windows/temp
   
# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
   
   
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
 
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
    
    
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
   
POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Lundi 29 Juin 2020 à 15:14
Yaolt, is this page relevant about your change? : https://www.howtogeek.com/326509/whats-the-difference-between-the-system32-and-syswow64-folders-in-windows/
Anonymous
Lundi 29 Juin 2020 à 15:18
...
On a 64-bit computer, 64-bit programs store their files in C:\Program Files, and the system-wide C:\Windows\System32 folder contains 64-bit libraries. 32-bit programs store their files in C:\Program Files (x86), and the system-wide folder is C:\Windows\SysWOW64.
...
Lundi 29 Juin 2020 à 15:32
Crap. Thanks.
Anonymous
Lundi 29 Juin 2020 à 15:34
that happened to me with my vcrun2019 script too.
Yaotl Lundi 29 Juin 2020 à 14:40
Yaotl Anonymous

Warning

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

Differences

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Last revision : (2020-06-02)
+# Last revision : (2020-06-29)
 # Creator: Dadu042
 # based on:
 #  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
@@ -23,19 +23,19 @@
   
   
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
 
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 else
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-29)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
  
DXVK_VERSION="dxvk-1.7"
  
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
   
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
  
cd "$WINEPREFIX"/drive_c/windows/temp
  
# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
  
  
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"

        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
   
   
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
  
POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Lundi 29 Juin 2020 à 14:45
Script approved.
Dadu042 Mardi 2 Juin 2020 à 18:35
Dadu042

Warning

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

Differences

@@ -7,21 +7,21 @@
 #  POL_Install_d3dx9_43 by Petch
 #  POL_Install_d3dx9 by Berillions/GNU_Raziel
 # Only For : http://www.playonlinux.com
- 
+  
 DXVK_VERSION="dxvk-1.7"
- 
+  
 # Downloading DXVK files
 POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
-  
+   
 # Installing DLL
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
- 
+  
 cd "$WINEPREFIX"/drive_c/windows/temp
- 
+  
 # tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
 tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
- 
- 
+  
+  
 if [ "$POL_ARCH" == "amd64" ]; then
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
@@ -29,6 +29,13 @@
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 else
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
@@ -37,14 +44,14 @@
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
         cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 fi
-  
-  
+   
+   
 # Overriding dlls
 POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
- 
-        POL_Call POL_Function_OverrideDLL "native" "d3d9"
-        POL_Call POL_Function_OverrideDLL "native" "d3d10"
-        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
-        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
-        POL_Call POL_Function_OverrideDLL "native" "d3d11"
-        POL_Call POL_Function_OverrideDLL "native" "dxgi"
\ No newline at end of file
+  
+POL_Call POL_Function_OverrideDLL "native" "d3d9"
+POL_Call POL_Function_OverrideDLL "native" "d3d10"
+POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
+POL_Call POL_Function_OverrideDLL "native" "d3d10core"
+POL_Call POL_Function_OverrideDLL "native" "d3d11"
+POL_Call POL_Function_OverrideDLL "native" "dxgi"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
  
DXVK_VERSION="dxvk-1.7"
  
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
   
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
  
cd "$WINEPREFIX"/drive_c/windows/temp
  
# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
  
  
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"

        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
   
   
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
  
POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 18:16
Dadu042

Warning

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

Messages

Can't figure out how to simplify by copying the content of the folders.
 

Differences

@@ -7,33 +7,44 @@
 #  POL_Install_d3dx9_43 by Petch
 #  POL_Install_d3dx9 by Berillions/GNU_Raziel
 # Only For : http://www.playonlinux.com
-
+ 
 DXVK_VERSION="dxvk-1.7"
-
+ 
 # Downloading DXVK files
 POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
- 
+  
 # Installing DLL
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
-
+ 
 cd "$WINEPREFIX"/drive_c/windows/temp
-
+ 
+# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
 tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
-
-
+ 
+ 
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -fr "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
 else
-        cp -fr "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 fi
- 
- 
+  
+  
 # Overriding dlls
 POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
-
-POL_Call POL_Function_OverrideDLL "native" "d3d9"
-POL_Call POL_Function_OverrideDLL "native" "d3d10"
-POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
-POL_Call POL_Function_OverrideDLL "native" "d3d10core"
-POL_Call POL_Function_OverrideDLL "native" "d3d11"
-POL_Call POL_Function_OverrideDLL "native" "dxgi"
+ 
+        POL_Call POL_Function_OverrideDLL "native" "d3d9"
+        POL_Call POL_Function_OverrideDLL "native" "d3d10"
+        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
+        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
+        POL_Call POL_Function_OverrideDLL "native" "d3d11"
+        POL_Call POL_Function_OverrideDLL "native" "dxgi"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
 
DXVK_VERSION="dxvk-1.7"
 
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
  
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
 
cd "$WINEPREFIX"/drive_c/windows/temp
 
# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
 
 
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
  
  
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
 
        POL_Call POL_Function_OverrideDLL "native" "d3d9"
        POL_Call POL_Function_OverrideDLL "native" "d3d10"
        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
        POL_Call POL_Function_OverrideDLL "native" "d3d11"
        POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 18:09
Dadu042

Warning

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

Differences

@@ -18,14 +18,13 @@
 
 cd "$WINEPREFIX"/drive_c/windows/temp
 
-# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
 tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
 
 
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -fr "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64" "$WINEPREFIX/drive_c/windows/syswow64"
 else
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32" "$WINEPREFIX/drive_c/windows/system32"
+        cp -fr "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32" "$WINEPREFIX/drive_c/windows/system32"
 fi
  
  

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

DXVK_VERSION="dxvk-1.7"

# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
 
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"

cd "$WINEPREFIX"/drive_c/windows/temp

tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz


if [ "$POL_ARCH" == "amd64" ]; then
        cp -fr "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -fr "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32" "$WINEPREFIX/drive_c/windows/system32"
fi
 
 
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 18:03
Dadu042

Warning

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

Differences

@@ -23,9 +23,9 @@
 
 
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64" "$WINEPREFIX/drive_c/windows/syswow64"
 else
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32" "$WINEPREFIX/drive_c/windows/system32"
 fi
  
  

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

DXVK_VERSION="dxvk-1.7"

# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
 
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"

cd "$WINEPREFIX"/drive_c/windows/temp

# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz


if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32" "$WINEPREFIX/drive_c/windows/system32"
fi
 
 
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 18:02
Dadu042

Warning

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

Differences

@@ -23,28 +23,18 @@
 
 
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/" "$WINEPREFIX/drive_c/windows/syswow64"
 else
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/" "$WINEPREFIX/drive_c/windows/system32"
 fi
  
  
 # Overriding dlls
 POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
 
-	POL_Call POL_Function_OverrideDLL "native" "d3d9"
-	POL_Call POL_Function_OverrideDLL "native" "d3d10"
-	POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
-	POL_Call POL_Function_OverrideDLL "native" "d3d10core"
-	POL_Call POL_Function_OverrideDLL "native" "d3d11"
-	POL_Call POL_Function_OverrideDLL "native" "dxgi"
+POL_Call POL_Function_OverrideDLL "native" "d3d9"
+POL_Call POL_Function_OverrideDLL "native" "d3d10"
+POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
+POL_Call POL_Function_OverrideDLL "native" "d3d10core"
+POL_Call POL_Function_OverrideDLL "native" "d3d11"
+POL_Call POL_Function_OverrideDLL "native" "dxgi"

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

DXVK_VERSION="dxvk-1.7"

# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
 
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"

cd "$WINEPREFIX"/drive_c/windows/temp

# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz


if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/" "$WINEPREFIX/drive_c/windows/system32"
fi
 
 
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

POL_Call POL_Function_OverrideDLL "native" "d3d9"
POL_Call POL_Function_OverrideDLL "native" "d3d10"
POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
POL_Call POL_Function_OverrideDLL "native" "d3d10core"
POL_Call POL_Function_OverrideDLL "native" "d3d11"
POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 17:45
Dadu042

Warning

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

Differences

@@ -15,28 +15,27 @@
  
 # Installing DLL
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
-cd "$WINEPREFIX"/drive_c/windows/temp
 
+cd "$WINEPREFIX"/drive_c/windows/temp
 
 # tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
-
 tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
 
 
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d9.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10_1.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10core.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d11.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/dxgi.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
 else
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d9.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10_1.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10core.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d11.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/dxgi.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
 fi
  
  

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

DXVK_VERSION="dxvk-1.7"

# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
 
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"

cd "$WINEPREFIX"/drive_c/windows/temp

# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz


if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d9.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d10core.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/d3d11.dll" "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x64/dxgi.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d9.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10_1.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d10core.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/d3d11.dll" "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$WINEPREFIX/drive_c/windows/temp/$DXVK_VERSION/x32/dxgi.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
 
 
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

        POL_Call POL_Function_OverrideDLL "native" "d3d9"
        POL_Call POL_Function_OverrideDLL "native" "d3d10"
        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
        POL_Call POL_Function_OverrideDLL "native" "d3d11"
        POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 17:41
Dadu042

Warning

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

Differences

@@ -7,9 +7,11 @@
 #  POL_Install_d3dx9_43 by Petch
 #  POL_Install_d3dx9 by Berillions/GNU_Raziel
 # Only For : http://www.playonlinux.com
- 
+
+DXVK_VERSION="dxvk-1.7"
+
 # Downloading DXVK files
-POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/dxvk-1.7.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
+POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
  
 # Installing DLL
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
@@ -18,23 +20,23 @@
 
 # tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
 
-tar -xvzf "$POL_USER_ROOT"/ressources/dxvk-1.7.tar.gz
+tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz
 
 
 if [ "$POL_ARCH" == "amd64" ]; then
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d9.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10_1.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10core.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d11.dll "$WINEPREFIX/drive_c/windows/syswow64"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/dxgi.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d9.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10_1.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10core.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d11.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/dxgi.dll "$WINEPREFIX/drive_c/windows/syswow64"
 else
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d9.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10_1.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10core.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d11.dll "$WINEPREFIX/drive_c/windows/system32"
-        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/dxgi.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d9.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10_1.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10core.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d11.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/dxgi.dll "$WINEPREFIX/drive_c/windows/system32"
 fi
  
  

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com

DXVK_VERSION="dxvk-1.7"

# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/$DXVK_VERSION.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
 
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
cd "$WINEPREFIX"/drive_c/windows/temp


# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"

tar -xvzf "$POL_USER_ROOT"/ressources/$DXVK_VERSION.tar.gz


if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d9.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10_1.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d10core.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/d3d11.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x64/dxgi.dll "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d9.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10_1.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d10core.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/d3d11.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/$DXVK_VERSION/x32/dxgi.dll "$WINEPREFIX/drive_c/windows/system32"
fi
 
 
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

        POL_Call POL_Function_OverrideDLL "native" "d3d9"
        POL_Call POL_Function_OverrideDLL "native" "d3d10"
        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
        POL_Call POL_Function_OverrideDLL "native" "d3d11"
        POL_Call POL_Function_OverrideDLL "native" "dxgi"

Réponses

Dadu042 Mardi 2 Juin 2020 à 17:35
Dadu042

Warning

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

Differences

@@ -0,0 +1,49 @@
+#!/bin/bash
+# Last revision : (2020-06-02)
+# Creator: Dadu042
+# based on:
+#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
+#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
+#  POL_Install_d3dx9_43 by Petch
+#  POL_Install_d3dx9 by Berillions/GNU_Raziel
+# Only For : http://www.playonlinux.com
+ 
+# Downloading DXVK files
+POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/dxvk-1.7.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
+ 
+# Installing DLL
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
+cd "$WINEPREFIX"/drive_c/windows/temp
+
+
+# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"
+
+tar -xvzf "$POL_USER_ROOT"/ressources/dxvk-1.7.tar.gz
+
+
+if [ "$POL_ARCH" == "amd64" ]; then
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d9.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10_1.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10core.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d11.dll "$WINEPREFIX/drive_c/windows/syswow64"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/dxgi.dll "$WINEPREFIX/drive_c/windows/syswow64"
+else
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d9.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10_1.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10core.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d11.dll "$WINEPREFIX/drive_c/windows/system32"
+        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/dxgi.dll "$WINEPREFIX/drive_c/windows/system32"
+fi
+ 
+ 
+# Overriding dlls
+POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"
+
+	POL_Call POL_Function_OverrideDLL "native" "d3d9"
+	POL_Call POL_Function_OverrideDLL "native" "d3d10"
+	POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
+	POL_Call POL_Function_OverrideDLL "native" "d3d10core"
+	POL_Call POL_Function_OverrideDLL "native" "d3d11"
+	POL_Call POL_Function_OverrideDLL "native" "dxgi"

Nouveau code source

#!/bin/bash
# Last revision : (2020-06-02)
# Creator: Dadu042
# based on:
#  https://www.playonlinux.com/en/app-912-POL_Install_mfc42.html
#  https://www.playonlinux.com/es/app-2194-POL_GetTool_samba3.html
#  POL_Install_d3dx9_43 by Petch
#  POL_Install_d3dx9 by Berillions/GNU_Raziel
# Only For : http://www.playonlinux.com
 
# Downloading DXVK files
POL_Download_Resource "https://github.com/doitsujin/dxvk/releases/download/v1.7/dxvk-1.7.tar.gz" "666d58111e767dab8cfc0c8053c33c1d"
 
# Installing DLL
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing DXVK files...')" "$TITLE"
cd "$WINEPREFIX"/drive_c/windows/temp


# tar -xvzf dxvk-1.7.tar.gz -C "$TARGET"

tar -xvzf "$POL_USER_ROOT"/ressources/dxvk-1.7.tar.gz


if [ "$POL_ARCH" == "amd64" ]; then
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d9.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10_1.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d10core.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/d3d11.dll "$WINEPREFIX/drive_c/windows/syswow64"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x64/dxgi.dll "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d9.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10_1.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d10core.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/d3d11.dll "$WINEPREFIX/drive_c/windows/system32"
        cp -f "$POL_USER_ROOT"/ressources/dxvk-1.7/x32/dxgi.dll "$WINEPREFIX/drive_c/windows/system32"
fi
 
 
# Overriding dlls
POL_Debug_Message "Overriding DirectX 9, 10, 11 DLLs"

        POL_Call POL_Function_OverrideDLL "native" "d3d9"
        POL_Call POL_Function_OverrideDLL "native" "d3d10"
        POL_Call POL_Function_OverrideDLL "native" "d3d10_1"
        POL_Call POL_Function_OverrideDLL "native" "d3d10core"
        POL_Call POL_Function_OverrideDLL "native" "d3d11"
        POL_Call POL_Function_OverrideDLL "native" "dxgi"

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