Posted December 26, 2013
Better sound quality for Lure of the Temptress DOS (How-to)
Many people seem to have issues with sound and music in this game, or are disappointed by their quality. There is a reason for this. A little bit of background:
The game supports four basic modes of audio output. We don't talk about the first mode, PC Speaker. The second one is General MIDI, which is what the GOG version uses. Right after PC Speaker, it is the second-worst sounding. It might have been able to do something resembling sound effects on some old soundcards that were around in '92, but it doesn't seem to work on any modern interfaces (such as the standard Windows synthesizer that most people will be using). You will just get some random notes instead of sound effects. The third option is FM synthesis. It has acceptable music, and tries to synthesize some sound effects too. I played it like this back in the day, and it was okay. As far as I know, the third option is the only one that gives you digitised sound effects: Roland MT-32.
Now for the problem: the GOG version uses ScummVM. ScummVM's integrated MT-32 emulation is badly broken. For some reason, switching the music driver to AdLib for FM synthesis doesn't give the desired results either, and sounds much worse than if you do the same thing in DOSBox. In short, ScummVM is the worst possible way to play Lure of the Temptress.
What do you do to fix it? You play the game in DOSBox. Unfortunately, the GOG version doesn't come with the game's EXE file, because ScummVM doesn't need it. Fortunately, the game is freeware anyway, so you can just download the EXE from some other source. Interestingly enough, if you download the game from the ScummVM site, the EXE is included!
I won't go into much more detail now, or this post will become much too long. If you don't know how to manually handle DOSBox, find a tutorial elsewhere.
If you want FM synthesis sound, all you need to do is start the game from DOSBox with the standard sb16 emulation. That's already much better than what the GOG version sounds like, isn't it?
Unfortunately, you can only get the best possible sound if you have copies of the Roland MT-32 ROM files, which aren't free. I'm still hoping that one day, someone will release free replacements for these files, but this day has not yet come. You should also get a DOSBox variant that includes MT-32 emulation. I recommend Taewoong's SVN build which you can download here. (And throw the guy a donation, he's doing great work!) To activate the emulation, you put both the MT-32 control ROM and the MT-32 PCM soundbank in the DOSBox SVN folder, with their correct filenames (see documentation). In the DOSBox configuration, set mididevice=mt32. In Taewoong's build, you can also just type "mididevice mt32" before starting the game. One final thing: for some reason, the game fails to initialise the MT-32 if emulation is too fast. So reduce the DOSBox cycles down a lot when playing Lure. On my i7-3820 (3.6 GHz) I set them to around 1500-2000 for this game (in Taewoong's build you could also just type "cycles 2000" before playing).
If all of this (I know it's a lot) has been done correctly, Lure of the Temptress should now be sounding like this. I have recorded this short sample using the exact setup described above.
Hope this will help out a few people!
-- Daniel
Many people seem to have issues with sound and music in this game, or are disappointed by their quality. There is a reason for this. A little bit of background:
The game supports four basic modes of audio output. We don't talk about the first mode, PC Speaker. The second one is General MIDI, which is what the GOG version uses. Right after PC Speaker, it is the second-worst sounding. It might have been able to do something resembling sound effects on some old soundcards that were around in '92, but it doesn't seem to work on any modern interfaces (such as the standard Windows synthesizer that most people will be using). You will just get some random notes instead of sound effects. The third option is FM synthesis. It has acceptable music, and tries to synthesize some sound effects too. I played it like this back in the day, and it was okay. As far as I know, the third option is the only one that gives you digitised sound effects: Roland MT-32.
Now for the problem: the GOG version uses ScummVM. ScummVM's integrated MT-32 emulation is badly broken. For some reason, switching the music driver to AdLib for FM synthesis doesn't give the desired results either, and sounds much worse than if you do the same thing in DOSBox. In short, ScummVM is the worst possible way to play Lure of the Temptress.
What do you do to fix it? You play the game in DOSBox. Unfortunately, the GOG version doesn't come with the game's EXE file, because ScummVM doesn't need it. Fortunately, the game is freeware anyway, so you can just download the EXE from some other source. Interestingly enough, if you download the game from the ScummVM site, the EXE is included!
I won't go into much more detail now, or this post will become much too long. If you don't know how to manually handle DOSBox, find a tutorial elsewhere.
If you want FM synthesis sound, all you need to do is start the game from DOSBox with the standard sb16 emulation. That's already much better than what the GOG version sounds like, isn't it?
Unfortunately, you can only get the best possible sound if you have copies of the Roland MT-32 ROM files, which aren't free. I'm still hoping that one day, someone will release free replacements for these files, but this day has not yet come. You should also get a DOSBox variant that includes MT-32 emulation. I recommend Taewoong's SVN build which you can download here. (And throw the guy a donation, he's doing great work!) To activate the emulation, you put both the MT-32 control ROM and the MT-32 PCM soundbank in the DOSBox SVN folder, with their correct filenames (see documentation). In the DOSBox configuration, set mididevice=mt32. In Taewoong's build, you can also just type "mididevice mt32" before starting the game. One final thing: for some reason, the game fails to initialise the MT-32 if emulation is too fast. So reduce the DOSBox cycles down a lot when playing Lure. On my i7-3820 (3.6 GHz) I set them to around 1500-2000 for this game (in Taewoong's build you could also just type "cycles 2000" before playing).
If all of this (I know it's a lot) has been done correctly, Lure of the Temptress should now be sounding like this. I have recorded this short sample using the exact setup described above.
Hope this will help out a few people!
-- Daniel
Post edited December 26, 2013 by Anamon