Je bent hier    
    POL_Install_dinput
Informatie
| Creator | Bericht | 
|---|---|
| Quentin PÂRIS   
 | InformationThis installer has been approved by the team. InformatiePlatforms:   Feedbacks0 0 Broncode#!/bin/bash
# Date : Unknown
# Last revision : (2021-10-18 18:32)
# Author : Tinou
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Used by old games like Rayman 2
if [ "$POL_ARCH" = "amd64" ]; then
    cd "$WINEPREFIX/drive_c/windows/syswow64"
else
    cd "$WINEPREFIX/drive_c/windows/system32"
fi
POL_Call POL_SP2_Extract dinput.dll
# Overriding DLL
POL_Wine_OverrideDLL "native,builtin" "dinput" | 
Contributions
Filters:
Contribute| Member | Bericht | 
| Yaotl | Maandag 18 October 2021 om 18:32 | 
| Yaotl   
 | InformationThis update has been approved by the team. Differences@@ -1,27 +1,17 @@ #!/bin/bash # Date : Unknown -# Last revision : (2012-05-16 00:30) +# Last revision : (2021-10-18 18:32) # Author : Tinou # Updated by : GNU_Raziel # Only For : http://www.playonlinux.com # Used by old games like Rayman 2 -# Downloading DLL -POL_Download_Resource "https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4" - -# Extracting DLL -cd "$POL_USER_ROOT/ressources" -mkdir -p dinput -cabextract -d dinput/ -L -F 'dxnt.cab' directx_Jun2010_redist.exe || POL_Debug_Error "POL_Install_dinput : Failed te extract directx_Jun2010_redist.exe" -cd dinput -cabextract dxnt.cab -L -F 'dinput.dll' || POL_Debug_Error "POL_Install_dinput : Failed to extract dxnt.cab" - -# Installing DLL -if [ "$POL_ARCH" == "amd64" ]; then - cp "dinput.dll" "$WINEPREFIX/drive_c/windows/syswow64" +if [ "$POL_ARCH" = "amd64" ]; then + cd "$WINEPREFIX/drive_c/windows/syswow64" else - cp "dinput.dll" "$WINEPREFIX/drive_c/windows/system32" + cd "$WINEPREFIX/drive_c/windows/system32" fi +POL_Call POL_SP2_Extract dinput.dll # Overriding DLL POL_Wine_OverrideDLL "native,builtin" "dinput" \ No newline at end of file New source code#!/bin/bash
# Date : Unknown
# Last revision : (2021-10-18 18:32)
# Author : Tinou
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Used by old games like Rayman 2
if [ "$POL_ARCH" = "amd64" ]; then
    cd "$WINEPREFIX/drive_c/windows/syswow64"
else
    cd "$WINEPREFIX/drive_c/windows/system32"
fi
POL_Call POL_SP2_Extract dinput.dll
# Overriding DLL
POL_Wine_OverrideDLL "native,builtin" "dinput"AntwoordenVrijdag 29 October 2021 om 22:57                                                                                     | 
| roy999 | Maandag 27 September 2021 om 23:27 | 
| roy999   
 | WarningThis update has not been approved yet by the team. Differences@@ -7,12 +7,12 @@ # Used by old games like Rayman 2 # Downloading DLL -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://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4" # Extracting DLL cd "$POL_USER_ROOT/ressources" mkdir -p dinput -cabextract -d dinput/ -L -F 'dxnt.cab' directx_feb2010_redist.exe || POL_Debug_Error "POL_Install_dinput : Failed te extract directx_feb2010_redist.exe" +cabextract -d dinput/ -L -F 'dxnt.cab' directx_Jun2010_redist.exe || POL_Debug_Error "POL_Install_dinput : Failed te extract directx_Jun2010_redist.exe" cd dinput cabextract dxnt.cab -L -F 'dinput.dll' || POL_Debug_Error "POL_Install_dinput : Failed to extract dxnt.cab" New source code#!/bin/bash
# Date : Unknown
# Last revision : (2012-05-16 00:30)
# Author : Tinou
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Used by old games like Rayman 2
# Downloading DLL 
POL_Download_Resource "https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4"
# Extracting DLL
cd "$POL_USER_ROOT/ressources"
mkdir -p dinput
cabextract -d dinput/ -L -F 'dxnt.cab' directx_Jun2010_redist.exe || POL_Debug_Error "POL_Install_dinput : Failed te extract directx_Jun2010_redist.exe"
cd dinput
cabextract dxnt.cab  -L -F 'dinput.dll' || POL_Debug_Error "POL_Install_dinput : Failed to extract dxnt.cab"
# Installing DLL
if [ "$POL_ARCH" == "amd64" ]; then
        cp "dinput.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp "dinput.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
# Overriding DLL
POL_Wine_OverrideDLL "native,builtin" "dinput"AntwoordenDinsdag 28 September 2021 om 11:26                                                                                     | 
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
