POL_Install_xact

Informations

Créateur Messages
Berillions

Information

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

Informations

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

Retours d'expérience

Description

Xact/Xaudio DLLs support

Code source

#!/bin/bash
# Last revision : (2012-05-15 21:00)
# Creator : Berillions 
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Changelog:
#   2012-05-14 petch: fixed case of registered DLLs from XAudio* to xaudio*

# Downloading directx runtime
POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "7c1fc2021cf57fed3c25c9b03cd0c31a"

# Extracting & Installing Xact dlls
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing Xact dlls...')" "$TITLE"
cd "$POL_USER_ROOT/ressources"

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Message "Extracting x86 and x64 dlls"
        mkdir "xact_x64"
        cabextract -d xact_x64/ -L -F '*_xact_*x64*' directx_Jun2010_redist.exe
        cabextract -d xact_x64/ -L -F '*_x3daudio_*x64*' directx_Jun2010_redist.exe
        cabextract -d xact_x64/ -L -F '*_xaudio_*x64*' directx_Jun2010_redist.exe
        for x in `ls xact_x64/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F '*.dll' "$x"
        done
        mkdir "xact_x86"
        cabextract -d xact_x86/ -L -F '*_xact_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_x3daudio_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_xaudio_*x86*' directx_Jun2010_redist.exe
        for x in `ls xact_x86/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/syswow64" -L -F '*.dll' "$x"
        done
else
        POL_Debug_Message "Extracting only x86 dlls"
        mkdir "xact_x86"
        cabextract -d xact_x86/ -L -F '*_xact_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_x3daudio_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_xaudio_*x86*' directx_Jun2010_redist.exe
        for x in `ls xact_x86/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F '*.dll' "$x"
        done
fi

# Registering XACT
POL_Debug_Message "Registering XACT & Xaudio dlls"
POL_SetupWindow_wait "$(eval_gettext 'Registering libraries, please wait\n(It can take a while)')" "$TITLE"
for x in "$WINEPREFIX/drive_c/windows/system32/xactengine"* "$WINEPREFIX/drive_c/windows/system32/xaudio"*
do
        POL_Wine --ignore-errors regsvr32 `basename $x`
        case $? in
          0|4) ;; # 4 = registration not required
          *) POL_Debug_Fatal "Error $? registering DLL $x"
        esac
done

# Cleaning
POL_Debug_Message "Deleting temporary directories"
rm -rf "$POL_USER_ROOT/ressources/xact_x86"
if [ "$POL_ARCH" == "amd64" ]; then
        rm -rf "$POL_USER_ROOT/ressources/xact_x64"
fi

Contributions

Filters:

Contribuer
Membre Messages
btd Mardi 9 Mai 2023 à 12:58
btd Anonymous

Warning

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

Messages

The checksum for the file is wrong. Compared to the same file used by for example POL_Install_d3dx9

Differences

@@ -8,7 +8,7 @@
 #   2012-05-14 petch: fixed case of registered DLLs from XAudio* to xaudio*
 
 # Downloading directx runtime
-POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "7c1fc2021cf57fed3c25c9b03cd0c31a"
+POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4"
 
 # Extracting & Installing Xact dlls
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing Xact dlls...')" "$TITLE"

Nouveau code source

#!/bin/bash
# Last revision : (2012-05-15 21:00)
# Creator : Berillions 
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Changelog:
#   2012-05-14 petch: fixed case of registered DLLs from XAudio* to xaudio*

# Downloading directx runtime
POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "822e4c516600e81dc7fb16d9a77ec6d4"

# Extracting & Installing Xact dlls
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing Xact dlls...')" "$TITLE"
cd "$POL_USER_ROOT/ressources"

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Message "Extracting x86 and x64 dlls"
        mkdir "xact_x64"
        cabextract -d xact_x64/ -L -F '*_xact_*x64*' directx_Jun2010_redist.exe
        cabextract -d xact_x64/ -L -F '*_x3daudio_*x64*' directx_Jun2010_redist.exe
        cabextract -d xact_x64/ -L -F '*_xaudio_*x64*' directx_Jun2010_redist.exe
        for x in `ls xact_x64/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F '*.dll' "$x"
        done
        mkdir "xact_x86"
        cabextract -d xact_x86/ -L -F '*_xact_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_x3daudio_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_xaudio_*x86*' directx_Jun2010_redist.exe
        for x in `ls xact_x86/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/syswow64" -L -F '*.dll' "$x"
        done
else
        POL_Debug_Message "Extracting only x86 dlls"
        mkdir "xact_x86"
        cabextract -d xact_x86/ -L -F '*_xact_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_x3daudio_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_xaudio_*x86*' directx_Jun2010_redist.exe
        for x in `ls xact_x86/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F '*.dll' "$x"
        done
fi

# Registering XACT
POL_Debug_Message "Registering XACT & Xaudio dlls"
POL_SetupWindow_wait "$(eval_gettext 'Registering libraries, please wait\n(It can take a while)')" "$TITLE"
for x in "$WINEPREFIX/drive_c/windows/system32/xactengine"* "$WINEPREFIX/drive_c/windows/system32/xaudio"*
do
        POL_Wine --ignore-errors regsvr32 `basename $x`
        case $? in
          0|4) ;; # 4 = registration not required
          *) POL_Debug_Fatal "Error $? registering DLL $x"
        esac
