DOSBox-X emulates a complete CD-ROM drive, including the Microsoft MSCDEX extension that DOS programs expect. You can mount an ISO image, a CUE/BIN disc dump with audio tracks, a folder of files, or even a physical CD-ROM drive on Windows — and the game will behave as if a real optical drive is connected. No separate MSCDEX.EXE driver is needed; DOSBox-X provides it internally.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/joncampbell123/dosbox-x/llms.txt
Use this file to discover all available pages before exploring further.
Mounting Methods
There are four ways to mount a CD-ROM in DOSBox-X, each suited to a different situation:Mount an ISO image file
An On Linux or macOS:
.iso file contains the data tracks of a disc. Most modern CD backups are in this format.Mount a CUE/BIN image (with audio tracks)
A DOSBox-X reads the CUE sheet to locate every track, including CD audio. Using the
.cue sheet describes the track layout of a disc; the actual data lives in an accompanying .bin file (or separate audio files). Always point IMGMOUNT at the .cue file, not the .bin..bin directly instead of the .cue means audio tracks will be silent.Mount a physical CD-ROM drive (Windows only)
Pass the host drive letter as the image path to tunnel a real optical drive through the emulator.Replace the second
D: with the actual Windows drive letter of your physical drive.The drive letter you choose for your CD-ROM is typically D: or E:. Some games hard-code a specific letter; check the game’s manual or README if it cannot find its disc after mounting.
CD-DA Audio Track Support
Many DOS games ship on mixed-mode CDs where the first track holds data and the remaining tracks hold Red Book audio. DOSBox-X supports these discs through its built-in SDL_Sound decoder library. Audio tracks referenced in a CUE sheet can be stored in any of the following formats:BINARY (.bin)
Raw 16-bit PCM interleaved stereo, as found in a standard CUE/BIN rip. This is the original Red Book format and has the best compatibility.
MP3 (.mp3)
Compressed audio tracks. DOSBox-X includes its own MP3 decoder; no external library is required.
OGG Vorbis (.ogg)
Open-source compressed audio. Widely used in re-releases where audio has been re-encoded from the original disc.
FLAC (.flac)
Lossless compressed audio. Produces the best audio quality and still reduces file size versus raw
.bin tracks.WAV (.wav)
Uncompressed PCM in a container. Equivalent in quality to
.bin but slightly larger due to the WAV header.Opus (.opus)
Modern low-bitrate codec. Supported via DOSBox-X’s built-in Opus decoder.
CUE Sheet Format
A CUE sheet is a plain-text file that describes disc structure. Here is an example showing a data track followed by two audio tracks — one stored as raw binary and one as an MP3 file:WAVE, OGG, FLAC, and OPUS. The keyword in the CUE FILE line should match the format of the audio file being referenced.
Built-in MSCDEX Emulation
Real DOS systems required loading a CD-ROM extension driver (MSCDEX.EXE from Microsoft, or equivalent) before the OS could access optical drives. DOSBox-X emulates MSCDEX automatically whenever a drive is mounted with -t cdrom or as an ISO image. You do not need to include MSCDEX.EXE in your [autoexec] section or CONFIG.SYS.
Programs that check for MSCDEX will find it present and functional. The emulated MSCDEX responds correctly to drive information queries, audio playback commands, and multi-volume queries.
Swapping Disc Images at Runtime
Multi-disc games prompt you to insert a different disc during play. DOSBox-X handles this without ejecting anything physically.- Using the keyboard shortcut
When you mount multiple image files at once, Host+D (by default F11+D on Windows or F12+D on Linux/macOS) cycles through them in order. Each press advances to the next image in the list.When the game asks you to insert disc 2, press Host+D once. Press again for disc 3, and once more to return to disc 1.
Eject and Insert Emulation
DOSBox-X emulates tray open/close operations at the hardware level. Some copy-protection schemes and CD audio players test whether a disc is present by attempting to open and close the drive tray.- Drive → Eject — Emulates opening the tray (disc removed).
- Drive → Insert — Emulates closing the tray (disc inserted).
CD Audio Playback Tips
Game has no music even though the disc has audio tracks
Game has no music even though the disc has audio tracks
You are almost certainly mounting an
.iso file for a game that originally shipped with audio tracks. An ISO rip captures only the data track. You need to remount using the .cue file from a proper CUE/BIN rip of the same disc. If you only have the ISO, there is no audio data to play back.Audio is choppy or out of sync
Audio is choppy or out of sync
CD audio is decoded in real time. Lower the CPU cycles in DOSBox-X — press Host+Minus (default: F11+Minus on Windows, F12+Minus elsewhere) to lower cycles — to ensure the audio decoder keeps up. You can also try mounting with a raw
.bin track instead of a compressed format to reduce decoder overhead.Mixer shows no CDAUDIO channel
Mixer shows no CDAUDIO channel
The CD audio mixer channel (
CDAUDIO) is created dynamically when a disc with audio tracks is mounted and the game first requests audio playback. It does not appear until audio is actually triggered by the running program.Physical CD-ROM drive not detected on Windows
Physical CD-ROM drive not detected on Windows
Confirm you are using the Windows build of DOSBox-X and that the correct host drive letter is passed as the second argument to
IMGMOUNT. Windows 10 and 11 may require running DOSBox-X as administrator to allow raw drive access through IOCTL.