Urban Terror No Sound in MacOS Sierra ( 10.12 ) Fix
After i upgrade to MacOS Sierra ( 10.12 ), there was a problem with the sound in Urban Terror. The game works fine, except no sound :@. I have been trying to fix this for a few hours and saw a few post popping up in URT forum and other gaming forums. After doing a bit research, i found a possible fix.
**I can’t stretch the important of this statement enough, this is not an official fix. This may or may not Work. This won’t corrupt your game or permanently damage it, so you can revert back to current state at any point. **
Okey, before jumping into the fix, here is a bit more details about the error. This important because, if this isn’t the reason behind no sound in urban terror, this fix won’t work, obviously.
SDL audio driver is "coreaudio". SDL_OpenAudio() failed: Failed to start CoreAudio: AudioSetUnitsProperty (kAudioUnitProperty_SetInputCallback)
This is the console error popping up in Urban Terror. Here is a view from the OS Console,
------ Initializing Sound ------ Initializing SDL audio driver... SDL audio driver is "coreaudio". SDL_OpenAudio() failed: Failed to start CoreAudio: AudioUnitSetProperty (kAudioUnitProperty_SetInputCallback) Sound initialization failed. --------------------------------
The fix is easy. But you have to be extremely careful. Follow the instruction point to point,
The problem is with LibSDL. The current version inside the game isn’t compatible with MacOS Sierra, for some reason. So here is a alternative version,
https://raw.githubusercontent.com/jacius/rubygame-mac-pack/master/lib/libSDL-1.2.0.dylib
Download it, keep it somewhere easily accessible ( Probably in the desktop? ).
Next, go to the directory you URT installation is in. I keep Urban Terror inside the application folder.
Next stop, inside the URT folder, there should be an app Called Quake3-Urt.app. This is where we need to be. Right-click on it, select “Show Package Contents”.
Okey, inside the app, you will see a folder called “Contents”. Move to “Contents>MacOS>”. You will find a libSDL-1.2.0.dylib file here. We need to change that one. First Rename that file using Get Info and copy paste the file we downloaded previously, in here.
Now, Important things here, The name of file must be the same as it was before. So please check what it was named before and used the same name on the copy pasted file. You shouldn’t delete the original file, you may need it in future.
Note: The downloaded file already have the same name, so after changing the name of the already existing file, you should be just fine with copy paste.
Try running the game now, It should work just fine. In case this downloaded file doesn’t work, here is a alternative,
https://raw.githubusercontent.com/yusuketomoto/ofxUrgDevice/master/libs/SDL/1.2.15/lib/libSDL-1.2.0.dylib
Also, keep a track of the official issue about this on Urban Terror’s Github repo, here