In general, arguments are read sequentially into variables and then processed in an internal inscrutable order. Duplicate arguments (e.g. –load-slot=1 –load-slot=2) will result in only the last one taking effect (slot 2 will be loaded.) The desired ROM filename should be last.

Usually, all paths can be relative (where .\ is the directory of the .exe)

Loadstate:

–load-slot=[num]

Loads the specified quicksave slot number (0-9). Overrides the configuration “AutoLoad Last Save Slot”

–load-state=[path]

Loads the specified savestate file. Overrides the configuration “AutoLoad Last Save Slot”

Config File

–config=[path]

Attempts to load a BizHawk config file from the specified path, creating a new config file at this location if it does not already exist.

Movie:

–movie=[path]

Loads specified movie

A/V Capture

–dump-type=[which]

Specifies the type of capture to be done

Valid parameters:

  • vfwavi
  • ffmpeg
  • gif
  • jmd
  • nut
  • imagesequence
  • syncless
  • wave

See File | AVI/WAV | Config and Record AVI/WAV in the main program for more details.

–dump-name=[path]

The name of the output file

–dump-length=[numframes]

The length of the capture, in frames. After this many frames have elapsed, A/V capture will automatically stop

–dump-close

If capturing and specifying a dump-length, setting this property will close the emulator after it has reached the length specified in dump-length

–dump-frames=[list_of_frames]

Controls which frames will be dumped. list_of_frames is formatted like: 100,200,300 When this is set, overrides the –dump-length to be equal to the last frame. You could set –dump-length afterwards to pick what you want. Ranges could be added without much trouble. Post a ticket.

Misc

–fullscreen

Will start the emulator in fullscreen mode

–chromeless

Starts the emulator with no window chrome (frame, titlebar, etc.) See DisplayConfig for more.

–gdi

Will force the emulator to startup with the GDI+ display method, useful in case you can’t start it up at all

–luaconsole

Opens the Lua console

–lua=[path]

Opens a Lua console and starts the specified script