Repository navigation
Command line reference
Dimitris Panokostas edited this page Nov 19, 2026
·
10 revisions
This page lists common command-line patterns and the most used options. For the full list of options, run amiberry --help in a terminal.
-
-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.uaeformat. It reflects the built-in defaults, the default configuration, the other command-line options (-f,-s,--model,--apply-preset,--autoloadand so on) and the corrections Amiberry applies on startup. Those corrections and unrecognized entries are listed on stderr.--logis 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 asperf_log=yesinamiberry.conf. -
--download-whdboot: Explicitly download or refresh the WHDBooter runtime assets and exit.
-
-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 ofa500,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 (default0).<compatibility>is the Compatibility level from0(best, cycle-exact) to4(JIT), default1. The highest level depends on the model:4fora1200andcd32,1fora3000,0fora4000,a4000tandmacrosystem,3for the others. An unknown preset or an out-of-range value is rejected. Example:--apply-preset a1200:1:1is the A1200 with 4 MB Fast RAM and Good compatibility. Combine with--dump-configto see the resulting configuration. -
-G: Start emulation directly without showing the GUI (also setsuse_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 anamiberry.confparameter. See amiberry.conf options.
-
amiberry <file>: Auto-detect the file type and use the default action. Supported:.uaeconfig files,.lhaWHDLoad 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.uaeconfig file exists and loads it automatically. -
--autoload <file>: Load a WHDLoad.lhaarchive, a CD image (.cue,.iso,.chd), or an RP9 package (.rp9) using the WHDBooter / RP9 loader..lzh/.lzxWHDLoad archives are supported by some GUI/IPC paths, but--autoloadremains.lha-centric for WHDLoad. When loading an.rp9file, 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.
-
-cli [path],--cli [path]: Enable console emulation mode. Optionally provide a path. Also supports--cli=<path>.
-
-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.
-
-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.
-
-w <value>: CPU emulation speed.0= Cycle Exact,-1= Max. -
-C <value>: Set CPU specs (e.g.0for 68000,2for 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).
-
-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/1for joystick,Mfor mouse, anda/b/c/dfor 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-Gto skip the GUI as well. Before Amiberry 8.6.0, screenshots taken this way were black.
-
-p <printer>: Set the printer device name. Use-p noneto 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. IncludeSorsfor serial on demand,Porpfor parallel on demand.
-
-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 withgdb_port=<port>(default 2345). See GDB Remote Debugging.
amiberry --config /path/to/some-name.uae
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
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.
amiberry --model A1200 -G
This will use the A1200 default settings and enter emulation directly.
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.
amiberry lha/MyGame.lha
This will load the WHDLoad game using the autoload mechanism.
amiberry --config conf/A500.uae --statefile savestates/game.uss -s use_gui=no
- Home
- Quick Start
- Android
- Troubleshooting
- Frequently Asked Questions
- Paths and Files
- Kickstart ROMs (BIOS)
- Amiberry Directories
- Compile from Source
- Using Amiberry with RetroPie
- How to Enable Integer Scaling
- RP9 Packages
- WHDLoad Auto-booting
- WHDLoad Workflow
- WHDLoad Booter FAQ
- WHDLoad DB Structure
- WHDLoad DB Structure (legacy XML)
- Start & Settings
- Hardware
- Media & Storage
- Display & Audio
- Input & Control
- System & Runtime
- Input Mapping Guide
- Setting up Input Controllers
- Setting up Keyboard Controllers
- Custom Events
- RetroArch Commands
- Mouse/Joystick Autoswitching