SoundBlaster support on VMWare Player

Well it’s kind of skinny to be honest.  It works, Kinda though.

You can either have AdLib/OPL3 emulation, OR the PCM/Wave.

You can’t do both at the same time.


Edit the .vmx file, and look for the sound section..

sound.present = “TRUE”
sound.virtualDev = “sb16”
sound.opl3.enabled = “TRUE”
sound.autodetect = “TRUE”
sound.baseAddr = “0x220”
sound.dma16 = “7”
sound.dma8 =”1″
sound.irq = “5”
sound.mpu401baseAddr = “0x330”
sound.Opl3BaseAddr = “0x388”

And add in something like this.  To get the opl3 emulation set it to TRUE, but the PCM won’t work.  Set it to false and you’ll get sound.

And of course set your environment variable for MS-DOS

SET BLASTER=A220 I5 D1 H7 P330 T6


I’ve tested it with Doom v1.1, and it works.  Of course you can ‘cheat’ and setup a network game, with one player with Adlib, and the other with the Sound Blaster.  But I know that’s crazy!

Author: neozeed

I live in SE Asia, doing generic work, enjoying my life & family

14 thoughts on “SoundBlaster support on VMWare Player”

  1. Hi! I’m the VMware engineer who wrote the OPL3 emulation. I did it in my free time as a random bit of fun and hackery, and I hope this totally-unsupported feature provides a bit of fun for you and your readers too.

    Sadly, it hasn’t yet been possible to make the OPL3 emulation coexist with the SB16’s PCM/wave emulation… The programming models used internally to generate sound for these two emulated devices are about a decade apart, which makes for a huge challenge, and I am sure you understand that OPL3 support is not going to be a top business priority. Maybe when I find a bit more free time… And I need to code up the OPL3’s rhythm instruments too. 🙂

    Meanwhile… OPL3 plus Adlib Tracker II satisfies my craving for retro music. Enjoy!

    1. It doesn’t surprise me that the code has drifted somewhat… But it must be nice to know that people appreciate the work!

      1. Indeed it is cool to hear of folks using it. I really do hope to finish it up at some point in the future though… I know that Doom without PCM audio is … meh. Not nearly as much fun as it should be. 🙂

  2. @dariusd – From what I heard the entire US VMWare team was disbanded earlier this year. I take it the AdLib/OPL3 & PCM/Wave was never made compatible?

    Side note, by using QEMU I got much farther than I ever have with VirtualBox or Virtual PC 2007 getting the DOS sound in my old game MegaRace to work. I actually got it to work a few times though I can’t get it to consistently work. The next time I boot up the game even after making no config changes it will no longer work. I never got this far in the other two VM programs. Perhaps QEMU will continue to improve and one day work. I know I could use Dosbox but that’s just not as fun 🙂

    1. You should try PCem! It runs the old BIOS’s and is just as painful to setup as the real thing!

      It’s really cool, and really painful to remember how much PC’s of the 80’s and 90’s were.

    2. Yes, the ongoing development of the VMware Workstation Pro, VMware Workstation Player and VMware Fusion products have been moved to new teams in Beijing, and they no doubt have their hands full getting up to speed with these very complicated software projects!

      Besides the loss of the awesome and fun gang of hosted UI engineers/crazies/friends, those of us working on the virtualization engine and virtual devices are relatively unaffected. I’ve still been working away slowly on improving Adlib/OPL3 and its coexistence with SB16 PCM, in my “free time”.

      As a shameless tease of stuff that’s in the pipeline: I have Adlib/OPL3 + SB16 PCM actually working together on a private build of Fusion, but not yet reliably working on Workstation Pro/Player — the homogeneity of OS X systems makes this much easier to get running on Fusion! I’ve also massively reduced the CPU burden of Adlib/OPL3 emulation and improved many aspects of the OPL3 timers to better handle some weird corner cases that the currently-released products don’t handle so well.

      I wouldn’t hold your breath waiting for SB16 to suddenly make great leaps forwards in the released products, though. It’ll take a lot more work to turn my hackery into something that we can actually ship to customers, and this pesky “job” thing keeps getting in the way by expecting me to do “serious” things… 😉

      shakes fist at reality

      We’ll get there. Some day.

  3. I know that this post has aged, but I’d love to see this working. I have been searching for years for a product that can replicate the original experience. Is there any hope?

    1. Yes, there is hope, but there’s not much to show right now.

      The latest Tech Preview of VMware Workstation includes some relatively minor OPL3 tweaks and bugfixes so that the FM audio output is even more faithful to the original hardware, and as a bonus it also places much less burden on the host CPU — Earlier versions of Workstation struggled to play some more complex pieces of music even on a fast host system… with the latest Tech Preview, that’s no longer the case.

      Simultaneous PCM and FM output will still need a bit more work before it’s ready. It’s on my to-do list — as is getting it working in VMware Fusion. Sorry it’s not making observable progress. I work on this fun stuff when I can… and mostly that’s on the weekends…

      1. Hi Darius,

        Stumbled upon your comments here on having SB16 emulation working with Fusion on Mac hosts. As of Fusion 10.0.1 recently released, SB16 emulation is apparently still not available. Any idea as to when it will be there? It works fine under Virtualbox but I really would like Fusion to make it work, as it’s so much more efficient than Virtualbox. Thanks

  4. I im using Workstation 12.5 , but i wasnt able to find most of setting mentioned above i only see – sound.virtualDev = “sb16”.
    Midi not working at all, sound only with some games, im using SB16 dos driver from Zamba 31in1 pack.

    1. That is how it works you can have pcm audio or midi but not both at the same time.

      I believe you need to manually put the changes in yourself

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.