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

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)
  • The forum ‘New to RetroPie? Start Here!’ is closed to new topics and replies.