Reply To: Run a script when exiting a game?



Actually, a better way this to create a custom script to luanch your games. I did exactly that for Infocom and BBC Micro so that I could have my mp3 collection play in the background when I’m playing those games.

Check this out:

Random mp3 playback during gameplay

Just ignore the stuff about mp3s and modify the .sh script to your liking. Simply put the stuff you need to run after the line that launches the game. (Where the sudo killall mpg123 is located.)
^^ my other hobby

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss