Command-line reference

Bizmuth accepts command-line options — handy for scripting, launching a specific machine or media, and headless capture. Run with --help for the authoritative, up-to-date list.

Common options

OptionPurpose
--machine <kind>Machine to emulate: 48k, 128k, plus2a, plus3, next.
--sd <img>Attach an SD card image (Next). --sd0 / --sd1 for the two slots.
--sd-roOpen SD images read-only (changes are kept in memory, not written back).
--nex <file>Load a .nex (or a snapshot) after boot.
--roms-dir <dir>Folder holding the ROMs (saved to your config; the first-run assistant sets it otherwise).

Display / speed

OptionPurpose
--max-speed <n>Cap the CPU speed multiplier.

Capture & automation

OptionPurpose
--screenshot <file>Run headless, save a PNG and exit.
--screenshot-frames <n>Frames to run before the screenshot/video.
--video <file>Run headless, record every frame as an animated PNG, and exit.
--savestate <file> / --loadstate <file>Save / restore a full machine state.
--keys "<f>:<tok> …"Inject frame-timed keypresses (e.g. --keys "1300:enter").
--select / --auto-keys [frame]Auto-launch the highlighted browser entry / auto-press ENTER then Y.

See Headless & automation for the full set.

Debugging

OptionPurpose
--debug-protocol <p>Which debug server to run: both, dzrp, adp or none (default both).
--adp-port <n>Port for the ADP debugger (default 11001).
--script <file>Run a Rhai script (works headlessly with --screenshot).