POL_Install_directplay

Informations

Créateur Messages
NSLW

Information

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

Informations

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

Retours d'expérience

Code source

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

Contribuer
Membre Messages
stcz Samedi 2 Avril 2022 à 8:49
stcz Anonymous

Information

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

Messages

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"
 

Nouveau code source

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

Réponses

Samedi 2 Avril 2022 à 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