Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Nazgul

#1
Hello guys,

I had the same problem with Midi on Ubuntu linux when trying to load AGS. It kept displaying the same error message:

Checking sound inits.
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory

Unable to initialize your audio hardware.
Problem: No supported synth type found


After checking my /dev/snd directory, I couldn't find any midi files there. The only solution I thought of was to emulate a midi port using a link. So, i opened a terminal and loaded the virmidi module:

$ sudo modprobe snd_virmidi

After that, my /dev/snd/ directory had lots of midiCxDx files. But still, AGS wanted specifically the midiC0D0 file. So i linked it, creating a "fake" midiC0D0:

$ sudo ln -s midiC1D1 midiC0D0

And, voilá, AGS run smoothly and i can finally play A Tale of Two Kingdoms on linux.

Perhaps it's not the "cleanest" solution, but it worked here :-)

I hope it helps you people.

SMF spam blocked by CleanTalk