POL_Install_wineasio

Informations

Créateur Messages
Ronin DUSETTE

Information

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

Informations

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

Retours d'expérience

Description

Downloads, installs, and registers WineASIO.dll with regsvr32 in a given wineprefix.

This component does not work in 64-bit virtual drives

NOTE: This is seems to not be working correctly on certain versions of Wine. A fix will be implemented soon. 

Code source

#!/bin/bash
# Date : (2014-01-07 10-00)
# Distribution used to test : Arch Linux - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5
 
 
# check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
 
# Throw error if user is not in 'audio' group.
elif [ "$(groups | grep -o "audio")" != "audio" ]; then
    POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
     
# Throw an error if jack and/or qjackctl are missing.
elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
    POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
 
elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
    POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
fi
 
# If everything is OK, then download wineasio.dll.so to new $POL_USER_ROOT/tmp

cd $POL_USER_ROOT/tmp
 
POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "a596dd4de2e12ea8a4284132b6f73a36"
 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
 
# Copy wineasio.dll.so to system32 folder, register, confirm
 
POL_Debug_Message "Installing WineASIO..."
 
cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so
 
if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
    POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
 
 else        
    echo "Success. WineASIO is now ready for use in $WINEPREFIX"

    # Cleanup TMP folder
    rm $POL_USER_ROOT/tmp/wineasio.dll.so
 
fi

Contributions

Filters:

Contribuer
Membre Messages
Ronin DUSETTE Vendredi 23 Janvier 2015 à 5:24
Ronin DUSETTE

Information

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

Messages

Fixed ugly formatting

Differences

@@ -7,24 +7,18 @@
  
  
 # check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
- 
 if [ "$POL_ARCH" == "amd64" ]; then
     POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
  
 # Throw error if user is not in 'audio' group.
-     
 elif [ "$(groups | grep -o "audio")" != "audio" ]; then
-     
     POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
      
 # Throw an error if jack and/or qjackctl are missing.
-     
 elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
-     
     POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
  
 elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
-     
     POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
 fi
  
@@ -45,7 +39,7 @@
 if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
     POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
  
-else        
+ else        
     echo "Success. WineASIO is now ready for use in $WINEPREFIX"
 
     # Cleanup TMP folder

Nouveau code source

#!/bin/bash
# Date : (2014-01-07 10-00)
# Distribution used to test : Arch Linux - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5
 
 
# check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
 
# Throw error if user is not in 'audio' group.
elif [ "$(groups | grep -o "audio")" != "audio" ]; then
    POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
     
# Throw an error if jack and/or qjackctl are missing.
elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
    POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
 
elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
    POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
fi
 
# If everything is OK, then download wineasio.dll.so to new $POL_USER_ROOT/tmp

cd $POL_USER_ROOT/tmp
 
POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "a596dd4de2e12ea8a4284132b6f73a36"
 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
 
# Copy wineasio.dll.so to system32 folder, register, confirm
 
POL_Debug_Message "Installing WineASIO..."
 
cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so
 
if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
    POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
 
 else        
    echo "Success. WineASIO is now ready for use in $WINEPREFIX"

    # Cleanup TMP folder
    rm $POL_USER_ROOT/tmp/wineasio.dll.so
 
fi

Réponses

Edité par RoninDusette

Ronin DUSETTE Jeudi 22 Janvier 2015 à 20:36
Ronin DUSETTE

Warning

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

Differences

@@ -40,9 +40,9 @@
  
 POL_Debug_Message "Installing WineASIO..."
  
-cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/1.5.20/lib/wine/wineasio.dll.so
+cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so
  
-if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/1.5.20/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
+if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
         POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
  
 else        echo "Success. WineASIO is now ready for use in $WINEPREFIX"

Nouveau code source

#!/bin/bash
# Date : (2014-01-07 10-00)
# Distribution used to test : Arch Linux - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.2
 
 
# check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
 
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
 
# Throw error if user is not in 'audio' group.
         
elif [ "$(groups | grep -o "audio")" != "audio" ]; then
         
        POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
         
# Throw an error if jack and/or qjackctl are missing.
         
elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
         
        POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
 
elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
         
        POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
fi
 
# If everything is OK, then download wineasio.dll.so to new $POL_USER_ROOT/tmp

cd $POL_USER_ROOT/tmp
 
POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "a596dd4de2e12ea8a4284132b6f73a36"
 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
 
# Copy wineasio.dll.so to system32 folder, register, confirm
 
POL_Debug_Message "Installing WineASIO..."
 
cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so
 
if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/$POL_WINEVERSION/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
        POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
 
else        echo "Success. WineASIO is now ready for use in $WINEPREFIX"
 
# Cleanup TMP folder
 
rm $POL_USER_ROOT/tmp/wineasio.dll.so
 
fi

Réponses

Jeudi 22 Janvier 2015 à 20:37
Corrected to use POL_WINEVERSION
Ronin DUSETTE Jeudi 22 Janvier 2015 à 20:34
Ronin DUSETTE

Warning

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

Messages

Added new version of WineASIO and had it register in the actual Wine folder, as that seems to work better. 

Differences

@@ -32,7 +32,7 @@
 
 cd $POL_USER_ROOT/tmp
  
-POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "94247efbe53cbf622d1fdd86880099d8"
+POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "a596dd4de2e12ea8a4284132b6f73a36"
  
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
  
@@ -40,9 +40,9 @@
  
 POL_Debug_Message "Installing WineASIO..."
  
-cp $POL_USER_ROOT/tmp/wineasio.dll.so $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so
+cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/1.5.20/lib/wine/wineasio.dll.so
  
