Install
openclaw skills install dosboxLaunch, configure, and troubleshoot DOSBox-X first, with fallback to classic DOSBox, for DOS games and software. Use when working with classic DOS programs,...
openclaw skills install dosboxUse this skill to get a DOS program running with the least drama possible.
Prefer DOSBox-X when available. Fall back to classic DOSBox only when DOSBox-X is missing or the user explicitly wants stock DOSBox behavior.
scripts/resolve_dosbox.py.Prefer mounting the containing folder as C:.
Typical command pattern:
<dosbox-binary> -c "mount c <path-to-folder>" -c "c:" -c "dir" -c "<program.exe>"
Rules:
dir first.SETUP.EXE, INSTALL.EXE), run that before the main game when sound/video must be configured.Prefer DOSBox-X for image handling.
Typical pattern:
<dosbox-binary> -c "imgmount d <image-file> -t iso" -c "d:" -c "dir"
If the game needs both a writable hard drive and CD:
<dosbox-binary> -c "mount c <game-or-install-folder>" -c "imgmount d <image-file> -t iso" -c "c:"
Use a dedicated writable game folder.
Recommended flow:
C:.D: if needed.INSTALL, SETUP, or vendor-specific installer.Prefer a config file when the user wants a stable, repeatable setup.
Use scripts/make_dosbox_conf.py to generate a starter .conf file with:
Examples:
python scripts/make_dosbox_conf.py --game-path "C:\Games\DOOM" --exe DOOM.EXE --conf "C:\Games\DOOM\doom.conf"
python scripts/make_dosbox_conf.py --game-path "C:\Games\Install" --iso "C:\Images\GAME.iso" --exe INSTALL.EXE --conf "C:\Games\Install\install.conf"
Inspect the generated file before claiming it is final; some games need renderer, cycles, or audio tweaks.
If a config already exists, inspect it before changing anything.
Typical launch forms:
<dosbox-binary> -conf <config-file>
or:
<dosbox-binary> -userconf
Only edit config values that solve the current problem. Avoid broad random tweaks.
Check:
Useful in-emulator commands:
mount
c:
dir
cd <subdir>
Mount optical media properly:
imgmount d <image-file> -t iso
If using a host folder as a CD source, prefer DOSBox-X when possible and ensure the game really supports folder-based installation.
Run the game's setup program first.
Common working values for many DOS titles:
22071If the game offers autodetect, still verify what it selected.
Adjust cycles.
Examples:
cycles auto
cycles max
cycles fixed 12000
For old timing-sensitive games, prefer a fixed value and iterate.
Try changing output mode in config:
output=opengloutput=textureoutput=ddrawoutput=surfacePrefer changing one setting at a time.
Check:
When writing commands for the user or a script:
-c directives for quick tests..conf file and keep commands in [autoexec].This skill is meant to be portable.
Use this helper to detect likely DOSBox executables and emit example commands for folder or ISO launches.
Example:
python scripts/resolve_dosbox.py --game-path "C:\Games\DOOM"
python scripts/resolve_dosbox.py --game-path "C:\Games\Install" --iso "C:\Images\GAME.iso"
Use this helper to generate a reusable .conf file for DOSBox-X or DOSBox.
Read this when the task is mainly diagnosis rather than simple launching.