Skip to content

Command line reference

Dimitris Panokostas edited this page Nov 19, 2026 · 10 revisions

Command Line Reference

This page lists common command-line patterns and the most used options. For the full list of options, run amiberry --help in a terminal.

Help, logging, and diagnostics

  • -h, --help: Show help and exit.
  • --version: Print version information and exit.
  • --log: Show log output in the console.
  • --rescan-roms: Force a ROM rescan on startup.
  • --jit-selftest: Run the JIT compiler self-test and exit.
  • --dump-paths: Print the resolved startup paths and exit. This is a dry-run diagnostic mode and does not migrate files, create directories, or rewrite settings.
  • --dump-config: Print the resolved configuration to stdout and exit, without starting the emulator. The output starts with ; comment lines naming the version and the configuration source, then the settings in .uae format. It reflects the built-in defaults, the default configuration, the other command-line options (-f, -s, --model, --apply-preset, --autoload and so on) and the corrections Amiberry applies on startup. Those corrections and unrecognized entries are listed on stderr. --log is ignored, and the dump does not rescan ROMs or write settings. If a requested configuration cannot be loaded, or an option is missing its argument, it prints an error and exits with code 1 instead of dumping defaults.
  • --settings-schema[=<file>]: Print the options of the shared settings layer, the presets and their availability rules as JSON and exit. With =<file>, only the option IDs listed in that file are included.
  • --perf-log: Write periodic performance statistics to the log for this run. The same as perf_log=yes in amiberry.conf.
  • --download-whdboot: Explicitly download or refresh the WHDBooter runtime assets and exit.

Launching and configuration

  • -f <file>, --config <file>: Load a configuration file.
  • --model <model>: Use a Quickstart model preset. Supported: A1000, A500, A500P, A600, A2000, A3000, A1200, A4000, CD32, CDTV.
  • --apply-preset <preset>[:<config>[:<compatibility>]]: Apply a Quickstart preset, the same hardware defaults as the Quickstart panel. <preset> is one of a500, a500plus, a600, a1000, a1200, a3000, a4000, a4000t, cd32, cdtv, alg, arcadia, macrosystem (lower case). <config> is the 0-based index of the model's Configuration entry in Quickstart (default 0). <compatibility> is the Compatibility level from 0 (best, cycle-exact) to 4 (JIT), default 1. The highest level depends on the model: 4 for a1200 and cd32, 1 for a3000, 0 for a4000, a4000t and macrosystem, 3 for the others. An unknown preset or an out-of-range value is rejected. Example: --apply-preset a1200:1:1 is the A1200 with 4 MB Fast RAM and Good compatibility. Combine with --dump-config to see the resulting configuration.
  • -G: Start emulation directly without showing the GUI (also sets use_gui=no).
  • -s <option>=<value>: Set one or more emulator options directly, without loading a file.
  • -cfgparam <option>=<value>: Alternative to -s. Also supports -cfgparam=<option>=<value>.
  • -o <amiberry_conf>=<value>: Set an amiberry.conf parameter. See amiberry.conf options.

Media loading

  • amiberry <file>: Auto-detect the file type and use the default action. Supported: .uae config files, .lha WHDLoad archives, CD images (.cue, .iso, .chd), disk images (.adf, .adz, .dms, .ipf, .zip, .7z), save states (.uss), and RP9 packages (.rp9). For floppy disk images, Amiberry also checks if a matching .uae config file exists and loads it automatically.
  • --autoload <file>: Load a WHDLoad .lha archive, a CD image (.cue, .iso, .chd), or an RP9 package (.rp9) using the WHDBooter / RP9 loader. .lzh/.lzx WHDLoad archives are supported by some GUI/IPC paths, but --autoload remains .lha-centric for WHDLoad. When loading an .rp9 file, Amiberry parses the embedded manifest and applies the described hardware configuration automatically.
  • --cdimage <file>: Load a CD image on startup.
  • --statefile <file>: Load a save state file. If the file is not found at the given path, Amiberry also checks the configured savestates directory.

Console emulation

  • -cli [path], --cli [path]: Enable console emulation mode. Optionally provide a path. Also supports --cli=<path>.

