← 返回 Skills 市场
stanestane

DOSBox

作者 Stanislav Stankovic · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
121
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dosbox
功能描述
Launch, configure, and troubleshoot DOSBox-X first, with fallback to classic DOSBox, for DOS games and software. Use when working with classic DOS programs,...
使用说明 (SKILL.md)

DOSBox

Use 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.

Quick approach

  1. Detect available emulators with scripts/resolve_dosbox.py.
  2. Prefer DOSBox-X for:
    • ISO/CD-heavy installs
    • awkward installers
    • hardware and config edge cases
    • reusable setups that should be easier to tweak later
  3. Identify what the user has:
    • a game/app folder
    • a floppy/ISO/CD image
    • an installer
    • an existing config file
  4. Build a reproducible launch command or config instead of relying on vague manual steps.
  5. If the program fails, troubleshoot in this order:
    • wrong mount / wrong drive letter
    • wrong startup executable
    • graphics/output mode
    • sound setup
    • CPU cycles / speed sensitivity
    • input or fullscreen settings

Core workflows

Launch a DOS app from a folder

Prefer mounting the containing folder as C:.

Typical command pattern:

\x3Cdosbox-binary> -c "mount c \x3Cpath-to-folder>" -c "c:" -c "dir" -c "\x3Cprogram.exe>"

Rules:

  • Quote Windows paths carefully.
  • Mount the parent folder that contains the DOS files.
  • If the executable is unknown, inspect with dir first.
  • If there is a setup utility (SETUP.EXE, INSTALL.EXE), run that before the main game when sound/video must be configured.

Launch from CD / ISO media

Prefer DOSBox-X for image handling.

Typical pattern:

\x3Cdosbox-binary> -c "imgmount d \x3Cimage-file> -t iso" -c "d:" -c "dir"

If the game needs both a writable hard drive and CD:

\x3Cdosbox-binary> -c "mount c \x3Cgame-or-install-folder>" -c "imgmount d \x3Cimage-file> -t iso" -c "c:"

Install a DOS game

Use a dedicated writable game folder.

Recommended flow:

  1. Create a clean install directory.
  2. Mount it as C:.
  3. Mount install media as D: if needed.
  4. Run INSTALL, SETUP, or vendor-specific installer.
  5. After install, create a reusable launch command or config file.

Generate a reusable config file

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:

  • detected emulator path
  • mount commands
  • optional ISO mounting
  • optional auto-run executable
  • sensible defaults for fullscreen, output, cycles, and Sound Blaster

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.

Use an existing config file

If a config already exists, inspect it before changing anything.

Typical launch forms:

\x3Cdosbox-binary> -conf \x3Cconfig-file>

or:

\x3Cdosbox-binary> -userconf

Only edit config values that solve the current problem. Avoid broad random tweaks.

Troubleshooting checklist

Program does not start

Check:

  • mounted the correct folder
  • using the correct drive letter
  • executable name is correct
  • files are not nested one level deeper than expected
  • the program expects to be started from its own directory

Useful in-emulator commands:

mount
c:
dir
cd \x3Csubdir>

"This program requires MSCDEX/CD-ROM"

Mount optical media properly:

imgmount d \x3Cimage-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.

Sound does not work

Run the game's setup program first.

Common working values for many DOS titles:

  • Sound Blaster 16
  • Port 220
  • IRQ 7
  • DMA 1

If the game offers autodetect, still verify what it selected.

Too fast or too slow

Adjust cycles.

Examples:

cycles auto
cycles max
cycles fixed 12000

For old timing-sensitive games, prefer a fixed value and iterate.

Fullscreen / black screen / renderer issues

Try changing output mode in config:

  • output=opengl
  • output=texture
  • output=ddraw
  • output=surface

Prefer changing one setting at a time.

Keyboard / mouse problems

Check:

  • whether mouse capture is active
  • whether the game expects keyboard-only input
  • whether key layout issues come from host locale differences

