Page 1 of 1

Music not working on Linux

Posted: Wed Oct 30, 2002 5:48 am
by Karl
I am using the latest Exult 1.1 snapshot on Debian unstable with the 2.4.18 kernel, and I get sound but not music when using Exult. I tried compiling Exult with timidity support, and then tried kmid support, but neither works. I tested timidity from the command line with a midi file I had downloaded, and that works fine. I also checked my volume setting for midi, and that's fine as well.

I've checked the FAQ and documentation, but I couldn't find anything that seemed relevant (I apoligise in advance if I missed something). I am positing my .exult.cfg file in case the cause of the problem may be there:






/usr/local/games/Ultima7


blackgate


/home/karlos/.exult/blackgate/gamedat


/home/karlos/.exult/blackgate


/home/karlos/.exult/blackgate/jmsfx.flx


(default)




/usr/local/games/Serpent


/home/karlos/.exult/serpentisle/gamedat


/home/karlos/.exult/serpentisle


/home/karlos/.exult/serpentisle/jmsisfx.flx




1




2xSaI


yes


no


5




yes


no


yes


no


no


no



0



8


yes


no


no


no


-1


-1




no


yes



yes


none




yes


none



yes


0




yes


0



1.0000


yes




yes





Thanks in advance for any advice!


-Karl

Re: Music not working on Linux

Posted: Wed Oct 30, 2002 6:13 am
by Karl
Some more info: when I checked what processes were running while Exult was active, I did not see a timidity process. Since it's forked from the exult process, would it appear as exult and not timidity in the proccesses list? I saw 4 different exult processes when I checked.


-Karl

Re: Music not working on Linux

Posted: Thu Oct 31, 2002 5:11 am
by Karl
Has anyone seen this problem before, or am I the first one? Any advice or thoughts will be appreciated.


-Karl

Re: Music not working on Linux

Posted: Thu Oct 31, 2002 5:20 am
by Dominus
one idea, but a long shot, try putting your timidity.cfg (or however that is called) where the exult binary is, or in the same dir as the exult.cfg...

Re: Music not working on Linux

Posted: Thu Oct 31, 2002 6:54 am
by Karl
I didn't work, but you put me on the right track. Music works if timidity.cfg is in the current working directory when I start exult. Should I file this as a bug, or is there a way to set the location of timidity.cfg in .exult.cfg?

Thanks for your help!


-Karl

Re: Music not working on Linux

Posted: Thu Oct 31, 2002 8:36 am
by wjp
SDL_mixer has a small quirk that timidity.cfg needs to be in /usr/local/lib/timidity

Dominus: something for the FAQ? :-)

Re: Music not working on Linux

Posted: Thu Oct 31, 2002 8:57 am
by nadir
It's mostly an issue with your distribution's packaging.
SDL_mixer needs to be properly configured. It has nothing to do with Exult, really.

Re: Music not working on Linux

Posted: Thu Oct 31, 2002 9:11 am
by Karl
Just for the record, I tested it and Nadir is right: I made a symbolic link from /etc/timidity.cfg to /usr/local/lib/timidity/timidity.cfg, and this also solved the problem.


-Karl

Re: Music not working on Linux

Posted: Fri Nov 01, 2002 1:09 pm
by Dominus
wjp: yeah, I remembered that Simon once mentioned something about timidity.cfg. Needs to be in the FAQ or Docs. Only need to know what exactly as all that U*ix stuff is making my head all fuzzy....