Floppy drives and disks

  • -0 <disk.adf>: Insert ADF into drive 0.
  • -1 <disk.adf>: Insert ADF into drive 1.
  • -2 <disk.adf>: Insert ADF into drive 2.
  • -3 <disk.adf>: Insert ADF into drive 3.
  • -diskswapper=d1.adf,d2.adf: Preload a comma-separated list of disk images into the Disk Swapper. Use quotes for paths containing commas: -diskswapper="path with,comma/d1.adf",d2.adf.

ROMs and storage

  • -r <kick.rom>: Load main ROM from a path.
  • -K <kick.rom>: Load extended ROM from a path.
  • -m VOLNAME:mount_point: Attach a volume to a mount point.
  • -W DEVNAME:hardfile: Attach a hardfile with a device name.

CPU, chipset, and memory

  • -w <value>: CPU emulation speed. 0 = Cycle Exact, -1 = Max.
  • -C <value>: Set CPU specs (e.g. 0 for 68000, 2 for 68020). Optional suffixes: a = 24-bit address space, c = compatible mode (68000 only).
  • -v <value>: Set chipset. 0=OCS, 1=ECS Agnus, 2=ECS Denise, 3=Full ECS, 4=AGA.
  • -c <value>: Chip RAM size (512KB units).
  • -F <value>: Fast RAM size (1MB units).
  • -b <value>: Bogomem size (256KB units).
  • -Z <value>: Z3 Fast RAM size (1MB units).
  • -U <value>: RTG memory size (1MB units).
  • -i: Enable illegal memory.
  • -n: Enable Immediate Blits (only when illegal memory is not enabled).

Graphics, audio, and input

  • -O <value>: Set graphics specs. Format: width:height:modifiers. Modifiers: l = line doubling, x/X = horizontal centering, y/Y = vertical centering, d/D = double vertical resolution, a = fullscreen amiga, p = fullscreen picasso.
  • -H <value>: Color mode.
  • -S <value>: Sound parameter specification.
  • -R <value>: Output framerate in FPS.
  • -l <value>: Keyboard layout language (de, dk, us, se, fr, it, es).
  • -J <xy>: Specify joystick 0 (x) and 1 (y). Values: 0/1 for joystick, M for mouse, and a/b/c/d for keyboard layouts A-D.
  • -s headless=true: Run without opening an emulator window. The chipset frame is still drawn, so screenshots show the picture. Combine with -G to skip the GUI as well. Before Amiberry 8.6.0, screenshots taken this way were black.

Serial and parallel

  • -p <printer>: Set the printer device name. Use -p none to disable printing entirely (default). Pass a file path (e.g., -p /tmp/printout.txt) to enable print-to-file — any data written by the emulated Amiga to its printer port is appended to that file. Useful for capturing text output from Amiga applications without physical hardware.
  • -d <value>: Serial/parallel on demand. Include S or s for serial on demand, P or p for parallel on demand.

Debugging

  • -D: Start the built-in debugger (when Amiberry is compiled with debugger support).
  • -s debugging_features=gdbserver: Enable the GDB remote server for the emulated CPU. Use with gdb_port=<port> (default 2345). See GDB Remote Debugging.

Examples

Load a configuration

amiberry --config /path/to/some-name.uae

Load a configuration and a save state

amiberry --config /path/to/some-name.uae --statefile /path/to/some-name.uss -s use_gui=no

The following shorthand is also supported:

amiberry --config some-name.uae --statefile some-name.uss -G

Load a save state directly

amiberry some-name.uss

You can also load a save state and keep the GUI open:

amiberry --statefile some-name.uss

See Savestates for more details about save state usage and limitations.

Use a Quickstart model preset

amiberry --model A1200 -G

This will use the A1200 default settings and enter emulation directly.

Print the configuration a preset produces

amiberry --apply-preset a1200:1:1 --dump-config

This prints the resulting configuration to stdout and exits without starting the emulator. Redirect it to a file to compare configurations.

Auto-load a WHDLoad game

amiberry lha/MyGame.lha

This will load the WHDLoad game using the autoload mechanism.

Load a config with additional overrides

amiberry --config conf/A500.uae --statefile savestates/game.uss -s use_gui=no

Clone this wiki locally