STORE COMMUNITY ABOUT SUPPORT
login | language
简体中文 (Simplified Chinese) 繁體中文 (Traditional Chinese) 日本語 (Japanese) 한국어 (Korean) ไทย (Thai) Български (Bulgarian) Čeština (Czech) Dansk (Danish) Deutsch (German) Español - España (Spanish - Spain) Español - Latinoamérica (Spanish - Latin America) Ελληνικά (Greek) Français (French) Italiano (Italian) Magyar (Hungarian) Nederlands (Dutch) Norsk (Norwegian) Polski (Polish) Português (Portuguese - Portugal) Português - Brasil (Portuguese - Brazil) Română (Romanian) Русский (Russian) Suomi (Finnish) Svenska (Swedish) Türkçe (Turkish) Tiếng Việt (Vietnamese) Українська (Ukrainian) Report a translation problem
Have you tried checking your settings in Ubuntu: System Setttings => Sound ?
I apologize for the late reply--it's the season...
I haven't played the game as such, but my system sound is perfect (w/ the exception of rough-edged WINE) for virtually anything else--streams, pods. videos, games, Google Voice, DOSBox, CDs, DVDs, etc....
I am using the KDE evironment, but, still, it works for everything else.
I am at a loss about this--it just flat out doesn't work... :(
This fixed the problem for me, hope it helps:
Does anybody know what to do?
To tell the truth, Ubuntu has MANY MANY MANY bugs like this.
Other distros have a fair share too. ie where libraries are not linked etc.
With the availablility of steam/games, this problem should be more noticable.
And hopefully some of the people at Ubuntu will spend more time ensuring
they are done. Rather than focusing on the next release - Which still has the same
problems because they never fixed them 1st time round.
The never ending lack of quality distro model!
PulseAudio was on my system but in the wrong directory for UOC.
I created a symbolic link to the library as noted above and now I am also getting:
PulseAudio: Unable to connect: Connection refused.
Developers??? Any workaround?
Now it works!
In my case solution was to stop music playback in browser.
First had the problem with libasound_module_pcm_pulse.so not being found, so installed 32bit versions of that:
yum install alsa-plugins-pulseaudio.i686
But the paths are different from what UoC expects, so added:
ln -s /usr/lib /usr/lib/i386-linux-gnu
This then produces the "Unable to connect" error. Found a tip on a forum to use pulse as a server.
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
default-server = 127.0.0.1
Restart pulseaudio and then sound worked. There is still some output but that seems harmless:
"there is no soundcard"
Sound works fine without this magic for other games or videos. It worked out of the box on a recent Ubuntu so maybe something with distribution defaults that are different or library versions since UoC includes a whole bunch of normally shared libraries.
For debugging I found it easier to launch "bin/uoc" directly from:
~/.steam/steam/SteamApps/common/Unity of Command
The fix is just to replace UoC's libSDL-1.2.so.0 by your system one, via a symlink:
cd [UoC path]/bin
mv libSDL-1.2.so.0 backup (just in case)
ln -s /usr/lib/libSDL-1.2.so.0 libSDL-1.2.so.0
Depending on your distro your system lib can be ion another folder. This is for OpenSuse. Do a locate libSDL to find yours, and choose the 32bits one (i.e. NOT in something like /usr/lib64/)
By the way, you also have to set SDL_AUDIODRIVER to alsa:
Launch UoC, enjoy !
Thank you so much! This fixed my Manjaro install. Now that all is working, off to enjoy this game!
This can be simplified a bit further, while also fixing any future potential errors of the same type (as long as the respective 32-bit library is installed, of course):
However, I'm perplexed here: does anybody know where the problematic library is linked from?