Music not working on Linux

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Karl

Music not working on Linux

Post 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
Karl

Re: Music not working on Linux

Post 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
Karl

Re: Music not working on Linux

Post by Karl »

Has anyone seen this problem before, or am I the first one? Any advice or thoughts will be appreciated.


-Karl
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Music not working on Linux

Post 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...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Karl

Re: Music not working on Linux

Post 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
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Music not working on Linux

Post by wjp »

SDL_mixer has a small quirk that timidity.cfg needs to be in /usr/local/lib/timidity

Dominus: something for the FAQ? :-)
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: Music not working on Linux

Post 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.
Karl

Re: Music not working on Linux

Post 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
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Music not working on Linux

Post 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....
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked