Running commands before and after a game launches

Welcome Page Forums RetroPie Project New to RetroPie? Start Here! Running commands before and after a game launches

This topic contains 1 reply, has 2 voices, and was last updated by  petrockblog 2 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #107565

    neoid
    Participant

    I intend to run some extra code on the following events and need some advice if the files I’m using or intend to use are the best way of doing it…

    1) After emulationstation has started.
    /etc/profile.d/10-emulationstation.sh

    2) When the user selects a game
    /opt/retropie/supplementary/runcommand/runcommand.sh

    3) When the user quits a game/returns to emulationstation
    Haven’t found a good file for this yet, any ideas?

    #107570

    petrockblog
    Keymaster

    3) would also be in runcommand since it launches the game, and then does some cleanup code etc.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

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