SMAC/SMACX - Missing Sounds

Installers we are searching testers for.
corwin78
Posts: 4
Joined: Wed Oct 26, 2011 13:05

SMAC/SMACX - Missing Sounds

Postby corwin78 » Wed Oct 26, 2011 13:16

Hello guys, after very long time I am tried install Sid Meier's Alpha Centauri (Loki version), and I was pleasantly surprised that with yours "smac_6.0a-english_x86.mojo.run" installer it was peace of cake even on 64bit Kubuntu 11.10. Game is working perfectly, but without any sounds.

I understand that it is probably Pulseaudio issue, so I am tried solve it with pasuspender, but unfortunately without success.

So I want to ask, exist any way how to get sounds on 64bit Ubuntu/Kubuntu 11.10?

elmom
Posts: 1
Joined: Sat Nov 12, 2011 22:16

Re: SMAC/SMACX - Missing Sounds

Postby elmom » Sat Nov 12, 2011 22:26

Same problem here, Ubuntu 11.10 64bit.

I tried padsp, aoss(32) and every option in the scripts. Nothing seems to work.

Using aoss32 gives ERROR: ld.so: object '/usr/lib32/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored.

padsp doesn't complain with smacpack.sh (no compat libs) but errors with smac.sh (i.e. with compat libs) with "Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!" which is not surprising.

Would it maybe help to have libaoss.so included in the compat libs?

Also oss-compat doesn't seem to work in Ubuntu anymore...

rettichschnidi
liflg member
Posts: 218
Joined: Mon Mar 27, 2006 2:07
Location: CH

Re: SMAC/SMACX - Missing Sounds

Postby rettichschnidi » Thu Nov 24, 2011 12:13

Ill try to get up a virtual machine with Ubuntu 11.10 (i will never upgrade my machine to it) and to reproduce the error.

rettichschnidi
liflg member
Posts: 218
Joined: Mon Mar 27, 2006 2:07
Location: CH

Re: SMAC/SMACX - Missing Sounds

Postby rettichschnidi » Tue Nov 29, 2011 1:18

Bad news: I do not have any space left on my notebook which I use during the week.
Good news: I got a new external harddisk where I can put the virtual machine on. Just yell at me I don't answer you within three days.

corwin78
Posts: 4
Joined: Wed Oct 26, 2011 13:05

Re: SMAC/SMACX - Missing Sounds

Postby corwin78 » Tue Nov 29, 2011 1:48

I hope that you will be successful.

rettichschnidi
liflg member
Posts: 218
Joined: Mon Mar 27, 2006 2:07
Location: CH

Re: SMAC/SMACX - Missing Sounds

Postby rettichschnidi » Tue Dec 06, 2011 1:28

Could not find a solution so far. :/ Gonna give it a try once again as soon as I can.

corwin78
Posts: 4
Joined: Wed Oct 26, 2011 13:05

Re: SMAC/SMACX - Missing Sounds

Postby corwin78 » Tue Dec 06, 2011 9:10

Thanks for trying, any hope is always better than no one :-)

rettichschnidi
liflg member
Posts: 218
Joined: Mon Mar 27, 2006 2:07
Location: CH

Re: SMAC/SMACX - Missing Sounds

Postby rettichschnidi » Tue Dec 06, 2011 16:41

well, there is* a solution, but its not really user friendly: Install your own kernel with OSS support built in. Maybe even the current OSS4 package will do it.

*not tested, but pretty sure it will work :)

froseph
Posts: 2
Joined: Sat Apr 14, 2012 2:52

Re: SMAC/SMACX - Missing Sounds

Postby froseph » Sat Apr 14, 2012 5:02

In smac.sh and smacx.sh there is a SDL_AUDIODRIVER which is supposed to allow you set "alsa" or "pulse" for ALSA or pulseaudio respectively but I wasn't able to get them to work. Running "sudo modprobe snd_pcm_oss" to install the oss driver got things working though.

Hope that helps!

corwin78
Posts: 4
Joined: Wed Oct 26, 2011 13:05

Re: SMAC/SMACX - Missing Sounds

Postby corwin78 » Sat Apr 14, 2012 19:48

Unfortunately module snd_pcm_oss is blacklisted in Ubuntu due to bug #499695 :(

Mazur
Posts: 1
Joined: Mon Aug 18, 2014 22:44

Re: SMAC/SMACX - Missing Sounds

Postby Mazur » Sun May 24, 2015 1:30

Having recently upgraded to Fedora 21 I once again endeavoured to reactivate the sound in my Smac.
It's one of those things that comes and goes with upgrades, like the flavour of the month in Sound solutions.
In order to have sound in all the various games and apps I like to play (with), I run Jack through Alsa devices, redirect alsa.conf to jack, pulseaudio to jack, and use the alsa-oss modules.

To have smac sound, I had to realise, that at some stage I had set ENV variable AUDIODEVICE to /dev/snd/pcmC0D0p for one reason or another, and that for smac I had to unset it. Once I did that, my sound was glorio0usly present again, if I used the following script:

#!/bin/sh
cd /usr/local/games/smac
unset AUDIODEV
export SDL_AUDIODRIVER="pulse"
#export LD_LIBRARY_PATH=/usr/local/games/Loki_Compat/
LD_PRELOAD=/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/local/games/smac/smac.dynamic $*

HTH, HAND.
Mazur.


Who is online

Users browsing this forum: No registered users and 1 guest