Pegasus supports calling external scripts and executables on certain program events.
1. The scripts directory
First, create a new directory called
scripts inside the config directory:
2. Event directories
scripts folder, create a new directory for the kind of event you want to script:
|on program quit|
|on system reboot (also calls |
|on system shutdown (also calls |
|on the change of any configuration option|
|on change of the control settings (also calls |
|on change of the regular (non-control) settings (also calls |
|before starting a game|
|after finishing a game|
3. Script calling
Put your executable scripts or binaries into these new directories. They will be called in alphabetic order when the event happens.