Pegasus supports calling external scripts and executables on certain program events.
1. The scripts directory
First, find your config directory and create a new directory there called
2. Event directories
scripts folder, create a new directory for the kind of events for which you want to react:
|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.