Updated Using the command line (markdown)
parent
9583e559b8
commit
eea3244029
|
@ -1,152 +1 @@
|
||||||
```
|
The command line interface (CLI) docs are now part of the libretro docs repository: https://docs.libretro.com/guides/cli-intro/
|
||||||
-h, --help Show this help message.
|
|
||||||
-v, --verbose Verbose logging.
|
|
||||||
--log-file FILE Log messages to FILE.
|
|
||||||
--version Show version.
|
|
||||||
--features Prints available features compiled into program.
|
|
||||||
--menu Do not require content or libretro core Usage: retroarch [OPTIONS]... [FILE]
|
|
||||||
-h, --help Show this help message.
|
|
||||||
-v, --verbose Verbose logging.
|
|
||||||
--log-file FILE Log messages to FILE.
|
|
||||||
--version Show version.
|
|
||||||
--features Prints available features compiled into program.
|
|
||||||
--menu Do not require content or libretro core to be loaded,
|
|
||||||
starts directly in menu. If no arguments are passed to
|
|
||||||
the program, it is equivalent to using --menu as only argument.
|
|
||||||
-s, --save=PATH Path for save files (*.srm). (DEPRECATED, use --appendconfig and savefile_directory)
|
|
||||||
-S, --savestate=PATH Path for the save state files (*.state). (DEPRECATED, use --apendconfig and savestate_directory)
|
|
||||||
--set-shader PATH Path to a shader (preset) that will be loaded each time content is loaded.
|
|
||||||
Effectively overrides automatic shader presets.
|
|
||||||
An empty argument "" will disable automatic shader presets.
|
|
||||||
-f, --fullscreen Start the program in fullscreen regardless of config settings.
|
|
||||||
-c, --config=FILE Path for config file.
|
|
||||||
By default looks for config in $XDG_CONFIG_HOME/retroarch/retroarch.cfg,
|
|
||||||
$HOME/.config/retroarch/retroarch.cfg,
|
|
||||||
and $HOME/.retroarch.cfg.
|
|
||||||
If a default config is not found, the program will attempt to create one based on the
|
|
||||||
skeleton config (/etc/retroarch.cfg).
|
|
||||||
--appendconfig=FILE
|
|
||||||
Extra config files are loaded in, and take priority over
|
|
||||||
config selected in -c (or default). Multiple configs are
|
|
||||||
delimited by '|'.
|
|
||||||
-L, --libretro=FILE Path to libretro implementation. Overrides any config setting.
|
|
||||||
--subsystem=NAME Use a subsystem of the libretro core. Multiple content
|
|
||||||
files are loaded as multiple arguments. If a content
|
|
||||||
file is skipped, use a blank ("") command line argument.
|
|
||||||
Content must be loaded in an order which depends on the
|
|
||||||
particular subsystem used. See verbose log output to learn
|
|
||||||
how a particular subsys
|
|
||||||
-N, --nodevice=PORT
|
|
||||||
Disconnects controller device connected to PORT (1 to 16).
|
|
||||||
-A, --dualanalog=PORT
|
|
||||||
Connect a DualAnalog controller to PORT (1 to 16).
|
|
||||||
-d, --device=PORT:ID
|
|
||||||
Connect a generic device into PORT of the device (1 to 16).
|
|
||||||
Format is PORT:ID, where ID is a number corresponding to the particular device.
|
|
||||||
-P, --bsvplay=FILE Playback a BSV movie file.
|
|
||||||
-R, --bsvrecord=FILE Start recording a BSV movie file from the beginning.
|
|
||||||
--eof-exit Exit upon reaching the end of the BSV movie file.
|
|
||||||
-M, --sram-mode=MODE SRAM handling mode. MODE can be 'noload-nosave',
|
|
||||||
'noload-save', 'load-nosave' or 'load-save'.
|
|
||||||
Note: 'noload-save' implies that save files *WILL BE OVERWRITTEN*.
|
|
||||||
-H, --host Host netplay as user 1.
|
|
||||||
-C, --connect=HOST Connect to netplay server as user 2.
|
|
||||||
--port=PORT Port used to netplay. Default is 55435.
|
|
||||||
--stateless Use "stateless" mode for netplay
|
|
||||||
(requires a very fast network).
|
|
||||||
--check-frames=NUMBER
|
|
||||||
Check frames when using netplay.
|
|
||||||
--command Sends a command over UDP to an already running program process.
|
|
||||||
Available commands are listed if command is invalid.
|
|
||||||
--nick=NICK Picks a username (for use with netplay). Not mandatory.
|
|
||||||
-r, --record=FILE Path to record video file.
|
|
||||||
Using .mkv extension is recommended.
|
|
||||||
--recordconfig Path to settings used during recording.
|
|
||||||
--size=WIDTHxHEIGHT
|
|
||||||
Overrides output video size when recording.
|
|
||||||
-U, --ups=FILE Specifies path for UPS patch that will be applied to content.
|
|
||||||
--bps=FILE Specifies path for BPS patch that will be applied to content.
|
|
||||||
--ips=FILE Specifies path for IPS patch that will be applied to content.
|
|
||||||
--no-patch Disables all forms of content patching.
|
|
||||||
-D, --detach Detach program from the running console. Not relevant for all platforms.
|
|
||||||
--max-frames=NUMBER
|
|
||||||
Runs for the specified number of frames, then exits.
|
|
||||||
--max-frames-ss
|
|
||||||
Takes a screenshot at the end of max-frames.
|
|
||||||
--max-frames-ss-path=FILE
|
|
||||||
Path to save the screenshot to at the end of max-frames.
|
|
||||||
--accessibility
|
|
||||||
Enables accessibilty for blind users using text-to-speech.
|
|
||||||
--load-menu-on-error
|
|
||||||
Open menu instead of quitting if specified core or content fails to load.
|
|
||||||
|
|
||||||
to be loaded,
|
|
||||||
starts directly in menu. If no arguments are passed to
|
|
||||||
the program, it is equivalent to using --menu as only argument.
|
|
||||||
-s, --save=PATH Path for save files (*.srm). (DEPRECATED, use --appendconfig and savefile_directory)
|
|
||||||
-S, --savestate=PATH Path for the save state files (*.state). (DEPRECATED, use --apendconfig and savestate_directory)
|
|
||||||
--set-shader PATH Path to a shader (preset) that will be loaded each time content is loaded.
|
|
||||||
Effectively overrides automatic shader presets.
|
|
||||||
An empty argument "" will disable automatic shader presets.
|
|
||||||
-f, --fullscreen Start the program in fullscreen regardless of config settings.
|
|
||||||
-c, --config=FILE Path for config file.
|
|
||||||
By default looks for config in $XDG_CONFIG_HOME/retroarch/retroarch.cfg,
|
|
||||||
$HOME/.config/retroarch/retroarch.cfg,
|
|
||||||
and $HOME/.retroarch.cfg.
|
|
||||||
If a default config is not found, the program will attempt to create one based on the
|
|
||||||
skeleton config (/etc/retroarch.cfg).
|
|
||||||
--appendconfig=FILE
|
|
||||||
Extra config files are loaded in, and take priority over
|
|
||||||
config selected in -c (or default). Multiple configs are
|
|
||||||
delimited by '|'.
|
|
||||||
-L, --libretro=FILE Path to libretro implementation. Overrides any config setting.
|
|
||||||
--subsystem=NAME Use a subsystem of the libretro core. Multiple content
|
|
||||||
files are loaded as multiple arguments. If a content
|
|
||||||
file is skipped, use a blank ("") command line argument.
|
|
||||||
Content must be loaded in an order which depends on the
|
|
||||||
particular subsystem used. See verbose log output to learn
|
|
||||||
how a particular subsys
|
|
||||||
-N, --nodevice=PORT
|
|
||||||
Disconnects controller device connected to PORT (1 to 16).
|
|
||||||
-A, --dualanalog=PORT
|
|
||||||
Connect a DualAnalog controller to PORT (1 to 16).
|
|
||||||
-d, --device=PORT:ID
|
|
||||||
Connect a generic device into PORT of the device (1 to 16).
|
|
||||||
Format is PORT:ID, where ID is a number corresponding to the particular device.
|
|
||||||
-P, --bsvplay=FILE Playback a BSV movie file.
|
|
||||||
-R, --bsvrecord=FILE Start recording a BSV movie file from the beginning.
|
|
||||||
--eof-exit Exit upon reaching the end of the BSV movie file.
|
|
||||||
-M, --sram-mode=MODE SRAM handling mode. MODE can be 'noload-nosave',
|
|
||||||
'noload-save', 'load-nosave' or 'load-save'.
|
|
||||||
Note: 'noload-save' implies that save files *WILL BE OVERWRITTEN*.
|
|
||||||
-H, --host Host netplay as user 1.
|
|
||||||
-C, --connect=HOST Connect to netplay server as user 2.
|
|
||||||
--port=PORT Port used to netplay. Default is 55435.
|
|
||||||
--stateless Use "stateless" mode for netplay
|
|
||||||
(requires a very fast network).
|
|
||||||
--check-frames=NUMBER
|
|
||||||
Check frames when using netplay.
|
|
||||||
--command Sends a command over UDP to an already running program process.
|
|
||||||
Available commands are listed if command is invalid.
|
|
||||||
--nick=NICK Picks a username (for use with netplay). Not mandatory.
|
|
||||||
-r, --record=FILE Path to record video file.
|
|
||||||
Using .mkv extension is recommended.
|
|
||||||
--recordconfig Path to settings used during recording.
|
|
||||||
--size=WIDTHxHEIGHT
|
|
||||||
Overrides output video size when recording.
|
|
||||||
-U, --ups=FILE Specifies path for UPS patch that will be applied to content.
|
|
||||||
--bps=FILE Specifies path for BPS patch that will be applied to content.
|
|
||||||
--ips=FILE Specifies path for IPS patch that will be applied to content.
|
|
||||||
--no-patch Disables all forms of content patching.
|
|
||||||
-D, --detach Detach program from the running console. Not relevant for all platforms.
|
|
||||||
--max-frames=NUMBER
|
|
||||||
Runs for the specified number of frames, then exits.
|
|
||||||
--max-frames-ss
|
|
||||||
Takes a screenshot at the end of max-frames.
|
|
||||||
--max-frames-ss-path=FILE
|
|
||||||
Path to save the screenshot to at the end of max-frames.
|
|
||||||
--accessibility
|
|
||||||
Enables accessibilty for blind users using text-to-speech.
|
|
||||||
--load-menu-on-error
|
|
||||||
Open menu instead of quitting if specified core or content fails to load.
|
|
||||||
```
|
|
Loading…
Reference in New Issue