LTCHIPS / rottexpr

A Rise Of The Triad Source Port with additional gameplay options and more...
GNU General Public License v2.0
97 stars 26 forks source link

No music #20

Open poperigby opened 4 years ago

poperigby commented 4 years ago

I'm not getting any music when running this on ArchLinux.

Calinou commented 2 years ago

I can't reproduce this on Fedora 34 with commit https://github.com/LTCHIPS/rottexpr/commit/407e3d8b07eaa968e8ed7d52a03fd3199dccdddf.

jmfergeau commented 2 years ago

Arch too here and no music either. Is any external midi driver required like timidity?

Calinou commented 2 years ago

@maxlefou I can't see any references to Timidity throughout the codebase.

kpuljek commented 2 years ago

No music here either. On Manjaro

Zandengoff commented 2 years ago

On the SDL2 mixer page it specifies that "Mixer supports playing MIDI format files using software wavetable via an old version of timidity. This requires you to have a GUS compatible set of sound patches on your system. By default, the library looks for these patches on Win32 in C:\timidity, and on UNIX in /usr/local/lib/timidity/."

Others in the steam forums have reported fixing this error by adding the sound patches to the specified directory.

https://www.libsdl.org/projects/SDL_mixer/

Unfortunately I am on a Steam Deck and unable to edit my /usr/local directory.

mvaldenegro commented 1 year ago

Music works for me in ArchLinux if you do the following:

SDL_SOUNDFONTS=/usr/share/soundfonts/FluidR3_GM.sf2 rottexpr

This requires the soundfont-fluid package.