Installing old Loki games on 12.04 64-bit results in no audio

Posted by FlabbergastedPickle on Ask Ubuntu See other posts from Ask Ubuntu or by FlabbergastedPickle
Published on 2012-05-27T16:38:46Z Indexed on 2012/06/02 16:49 UTC
Read the original article Hit count: 294

Filed under:
|
|
|

All,

Here's an interesting problem. I followed instructions provided online for installing Loki Games' Heroes of Might and Magic 3 (see http://www.swanson.ukfsn.org/loki/ and http://wtanaka.com/node/7641) and got it installed and patched to the latest version. However, every time I start it regardless whether the pulseaudio is running, I get the following error:

    LD_LIBRARY_PATH=/usr/local/lib/Loki_Compat/ /usr/local/lib/Loki_Compat/ld-linux.so.2 /usr/local/games/Heroes3/heroes3.dynamic
    ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
    ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default

Couldn't open audio:

My first soundcard is HDMI output and my second one is the actual soundcard (HP DM1 running 12.04 64-bit with latest updates). I did set up /etc/asound.conf as follows:

asound.conf

    pcm.!default {
        type hw
        card 1
    }
    ctl.!default {
        type hw           
        card 1
    }

So, the default soundcard should work ok. Between Shadowgrounds that also stopped working and this it appears a there may be some unfinished business/regressions in 32-bit support on 64-bit systems in 12.04.

Any thoughts?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about 64-bit