dosbox-automation 0.85.0 adds a REST API and Lua scripting to DOSBox Staging
The new 0.85.0 release of dosbox-automation turns the classic DOS emulator into a scriptable engine with a built-in HTTP server and macro recording.
The open-source dosbox-automation project has released version 0.85.0, bringing a built-in HTTP REST API and Lua scripting to a DOSBox Staging foundation. The update is available now on GitHub for Windows and Linux.
The project first surfaced around July 2026 as a specialized fork. Vanilla DOSBox development slowed down heavily after the 0.74 release, which prompted community forks like DOSBox Staging to modernize the codebase with better audio and video shaders.
DOSBox Staging started around 2020 as an open-source community effort to modernize the original x86 emulator. It brought updated audio output, modern platform support, and active maintenance back to a project that had largely stalled. By basing dosbox-automation on Staging rather than vanilla DOSBox or DOSBox-X, the developers get those modern quality-of-life features out of the box.
A web server inside an emulator
Version 0.85.0 embeds a rich HTTP REST API directly into the emulator. This allows external frontends, testing pipelines, or automated installers to communicate with the DOS environment without requiring manual user input. It also includes sandbox Lua scripting and a safe mounting policy. The safe mounting policy restricts what the emulator can access on the host machine, which is critical when running automated scripts downloaded from external sources.
If you are building a custom launcher or trying to archive complex installation routines for legacy software, you can script the entire process. DOSBox originally launched in 2002 to preserve access to classic PC gaming history, and it eventually became the underlying engine for digital retro PC game re-releases across storefronts like GOG and Steam. Those commercial releases often rely on static configuration files. The automation fork allows for dynamic, programmatic control over the emulation state.
The sandboxed Lua scripting means you can write complex logic to handle game-specific quirks. Instead of just sending a blind sequence of keystrokes and hoping the game has loaded, a Lua script can interact with the emulator state to verify that a specific process has completed before proceeding.
Frame-accurate recording
Beyond the API, the 0.85.0 update includes macro support alongside frame-accurate video and audio recording. Because it is built on DOSBox Staging, it inherits that project's modern platform compatibility and updated rendering pipeline. The automation engine ensures that inputs and recordings sync up perfectly. This is notoriously difficult when relying on external capture software for variable-framerate DOS games.
Building the recording tools directly into an automation-focused engine ties the capture to the emulator's internal clock rather than the host operating system's clock, preventing audio from drifting out of sync when emulator cycle counts fluctuate.
Emulation usually focuses on the end-user experience of playing a game with a controller or keyboard. This project targets the infrastructure around it. Automated testing for DOS homebrew, unattended game installations for digital storefronts, and scripted archival processes all require a way to control the emulator programmatically. It is a highly specific tool, but it solves a massive headache for developers building frontends and testing environments.
Comments ()