how to make dosbox window bigger

How to Make DOSBox Window Bigger

By Matthew Harris
AD

Ever felt like the DOSBox window is too small and cramping your gaming or retro-computing style? Fret not; you're not alone. And, good news, it's easy to make the DOSBox window bigger. Let's dive right in.

A larger window means more comfortable gaming or working with retro software. Plus, it can help you better appreciate the nostalgia factor of those classic graphics. So, let's get started.

Configuring DOSBox Window Size in dosbox.conf

The easy way to make your DOSBox window bigger is by editing the dosbox.conf file. This file is the central configuration hub for DOSBox.

AD
an image of a blue screen with many red and white symbols on it, all in rows
an image of a blue screen with many red and white symbols on it, all in rows
DIY crittall windows
DIY crittall windows
DIY Window Boxes
DIY Window Boxes

Here's how to access and edit it:

Locating dosbox.conf

First, you need to find the dosbox.conf file. It's situated in the DOSBox installation directory. If you're running DOSBox under wine (for Linux or macOS), it's in ~/.dosbox.

Free Playhouse Plans – A fun project for the whole family
Free Playhouse Plans – A fun project for the whole family

If you're unsure, you can use the command which dosbox in the terminal to find the exact location after opening the DOSBox console.

Editting dosbox.conf

Now, open the dosbox.conf file with a text editor. If you're using a Windows machine, Notepad would do fine. For Linux or macOS, you can use nano,vim, or your preferred text editor.

AD

Scroll down to find the lines that start with windowresolution and fullresolution. These values determine the size of the DOSBox window and the full screen resolution respectively.

Changing DOSBox Window Resolution to Fit Your Needs

Let's break down what each of these lines does:

windowresolution

This setting determines the size of the DOSBox window. You can change the values to increase or decrease the width and height, separated by 'x'. For example, to set a window size of 1280x720, you would change the line to:

AD
windowresolution=1280x720

fullresolution

This setting is a bit trickier. It determines the size of the game window when you're running the game in full screen. Setting this too high might cause graphical glitches or performance issues. The best course of action is to set it to the native resolution of your screen, which is usually 1920x1080 for HD monitors or 2560x1440 for 4k, like so:

fullresolution=1920x1080

Always remember to save your changes before closing the dosbox.conf file. Now, when you launch DOSBox, you should find your window size has changed to your specified resolution.

However, if you find that the game or application you're running doesn't fit well in the new window or screen size, you might need to adjust some additional settings.

AD

Fine-Tuning DOSBox Settings for Optimal Viewing

In addition to the window resolution, there are other DOSBox settings you can tweak to get a better viewing experience:

Aspect Ratio

The aspectratio setting can force DOSBox to use a specific aspect ratio when scaling output, which can help prevent stretching and distortion. For example, to set a 4:3 aspect ratio, use:

aspectratio=4/3

output

The output setting determines the DOSBox's video output mode. The měsode is designed to work with many MS-DOS games and applications, but if you're experiencing issues, you might want to try switching to opengl or openglnb instead.

For example, to set the output mode to OpenGL, you would change the line to:

output=opengl

Modifying these settings can help you achieve the perfect DOSBox window size and view for your retro-gaming or work needs.

And there you have it! With a bit of tweaking in the dosbox.conf file, you've now got your DOSBox window just the way you like it. Now, go enjoy those classic games or retro software, and happy gaming!

AD