libretro.py.runs

Load a libretro core with zero or more content files and runs it for a fixed number of frames.

Exits with 0 if no errors are raised during this time.

Usage

libretro.py.runs [OPTIONS] CORE [CONTENT]

Options

-s, --subsystem <IDENT>

Identifier of the subsystem to use when loading the content. Error if not defined by the core.

-n, --frames <frames>

The number of frames to run the core for. May exit earlier if the core exits explicitly; this is not necessarily an error.

Default:

60

-O, --option <options>

Set an option for the core. Format: ‘option=value’. May be specified multiple times.

-S, --software-video <software_video>

The video driver to use for software rendering.

Default:

<SoftwareVideoDriverType.DEFAULT: 'default'>

Options:

default | opengl | opengl-core

-w, --window

Run the core with a visible window if supported by the active video driver. Useful for RenderDoc and other debugging tools.

Default:

False

Arguments

CORE

Required argument

Path to the libretro core to load. Must be a complete path, not a short name.

CONTENT

Optional argument(s)

Path to the content file(s) to load.