POL_Install_DXVK_170

Informations

Creator Message
Dadu042
Moderator

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1568
Wine: System

Feedbacks

Description

'DirectX to Vulkan' v1.6.1 (2020). DXVK's wiki. Release notes.

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

 

From the release notes of v1.70 :

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)

Source code

#!/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:

Contribute
Member Message
Dadu042 Monday 29 June 2020 at 15:32
Dadu042
Moderator

Information

This update has been approved by the team.

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"

New source code

#!/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"

Replies

Edited by Dadu042

Dadu042 Monday 29 June 2020 at 15:06
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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"

New source code

#!/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"

Replies

Monday 29 June 2020 at 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
Monday 29 June 2020 at 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.
...
Monday 29 June 2020 at 15:32
Crap. Thanks.
Anonymous
Monday 29 June 2020 at 15:34
that happened to me with my vcrun2019 script too.
Yaotl Monday 29 June 2020 at 14:40
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

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"

New source code

#!/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"

Replies

Monday 29 June 2020 at 14:45
Script approved.
Dadu042 Tuesday 2 June 2020 at 18:35
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 18:16
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 18:09
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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
  
  

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 18:03
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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
  
  

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 18:02
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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"

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 17:45
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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
  
  

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 17:41
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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
  
  

New source code

#!/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"

Replies

Dadu042 Tuesday 2 June 2020 at 17:35
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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"

New source code

#!/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"

Replies