Command generation rules

When writing commands for the user or a script:

  • Prefer a single launch command with chained -c directives for quick tests.
  • Prefer a config file for repeatable setups.
  • Use absolute paths on Windows.
  • Do not assume DOSBox is on PATH; detect common executable names or ask for the install path.
  • If both DOSBox and DOSBox-X exist, prefer DOSBox-X for ISO/CD-heavy setups and advanced compatibility.
  • If the task is shareable or repeatable, generate a .conf file and keep commands in [autoexec].

ClawHub publishing notes

This skill is meant to be portable.

  • Do not hardcode one machine's install path as a requirement.
  • Treat DOSBox-X as preferred, not mandatory.
  • Use helper scripts to detect executables and generate commands/configs.
  • Keep claims conservative: the generated config is a good starting point, not a guaranteed universal fix.

Bundled resources

scripts/resolve_dosbox.py

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"

scripts/make_dosbox_conf.py

Use this helper to generate a reusable .conf file for DOSBox-X or DOSBox.

references/troubleshooting.md

Read this when the task is mainly diagnosis rather than simple launching.

安全使用建议
This skill appears to do exactly what it says: detect DOSBox installations, generate launch commands, and write starter .conf files. Before using it, inspect any generated .conf and the launch command it suggests; verify you have DOSBox or DOSBox‑X from a trusted source. Be cautious about running executables from unknown game folders (they can be malicious)—the skill helps launch local programs but does not protect you from running unsafe binaries. Finally, note the skill's owner is unknown; if you plan to rely on it long-term, consider reviewing the included scripts yourself or using a version from a known, trusted source.
功能分析
Type: OpenClaw Skill Name: dosbox Version: 1.0.0 The 'dosbox' skill bundle is designed to help users launch and configure DOSBox and DOSBox-X emulators. It includes utility scripts (scripts/resolve_dosbox.py and scripts/make_dosbox_conf.py) for detecting local emulator installations and generating configuration files. The logic is transparent, lacks network activity or data exfiltration, and the instructions in SKILL.md are strictly focused on the stated purpose of managing DOS software.
能力评估
Purpose & Capability
Name/description (DOSBox launcher/configurator/troubleshooter) match the provided scripts and SKILL.md. The two included Python scripts detect installed DOSBox/DOSBox‑X binaries, print example launch commands, and generate .conf files — all directly relevant.
Instruction Scope
SKILL.md instructs the agent to inspect folders, detect emulator executables, build launch commands, and write .conf files. The instructions reference only local paths, mount/launch commands, and the provided helper scripts. They do not attempt to read unrelated system credentials, network endpoints, or other agents' config.
Install Mechanism
No install spec — instruction-only plus small included scripts. No downloads or external install URLs. The scripts are simple, local, and self-contained; they don't extract or execute remote code.
Credentials
The skill requests no environment variables, no credentials, and no special config paths. The scripts legitimately probe PATH and common Windows program locations to find DOSBox binaries; this filesystem access is proportionate to the stated function.
Persistence & Privilege
always is false and the skill does not request persistent system changes beyond writing a user-specified .conf file. It does not modify other skills or global agent settings. The agent can invoke it autonomously (platform default), which is appropriate for this utility.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dosbox
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dosbox 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release: DOSBox-X-first workflows, reusable config generation, launch-command helpers, and troubleshooting guidance.
元数据
Slug dosbox
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

DOSBox 是什么?

Launch, configure, and troubleshoot DOSBox-X first, with fallback to classic DOSBox, for DOS games and software. Use when working with classic DOS programs,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 DOSBox?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dosbox」即可一键安装,无需额外配置。

DOSBox 是免费的吗?

是的,DOSBox 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

DOSBox 支持哪些平台?

DOSBox 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 DOSBox?

由 Stanislav Stankovic(@stanestane)开发并维护,当前版本 v1.0.0。

💬 留言讨论