POL_Install_directplay

Informations

Creator Message
NSLW

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 277801
Wine: System

Feedbacks

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : ?
# Last revision : (2022-04-02 8-49)
# Author : NSLW based on Berillions's d3dx9 script

cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "https://dl.4players.de/f1/pc2/sonstiges/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"

POL_Wine_WaitBefore "DirectX 9"

POL_SetupWindow_wait_next_signal "PlayOnLinux is installing DirectPlay" "DirectPlay"

mkdir "Directx"
cd Directx
cabextract "../directx_feb2010_redist.exe"

mkdir "dxnt"
cabextract -d "dxnt" dxnt.cab

cd "dxnt"

mv -f dplaysvr.exe "$WINEPREFIX/drive_c/windows/system32"
mv -f dplayx.dll "$WINEPREFIX/drive_c/windows/system32"
mv -f dpnet.dll "$WINEPREFIX/drive_c/windows/system32"
mv -f dpnhpast.dll "$WINEPREFIX/drive_c/windows/system32"
mv -f dpwsockx.dll "$WINEPREFIX/drive_c/windows/system32"

POL_Wine regsvr32 dplayx.dll
POL_Wine regsvr32 dpnet.dll
POL_Wine regsvr32 dpnhpast.dll

#Réglage directplay
POL_Wine_OverrideDLL native dplayx dpnet dpnhpast dpwsockx

cd "$POL_USER_ROOT/ressources"
rm -rf Directx

POL_SetupWindow_detect_exit

Contributions

Filters:

Contribute
Member Message
rr_pierwszy Sunday 1 December 2024 at 22:42
rr_pierwszy Anonymous

Message

Link is invalid. Please update link for:
https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
In Install Direct Play/Direct 9 script.

Replies

stcz Saturday 2 April 2022 at 8:49
stcz Anonymous

Information

This update has been approved by the team.

Message

The original Microsoft Link was removed. Use an alternative. Checksum is identical.
 

Differences

@@ -1,11 +1,11 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : ?
-# Last revision : (2013-01-22 21-52)
+# Last revision : (2022-04-02 8-49)
 # Author : NSLW based on Berillions's d3dx9 script
 
 cd "$POL_USER_ROOT/ressources"
-POL_Download_Resource "http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"
+POL_Download_Resource "https://dl.4players.de/f1/pc2/sonstiges/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"
 
 POL_Wine_WaitBefore "DirectX 9"
 

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : ?
# Last revision : (2022-04-02 8-49)
# Author : NSLW based on Berillions's d3dx9 script

cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "https://dl.4players.de/f1/pc2/sonstiges/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"

POL_Wine_WaitBefore "DirectX 9"

POL_SetupWindow_wait_next_signal "PlayOnLinux is installing DirectPlay" "DirectPlay"

mkdir "Directx"
cd Directx
cabextract "../directx_feb2010_redist.exe"

mkdir "dxnt"
cabextract -d "dxnt" dxnt.cab

cd "dxnt"

mv -f dplaysvr.exe "$WINEPREFIX/drive_c/windows/system32"
mv -f dplayx.dll "$WINEPREFIX/drive_c/windows/system32"
mv -f dpnet.dll "$WINEPREFIX/drive_c/windows/system32"
mv -f dpnhpast.dll "$WINEPREFIX/drive_c/windows/system32"
mv -f dpwsockx.dll "$WINEPREFIX/drive_c/windows/system32"

POL_Wine regsvr32 dplayx.dll
POL_Wine regsvr32 dpnet.dll
POL_Wine regsvr32 dpnhpast.dll

#Réglage directplay
POL_Wine_OverrideDLL native dplayx dpnet dpnhpast dpwsockx

cd "$POL_USER_ROOT/ressources"
rm -rf Directx

POL_SetupWindow_detect_exit

Replies

Saturday 2 April 2022 at 15:44
Thanks, script approved.

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