TheDocumentation 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.
[dosbox] section is the heart of DOSBox-X configuration, controlling the emulated hardware profile, system memory, startup presentation, save-state management, and how the emulator interacts with the host environment. Options here determine everything from which DOS machine is being replicated all the way down to whether auto-saving is active and how the A20 address gate is emulated. Most settings require a restart to take effect.
Startup & Presentation
Path to a language file for DOSBox-X’s UI strings. Files may be encoded as UTF-8 or with a DOS code page. Leave blank to use the built-in English strings.
Duration in milliseconds of the beep sound produced when DOS or INT 10h receives a BEL (ASCII 7) character. Set to
0 to use the system default duration.Additional text placed in the DOSBox-X window title bar, supplementing the information shown via
showbasic and showdetails in [sdl].Text displayed at the bottom of the screen during the startup logo animation. Text wraps automatically; use
\n to force a line break.Base file path of PNG images to display instead of the default DOSBox-X logo at startup. For example,
logo=subdir/mylogo with machine=vgaonly will look for subdir/mylogo224x224.png.When set, DOSBox-X skips the 1-second pause during the BIOS logo screen, booting faster.
When set (the default), DOSBox-X displays the welcome banner in the DOS shell on startup. Disable to skip directly to the DOS prompt.
Background color theme for the startup welcome banner. Possible values:
default, black, red, green, yellow, blue, magenta, cyan, white.Visual theme for the built-in Configuration Tool dialog. If left blank, DOSBox-X follows the host operating system’s dark/light mode setting. Available named themes include:
Windows Default, Arizona, Black Leather Jacket, Bordeaux, Cinnamon, Designer, Emerald City, Fluorescent, HotDog Stand, LCD Default Screen Settings, LCD Reversed - Dark, LCD Reversed - Light, Mahogany, Monochrome, Ocean, Pastel, Patchwork, Plasma Power Saver, Rugby, The Blues, Tweed, Valentine, Wingtips.Host Integration
Informs the host OS that DOSBox-X is DPI-aware. Without this, Windows Vista and later may upscale the window on high-DPI monitors, producing a blurry result. Possible values:
true, false, 1, 0, auto.Controls whether a warning dialog appears when closing the DOSBox-X window. Possible values:
auto— warn if a DOS program, game, or guest OS is runningautofile— warn if there are open file handles or a guest OS is runningtrue/1— always warnfalse/0— never warn
Determines DOSBox-X’s working directory when it launches. Possible values:
autoprompt— auto-decide whether to prompt for a directoryconfig— use the primary config file’s directorycustom— use the path fromworking directory defaultdefault— likeautoprompt, but asks whether to save the chosen folderforce— likecustom, and overrides the-defaultdircommand-line flagnoprompt— use the current directory and never promptprogram— use the DOSBox-X executable’s directoryprompt— always prompt the user at startupuserconfig— use the DOSBox-X user configuration directory
The directory used when
working directory option=custom or force. For prompt mode, this becomes the initially-selected folder in the folder-picker dialog.When set, the Configuration Tool displays all configuration options (including advanced ones) by default, rather than hiding rarely-used settings.
If set to
true, DOSBox-X resolves environment variables and paths found in the config file (excluding [autoexec]). Supported variable syntaxes: %VAR% (DOS/Windows) and ${VAR} (Linux/macOS), as well as tilde (~) expansion on Unix. Possible values: true, false, dosvar, tilde, 1, 0.Specifies the host key used for DOSBox-X keyboard shortcuts such as toggling fullscreen. Using
mapper means the key defined in the mapper file (default: F11 on Windows, F12 on other platforms) is used. You can also select this from Main → Select host key. Possible values: ctrlalt, ctrlshift, altshift, mapper.Selects which key combination the mapper’s SendKey function sends to the guest. Possible values:
winlogo, winmenu, alttab, ctrlesc, ctrlbreak, ctrlaltdel.Enables Input Method Editor (IME) support for inputting CJK characters on Windows and Linux. With
auto, IME is only activated if DOSBox-X starts with a Chinese, Japanese, or Korean code page. Possible values: true, false, 1, 0, auto.When enabled, DOSBox-X automatically synchronizes the emulated system clock with the host clock, unless the user manually changes the date or time inside DOS.
Machine Type
The type of PC hardware DOSBox-X emulates. This affects available video modes, sound capabilities, and BIOS behavior. Common values:Text / Monochrome:
mda, hercules, hercules_plus, hercules_incolor, hercules_colorCGA variants: cga, cga_mono, cga_rgb, cga_composite, cga_composite2Other early systems: tandy, pcjr, pcjr_composite, pcjr_composite2, amstradEGA / MCGA: ega, ega200, jega, mcgaVGA / SVGA: vgaonly, svga_s3 (default), svga_s386c928, svga_s3vision864, svga_s3vision868, svga_s3vision964, svga_s3vision968, svga_s3trio32, svga_s3trio64, svga_s3trio64v+, svga_s3virge, svga_s3virgevxET / Paradise / ATI SVGA: svga_et3000, svga_et4000, svga_paradise, svga_ati_egavgawonder, svga_ati_vgawonder, svga_ati_vgawonderplus, svga_ati_vgawonderxl, svga_ati_vgawonderxl24, svga_ati_mach8, svga_ati_mach32, svga_ati_mach64VESA modes: vesa_nolfb, vesa_oldvbe, vesa_oldvbe10, vesa_vbe3NEC PC-98: pc98, pc9801, pc9821DOSBox compatibility: svga_dosbox, svga_dosbox_vbe2FM-TOWNS: fm_townsMemory
Amount of RAM available to the emulated DOS system, in megabytes. The default of 16 MB works best for most games. Some 286 protected-mode software (e.g. Windows 3.0 Standard Mode) may crash with more than 15 MB. The maximum is up to 1,048,576 (1 TB) with appropriate CPU type and
memalias settings; values of 4 GB or more require a memory file. See the DOSBox-X console log for effective limits.If specified, guest memory is backed by a memory-mapped file on disk rather than host RAM. Useful when
memsize is very large. The file will be created automatically if it does not exist and requires no special formatting.A20 gate emulation mode, controlling how the CPU accesses the 1 MB memory boundary. Possible values:
fast— emulate by remapping the first 64 KB at the 1 MB boundary (fast; mainline DOSBox behavior)mask— emulate by masking memory I/O addresses (accurate; default)off— lock A20 gate off; software cannot enable iton— lock A20 gate on; software cannot disable itoff_fake— gate locked off, but the toggle bit still responds (tests HMA detection)on_fake— gate locked on, but the toggle bit still responds
A20GATE command.When set, all
MOUNT commands will default to -nocachedir, disabling directory caching. Useful if the host filesystem changes frequently outside of DOSBox-X.Controls how
MOUNT -freesize reports free disk space. Possible values:cap/true— the specified free size is only applied if actual free space exceeds itrelative— the free size value is applied relative to actual free spacefixed/false— the specified value is always reported regardless of actual space
When set, DOSBox-X automatically converts mounted non-FAT drives (such as host filesystem mounts) to FAT format for compatibility with guest operating systems that require FAT.
Save States
Enable and configure the automatic save-state feature. Format:
<seconds> [slot-range] [PROGRAM:slot-or-range] ...autosave=10— save every 10 seconds to the default slotautosave=10 11-20— save every 10 seconds, cycling through slots 11–20autosave=10 11-20 EDIT:21-30— also use slots 21–30 specifically forEDIT.COM- Prefix the interval with
-to define the configuration without activating it at startup
The default save-state slot number used when saving or loading states. Valid range is
1 to 100.Path to a specific save-state file. When specified, this file is used instead of the numbered slot selected by
saveslot.When enabled, DOSBox-X prompts you to enter a text remark (description) each time you save a state, making it easier to identify saves later.
When enabled, DOSBox-X will load a saved state even if it detects a mismatch in DOSBox-X version, machine type, program name, or memory size. Use with caution as mismatched states may cause instability.
Captures
Directory path where DOSBox-X saves captured files such as WAV audio recordings, MIDI recordings, and screenshots.