-if [ "$(POL_Wine regsvr32 $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
+if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/1.5.20/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
         POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
  
 else        echo "Success. WineASIO is now ready for use in $WINEPREFIX"

Nouveau code source

#!/bin/bash
# Date : (2014-01-07 10-00)
# Distribution used to test : Arch Linux - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.2
 
 
# check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
 
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
 
# Throw error if user is not in 'audio' group.
         
elif [ "$(groups | grep -o "audio")" != "audio" ]; then
         
        POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
         
# Throw an error if jack and/or qjackctl are missing.
         
elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
         
        POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
 
elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
         
        POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
fi
 
# If everything is OK, then download wineasio.dll.so to new $POL_USER_ROOT/tmp

cd $POL_USER_ROOT/tmp
 
POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "a596dd4de2e12ea8a4284132b6f73a36"
 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
 
# Copy wineasio.dll.so to system32 folder, register, confirm
 
POL_Debug_Message "Installing WineASIO..."
 
cp $POL_USER_ROOT/tmp/wineasio.dll.so $POL_USER_ROOT/wine/linux-x86/1.5.20/lib/wine/wineasio.dll.so
 
if [ "$(POL_Wine regsvr32 $POL_USER_ROOT/wine/linux-x86/1.5.20/lib/wine/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
        POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
 
else        echo "Success. WineASIO is now ready for use in $WINEPREFIX"
 
# Cleanup TMP folder
 
rm $POL_USER_ROOT/tmp/wineasio.dll.so
 
fi

Réponses

Ronin DUSETTE Jeudi 15 Janvier 2015 à 6:44
Ronin DUSETTE

Warning

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

Messages

Changing to my actual repo instead of Google Drive

Differences

@@ -32,7 +32,7 @@
 
 cd $POL_USER_ROOT/tmp
  
-POL_Download "https://googledrive.com/host/0B8f6x82bTIm1S1ZzOTVUdWxLMDg/wineasio.dll.so" "94247efbe53cbf622d1fdd86880099d8"
+POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "94247efbe53cbf622d1fdd86880099d8"
  
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
  

Nouveau code source

#!/bin/bash
# Date : (2014-01-07 10-00)
# Distribution used to test : Arch Linux - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.2
 
 
# check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
 
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
 
# Throw error if user is not in 'audio' group.
         
elif [ "$(groups | grep -o "audio")" != "audio" ]; then
         
        POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
         
# Throw an error if jack and/or qjackctl are missing.
         
elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
         
        POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
 
elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
         
        POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
fi
 
# If everything is OK, then download wineasio.dll.so to new $POL_USER_ROOT/tmp

cd $POL_USER_ROOT/tmp
 
POL_Download "http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so" "94247efbe53cbf622d1fdd86880099d8"
 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
 
# Copy wineasio.dll.so to system32 folder, register, confirm
 
POL_Debug_Message "Installing WineASIO..."
 
cp $POL_USER_ROOT/tmp/wineasio.dll.so $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so
 
if [ "$(POL_Wine regsvr32 $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
        POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
 
else        echo "Success. WineASIO is now ready for use in $WINEPREFIX"
 
# Cleanup TMP folder
 
rm $POL_USER_ROOT/tmp/wineasio.dll.so
 
fi

Réponses

Jeudi 15 Janvier 2015 à 7:03
This is broken for the time being for certain versions of Wine. It will stay in Beta until we get more info.
Ronin DUSETTE Samedi 25 Octobre 2014 à 19:20
Ronin DUSETTE

Warning

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

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2014-01-07 10-00)
 # Distribution used to test : Arch Linux - 64-bit
-# Author : DJYoshaBYD
+# Author : RoninDusette
 # Licence : GPLv3
 # PlayOnLinux: 4.2.2
  

Nouveau code source

#!/bin/bash
# Date : (2014-01-07 10-00)
# Distribution used to test : Arch Linux - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.2
 
 
# check to make sure wineprefix is 32 bit, throw error if not. 32 prefix only.
 
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "64-bit wineprefix is not supported. Please use a 32-bit prefix."
 
# Throw error if user is not in 'audio' group.
         
elif [ "$(groups | grep -o "audio")" != "audio" ]; then
         
        POL_Debug_Fatal "$USER is not part of the 'audio' group. Please add $USER to 'audio' group."
         
# Throw an error if jack and/or qjackctl are missing.
         
elif [ "$(type -P jackd | grep -o "jackd")" != "jackd" ]; then
         
        POL_Debug_Fatal "Jack is not installed. Please install jack if you want to use WineASIO."
 
elif [ "$(type -P qjackctl | grep -o "qjackctl")" != "qjackctl" ]; then
         
        POL_Debug_Fatal "QJackCTL is not installed. Please install qjackctl if you want to use WineASIO."
fi
 
# If everything is OK, then download wineasio.dll.so to new $POL_USER_ROOT/tmp

cd $POL_USER_ROOT/tmp
 
POL_Download "https://googledrive.com/host/0B8f6x82bTIm1S1ZzOTVUdWxLMDg/wineasio.dll.so" "94247efbe53cbf622d1fdd86880099d8"
 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "WineASIO"
 
# Copy wineasio.dll.so to system32 folder, register, confirm
 
POL_Debug_Message "Installing WineASIO..."
 
cp $POL_USER_ROOT/tmp/wineasio.dll.so $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so
 
if [ "$(POL_Wine regsvr32 $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so | grep -o "Successfully")" != "Successfully" ]; then
        POL_Debug_Fatal "Failed to register wineasio.dll. Please verify you have the needed dependencies and try again."
 
else        echo "Success. WineASIO is now ready for use in $WINEPREFIX"
 
# Cleanup TMP folder
 
rm $POL_USER_ROOT/tmp/wineasio.dll.so
 
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