Forums

Install WineASIO function added

WineASIO for low-latency audio

Auteur Réponses
Ronin DUSETTE Vendredi 25 Octobre 2013 à 23:23
Ronin DUSETTE



UPDATE!
4-18-2014

I have changed the status of this for Mac to PlayOnMac TESTING. I do not have a mac to test on, and someone would need to try WineASIO, freshly compiled, using Vanilla Wine SYSTEM install (not through POL), and make sure that, at its basic levels, it works through Wine, Jack, and will be recognized. 

If someone who has a Mac wants to test it in Vanilla Wine, the way it was meant to be ran, then we will know for sure that it works on OSX, and can then figure out why it is not working with the script. At that time we can update the script. Or if someone just flat out knows why it doesnt work, we can figure it out. It was only tested on Linux, so I do not know what to expect with OSX. 

Thanks,
DJYoshaBYD

Citer

So, I wrote a small script that downloads, installs, and registers WineASIO into a virtual drive. You can install it from the Install Components tab in the Configure window. 

NOTE**

There are a few pre-requisites that are NEEDED for this to work. The script will test for them, and if they are not there, the script will fail, informing you why it failed and what is missing. 

The things you need:

32-bit Virtual Drive for whatever program you are wanting to use wineasio with.
--64-bit is NOT supported. 

User that runs the program NEEDS to be in the group named 'audio'.
--if you arent, add yourself to the 'audio' group, and logout/login to your system

jack and qjackctl NEED to be installed. If EITHER ONE are missing, install fails


That is it. No other things needed. If you are curious on how to use WineASIO, hit the googles.. lol. Its out of scope here, but its now available.

I will also be adding an option to install WineASIO into scripts for Reason, Ableton, and the other music software, so that on initial install, you will be given a choice. Ill add them when I get the chance.

Enjoy!

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Vendredi 25 Octobre 2013 à 23:26
Ronin DUSETTE


#!/bin/bash
# Date : (2013-10-24 12-30)
# Distribution used to test : Arch Linux - 64-bit
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.1


# 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/ressources/TMP

mkdir $POL_USER_ROOT/ressources/TMP
cd $POL_USER_ROOT/ressources/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 in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails.

POL_Debug_Message "Installing WineASIO..."

cp $POL_USER_ROOT/ressources/TMP/wineasio.dll.so $WINEPREFIX/drive_c/windows/system32/wineasio.dll.so

if [ "$(regsvr32 $WINEPREFIX/drive_c/windows/system32/wineasio.dll | 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 -rf $POL_USER_ROOT/ressources/TMP

fi

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
dmillz425 Mercredi 16 Avril 2014 à 18:44
dmillz425Anonymous

how do i add myself to the audio group
dmillz425 Mercredi 16 Avril 2014 à 20:42
dmillz425Anonymous

all i want is know how to add my self to the audio group so i can install the wineasio commponent

dmillz425 Mercredi 16 Avril 2014 à 20:43
dmillz425Anonymous

when i try to do this it tells me error that im not on the audio group and so i cant get wineasio
dmillz425 Mercredi 16 Avril 2014 à 20:44
dmillz425Anonymous

im not a developer i just make beats and so i need help to get this running
dmillz425 Mercredi 16 Avril 2014 à 20:57
dmillz425Anonymous

plz help so i got fl 11 and i had it working wineasio and all one of my kids fucked my cpu and now i cant remember how i did it . i did with wine alone about a year ago
dmillz425 Mercredi 16 Avril 2014 à 20:58
dmillz425Anonymous

im not a developer i just make beats and so i need help to get this running
petch Mercredi 16 Avril 2014 à 20:59
petch

Since it seems you're on Mac google for howtos on adding an user to an unix group on MacOS.

The script later relying on the installation of jack daemon though, so it's Linux specific; It won't work even if you add your user to the audio group.
Ronin DUSETTE Mercredi 16 Avril 2014 à 20:59
Ronin DUSETTE

This should work:


gpasswd -a username audio

or

useradd -G audio username


Obviously, replace the word 'username' with you actual username.

Remember Linux is also case-sensitive.

You may need to use sudo or su to root in order to do this, then after you add yourself to the audio group, you need to log in, and log out. A quick Google search yielded the commands instantly in the first few results.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Mercredi 16 Avril 2014 à 21:35
Ronin DUSETTE

@petch - Correct. I dont know if jack is available on Mac.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
dmillz425 Mercredi 16 Avril 2014 à 21:42
dmillz425Anonymous

You are in FL's virtual drive environment
PlayOnMac: ~/Library/PlayOnMac/wineprefix/FL_Studio__/drive_c > regsvr32 wineasio.dll.so
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
Failed to load DLL wineasio.dll.so
PlayOnMac: ~/Library/PlayOnMac/wineprefix/FL_Studio__/drive_c >
Ronin DUSETTE Vendredi 18 Avril 2014 à 21:33
Ronin DUSETTE

I dont know. It was never meant to run on Mac. I dont have a mac to test on. That really does not tell me much. It doesnt matter anyway, as it will not have any effect unless you have jack installed.

I checked, and jack works on OSX. You can get it here:

http://jackaudio.org/download

How EXACTLY are you trying to install WineASIO? It was compiled on Linux, so I have NO clue if that compiled version works on OSX.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ziggitarius Mercredi 28 Décembre 2022 à 17:22
ZiggitariusAnonymous

 

Hello there,

Apologies if this thread is completely necro however, I cannot get this script (install component wineasio) working in PlayOnMac 4.4.3 due to a bad link for the source file, giving this message:

Error in POL_Download
Unable to download http://repo.dusette.net/FOSS/PlayOnLinux/Resources/wineasio.dll.so after 5 attempts.

I have found another version of the wineasio.dll here. https://github.com/steveschow/osxwineasio/releases/tag/v0.9.2 Is there any workaround to manually install this library within POM? I am trying to use the now abandonware E-MU Emulator X3 software with low latency audio on my mbp pro i7 2.9 ghz running Monterey 12.6.1?
 

Thanks 

Ziggy