Install and Configure DOSBox

Screenshot of DOSBox commands to run Doom setup.

Over the past five years or so I’ve installed and configured DOSBox several times to enjoy some retro gaming. I grew up playing games like Star Wars: X-Wing, Warcraft: Orcs & Humans, and Kings Quest VI in MS-DOS, and it’s nice to revisit those classics. I tend to reformat my computer once a year, and each time I end up searching through the wiki and experimenting with settings in the dosbox.conf file to set it up the way I like it. I’m writing this series of blog posts to provide a single reference for myself and anyone else who finds it helpful.

Initial Installation

First comes the easy part. Head to the DOSBox website and download the latest version (0.74 as of this post). Run the installer and go with the default install location.

Screenshot of the DOSBox download page.
Download DOSBox from their website.

Next I like to create a folder on the C: drive to mount as my DOSBox C: drive. I simply call it “DOSBox.” This folder will store anything that you “install” in DOSBox such as old games or other DOS programs.

Screenshot of creating new DOSBox folder.
Create a new folder called “DOSBox” on the C: drive to act as your DOSBox C: drive.

This is all you really need to do to use DOSBox. However, each time you start DOSBox, you’d have to type in a command to mount the C:\DOSBox folder as the C: drive in DOS, and if you wanted to use your optical drive in DOSBox, that would be another manual command. To make this easier, I modify the dosbox.conf file to automagically mount the C: and D: drives.

The file should be located in C:\Users\[YourUsername]\AppData\Local\DOSBox, but you can open it from the Start Menu > All Programs > DOSBox-0.74 > Options > DOSBox 0.74 Options. Scroll down to the bottom of the file and add the following lines:

mount c C:\DOSBox
mount d E:\ -t cdrom

The first line mounts the DOSBox folder we created as the C: drive in DOSBox. The second line mounts the optical drive (in my case, drive E:, but change that to your optical drive’s letter) as the D: drive in DOSBox. The third line changes the DOS prompt to the C: drive, which is where you’ll want to start most of the time when you use DOSBox.

Screenshot of dosbox.conf edits using Notepad.
You can automagically configure DOSBox with common commands using the [autoexec] section of dosbox.conf

Installing and Testing a Game

Installing a game in DOSBox is a matter of copying the right files into a subfolder in the C:\DOSBox folder and then running the game from the DOSBox prompt. One of the quintessential DOS games was the shareware version of DOOM. You can find various versions for free, legal download online (I grabbed v1.9 [SW] from  Unzip its contents into C:\DOSBox\DOOM, then launch DOSBox. At the prompt type cd doom and press Enter, then type setup and press Enter again to run the DOOM setup.

Screenshot of DOSBox commands to run DOOM setup.
Once the DOOM shareware files are copied into C:\DOSBox\DOOM, you can run the DOOM setup.

The DOOM setup will run; you can accept all default settings (just keep pressing Enter). DOOM should launch once the setup is complete. If the game loads and you can hear sound, you’ve successfully set up a basic DOSBox configuration!

Screenshot of DOOM gameplay.
DOOM runs great with minimal configuration in DOSBox

Although DOSBox runs great out of the box, there are a few easy tweaks that make it an even better experience on modern computers. I’ll cover some of those in my next post for this series.

2 thoughts on “Install and Configure DOSBox

    1. Hi Leo,

      I’m not sure what you mean by install it on a website. DOSBox is a client application; it is installed and runs on a local computer, not in the cloud or via a web browser.

Comments are closed.