Master of Magic
I've been trying to get Master of Magic running in dosemu. After much hair-pulling, I met with partial success by double-wrapping dosemu with padsp and aoss, like so:
This made dosemu see the sound card as a SoundBlaster 16 instead of a SoundBlaster 2.0. PCM output works with the game set to "SoundBlaster Pro (later)", but there's still no MIDI and the mixer is disabled. Running with sudo doesn't help.
Edit: I guess Pulse automatically wraps ALSA apps? It works the same if I just run:
I still can't get MIDI working. I found the correct in-game settings to get data written to ~/.dosemu/run/dosemu-midi, but neither symlinking that to /dev/midi nor redirecting it into midid outputs anything to the sound card.
$ LD_PRELOAD="$LD_PRELOAD libaoss.so libpulsedsp.so" dosemu -D +S
This made dosemu see the sound card as a SoundBlaster 16 instead of a SoundBlaster 2.0. PCM output works with the game set to "SoundBlaster Pro (later)", but there's still no MIDI and the mixer is disabled. Running with sudo doesn't help.
Edit: I guess Pulse automatically wraps ALSA apps? It works the same if I just run:
$ aoss dosemu
I still can't get MIDI working. I found the correct in-game settings to get data written to ~/.dosemu/run/dosemu-midi, but neither symlinking that to /dev/midi nor redirecting it into midid outputs anything to the sound card.