Here is a patch for loading music tracks from files instead of using CD in sdlquake. It uses SDL Mixer to play files. Changes: - new CDAudio_ functions that call SDL Mixer - using SDL Mixer instead of SDL Audio directly in SDL initialization Files are searched in ~/.quake2/music and /usr/share/quake2/music in form of "trackN.*" and in any format that the mixer supports. There are such patches for windows but I didn't find one for icculus quake. For now the sound is a bit noisy. I haven't use SDL Mixer before and I'll be glad to hear any advices. Reproducible: Sometimes
Created attachment 215563 [details, diff] the patch
Created attachment 215565 [details] ebuild I'm using USE="sdl mixer" emerge quake2-icculus
This would be better sent upstream. It's not an enhancement to the Gentoo ebuild but rather an enhancement to the program itself.
I understand but since I'm not sure that such thing will be accepted I decided to post it here for somebody who's looking such thing.
you should definitely try upstream first. that's the gentoo way in any case. plus, if upstream really isn't interested then neither are we since adding functionality for just the gentoo package introduces a maintenance burden on us.
No problem