mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
js-dos boots exactly one format. Its `url` option runs the file through emulators.bundleConfig(), which requires an archive carrying `.jsdos/dosbox.conf`; handed an ordinary scanned game it panics with "Broken bundle, .jsdos/dosbox.conf not found" and the player never starts. Gate canPlayJsDos on the file extension so Play is offered only for files the player can actually boot, instead of routing a win3x/win9x ROM to a dead screen. The platform-level check is unchanged: usePlatformPlayable knows only a slug, and a win3x platform is still playable in browser given a bundle. Booting unbundled games would mean supplying `dosboxConf` and `initFs` ourselves, which needs entrypoint detection and, for Win9x, a system image. That is a feature in its own right, not a fix. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>