Emulationstation from batocera with configs and scripts for integration as Arch-Linux package
This project is maintained by GB609
This file contains detailed descriptions of additional actions that emulatorlauncher is able to do.
These actions are called operations and can be passed to emulatorlauncher by prefixing the names given below with --.
Most of the operations are intended for internal usage of system runner implementations interacting with emulatorlauncher.
However, some might be useful in debugging context or for user-provided scripts, which is why they are documented here.
`emulatorlauncher -rom path/to/game --locateExecutable psx`
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.
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'
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.
Calls the ‘batocera’ event script mechanism which is additional to what emulationstation provides.
This will normally be done by emulatorlauncher, but can also be triggered externally with this operation.
Detailed arguments can be found in the Batocera Wiki.
usage: emulatorlauncher -rom path/to/rom -- notifyListener gameStart|gameStop
Generated with shdoc from /opt/emulatorlauncher/lib/.operations.lib