done

# Cleaning
POL_Debug_Message "Deleting temporary directories"
rm -rf "$POL_USER_ROOT/ressources/xact_x86"
if [ "$POL_ARCH" == "amd64" ]; then
        rm -rf "$POL_USER_ROOT/ressources/xact_x64"
fi

Réponses

Anonymous
Mardi 9 Mai 2023 à 13:00
I forgot to change the "updated by" part, I'm not sure how strict that is.
ddman47 Jeudi 27 Mai 2021 à 15:46
ddman47 Anonymous

Messages

It cannot be installed.

http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe

Local: 822e4c516600e81dc7fb16d9a77ec6d4
Server: 7c1fc2021cf57fed3c25c9b03cd0c31a

Réponses

Dadu042 Mercredi 19 Février 2020 à 0:06
Dadu042

Messages

Does fail to complete on Wine 5.0.0 (32 bits), perhaps because of a missing file : 'xaudio2_0.dll'

 

[02/19/20 00:02:36] - Running wine-5.0 regsvr32 xaudio2_0.dll (Working directory : /home/me/.PlayOnLinux/ressources)
0051:err:module:load_so_dll failed to load .so lib "/home/me/.PlayOnLinux/wine/linux-x86/5.0/bin/../lib/wine/xaudio2_0.dll.so": libFAudio.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

Réponses

Mercredi 19 Février 2020 à 0:11
I solved the issue by fixing the 'libFaudio.so.0 (libFaudio)' issue (see this Wiki). My OS is Ubuntu 19.10 64bits.
petch Samedi 17 Octobre 2015 à 15:53
petch

Information

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

Messages

Fix for regsvr returning exitcode 4 for "registration not required"

Differences

@@ -49,7 +49,11 @@
 POL_SetupWindow_wait "$(eval_gettext 'Registering libraries, please wait\n(It can take a while)')" "$TITLE"
 for x in "$WINEPREFIX/drive_c/windows/system32/xactengine"* "$WINEPREFIX/drive_c/windows/system32/xaudio"*
 do
-	POL_Wine regsvr32 `basename $x`
+	POL_Wine --ignore-errors regsvr32 `basename $x`
+	case $? in
+	  0|4) ;; # 4 = registration not required
+	  *) POL_Debug_Fatal "Error $? registering DLL $x"
+	esac
 done
 
 # Cleaning

Nouveau code source

#!/bin/bash
# Last revision : (2012-05-15 21:00)
# Creator : Berillions 
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Changelog:
#   2012-05-14 petch: fixed case of registered DLLs from XAudio* to xaudio*

# Downloading directx runtime
POL_Download_Resource "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" "7c1fc2021cf57fed3c25c9b03cd0c31a"

# Extracting & Installing Xact dlls
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing Xact dlls...')" "$TITLE"
cd "$POL_USER_ROOT/ressources"

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Message "Extracting x86 and x64 dlls"
        mkdir "xact_x64"
        cabextract -d xact_x64/ -L -F '*_xact_*x64*' directx_Jun2010_redist.exe
        cabextract -d xact_x64/ -L -F '*_x3daudio_*x64*' directx_Jun2010_redist.exe
        cabextract -d xact_x64/ -L -F '*_xaudio_*x64*' directx_Jun2010_redist.exe
        for x in `ls xact_x64/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F '*.dll' "$x"
        done
        mkdir "xact_x86"
        cabextract -d xact_x86/ -L -F '*_xact_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_x3daudio_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_xaudio_*x86*' directx_Jun2010_redist.exe
        for x in `ls xact_x86/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/syswow64" -L -F '*.dll' "$x"
        done
else
        POL_Debug_Message "Extracting only x86 dlls"
        mkdir "xact_x86"
        cabextract -d xact_x86/ -L -F '*_xact_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_x3daudio_*x86*' directx_Jun2010_redist.exe
        cabextract -d xact_x86/ -L -F '*_xaudio_*x86*' directx_Jun2010_redist.exe
        for x in `ls xact_x86/*.cab`
        do
          cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F '*.dll' "$x"
        done
fi

# Registering XACT
POL_Debug_Message "Registering XACT & Xaudio dlls"
POL_SetupWindow_wait "$(eval_gettext 'Registering libraries, please wait\n(It can take a while)')" "$TITLE"
for x in "$WINEPREFIX/drive_c/windows/system32/xactengine"* "$WINEPREFIX/drive_c/windows/system32/xaudio"*
do
        POL_Wine --ignore-errors regsvr32 `basename $x`
        case $? in
          0|4) ;; # 4 = registration not required
          *) POL_Debug_Fatal "Error $? registering DLL $x"
        esac
done

# Cleaning
POL_Debug_Message "Deleting temporary directories"
rm -rf "$POL_USER_ROOT/ressources/xact_x86"
if [ "$POL_ARCH" == "amd64" ]; then
        rm -rf "$POL_USER_ROOT/ressources/xact_x64"
fi

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