batocera-ES-onArch

Emulatorlauncher Operations

Index

locateExecutable

Uses es_find_paths.xml to search for an executable matching the given search pattern.
Mostly required for internal usage by system executor files to allow flexibility in runner installation locations and package types (native, AppImage, etc.).
Defined as a public operation for debugging purposes or usage with custom external scripts.

Arguments

effectiveProperties

Create a sourceable string of bash property declarations. Assumes variables named system and rom to be in the environment.
The path to a rom could alternatively also be supplied as $1 directly. However, this makes no difference when this operation is called from within emulatorlauncher as the launcher itself requires a rom argument already and just passes that on by setting context variables.

effectiveProperties is mostly meant for internal usage, although it is possible to use it as a operation for debugging or testing situations.
This function internally calls btc-config effectiveProperties which does all the heavy lifting.

Format:

declare-ro 'simpleProp=value'
declare-ro -A arrayName
arrayName['key']='value'

noRun

By default, all additional operations to not prevent launch of the game.
This ‘pseudo’ operation is meant to do that instead. When it is encountered, emulatorlauncher will just stop its current execution.
Therefore, please make sure to use --noRun last if you intend to not start the game but only do some optional other operations.

Generated with shdoc