Page 1 of 1

Game can't fint sfx files - Linux

PostPosted: 19 Feb 2015, 16:55
by Guest
Hey there!

Since i found out, that there is a remake of the old KaM game, i was totally addicted to the game. Propably like everybody else here.
You did a nice job, great!

However, i recently managed it to install the kamremake on my linux pc, with wine.
Everything worked fine apart from the sound. So i did some research on google and connected pulseaudio with wine.
Now i can hear the music but no sounds from the sfx directory.

I'm pretty sure there are not much people who play kam with linux, but let's give it a try.
Has anybody an idea, why it only loads the music?

Thanks in advance. :wink:

Re: Game can't fint sfx files - Linux

PostPosted: 19 Feb 2015, 23:25
by Ben
I have asked sado to make a post. He uses Wine and KaM ;)

Re: Game can't fint sfx files - Linux

PostPosted: 20 Feb 2015, 00:12
by sado1
I am "the Linux guy" here (and Nissarin too, if he's still around?), but I have no idea. Usually there might be a problem with OpenAL not installed (btw. what distribution are you using?) but in this case you seem to partially have sounds, so it can't be that one. Maybe wine needs some more codecs, to play the files from sfx?

Re: Game can't fint sfx files - Linux

PostPosted: 20 Feb 2015, 08:32
by Lewin
KaM Remake uses different libraries for playing music and sound effects. Sound effects use OpenAL, which needs to be installed separately. You could try running "oainst.exe" from the KaM Remake folder with Wine and following the instructions to install it. If that doesn't work you might need to look for a package that provides OpenAL for Wine.

Re: Game can't fint sfx files - Linux

PostPosted: 20 Feb 2015, 12:38
by Guest
I'm using the latest version of Arch Linux 64 bit.
Sound effects use OpenAL, which needs to be installed separately. You could try running "oainst.exe" from the KaM Remake folder with Wine and following the instructions to install it. If that doesn't work you might need to look for a package that provides OpenAL for Wine.
Well at first it didn't work at all (no sound and no music), but i installed lib32-openal because of my 64 bit machine and ran oalinst.exe.
After that i heared the music, but no sound.
Maybe wine needs some more codecs, to play the files from sfx?
I'm gonna try that this afternoon. ;)
Thanks for some replies!

Re: Game can't fint sfx files - Linux

PostPosted: 20 Feb 2015, 18:28
by Guest
Hello again.

I installed windowssoundcs.dll in wine and tried it again. Same outcome.
Then i opened winecfg and noticed that there was no output device selected, so i switched it to my USB headphones, but it didn't work neither.
After that i opened pulseaudio and switched the other audio outputs to 'off' and did a restart.
Now it works fine. Seems pulseaudio/alsa has some trouble with other audio devices/outputs.

However it works now. ;)