POL_Install_wineasio

Informations

Creator Message
Ronin DUSETTE

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 102655
Wine: System

Feedbacks

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. 

Source code

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

Contribute
Member Message
Ronin DUSETTE Friday 23 January 2015 at 5:24
Ronin DUSETTE

Information

This update has been approved by the team.

Message

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

New source code

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

Replies

Edited by RoninDusette

Ronin DUSETTE Thursday 22 January 2015 at 20:36
Ronin DUSETTE

Warning

This update has not been approved yet by the team.
Use it at your own risk

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"

New source code

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

Replies

Thursday 22 January 2015 at 20:37
Corrected to use POL_WINEVERSION
Ronin DUSETTE Thursday 22 January 2015 at 20:34
Ronin DUSETTE

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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"

New source code

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

Replies

Ronin DUSETTE Thursday 15 January 2015 at 6:44
Ronin DUSETTE

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

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"
  

New source code

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

Replies

Thursday 15 January 2015 at 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 Saturday 25 October 2014 at 19:20
Ronin DUSETTE

Warning

This update has not been approved yet by the team.
Use it at your own risk

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
  

New source code

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

Replies