api.RomIn
The rom RomM resolved for the launch.
The rom RomM resolved for the launch.
Attributes
attributeidOptional[int]= NoneRomM's id for the rom, if known.
attributenameOptional[str]= NoneThe rom's display name, if known.
attributeplatformOptional[str]= NoneThe platform slug, which general-purpose emulators use to pick a core.
attributelanguageOptional[str]= NoneThe rom's language, for emulators whose games ship several in one folder.
attributetitle_idOptional[str]= NoneRomM's game id for the rom (a serial, title id or game code), if it has one.
attributesave_targetOptional[str]= NoneRomM's name for where this game keeps its saves, if it has one.
attributesave_target_layoutOptional[str]= NoneHow save_target names that place; see KNOWN_SAVE_TARGET_LAYOUTS.
attributepathstrAbsolute container path to the rom, validated against ROM_ROOT on activate.
attributecoreOptional[str]= NoneThe libretro core to boot instead of the platform's default (RetroArch only).
attributeexperimental_coresbool= FalseRomM's opt-in to a core the broker lists as known broken.
Functions
func_log_unknown_layout(cls, value) -> Optional[str]Log a layout this broker does not know, and keep it.
paramclsparamvalueOptional[str]The layout RomM sent.
Returns
typing.OptionalThe value, unchanged.
func_check_core(cls, value) -> Optional[str]Refuse a core name the buildbot could not have.
Raises
ValueError: When it does not match^[a-z0-9_]+$.
paramclsparamvalueOptional[str]The core RomM sent.
Returns
typing.OptionalThe value, unchanged.