RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    A new approach to screensaver/attract-mode?

    Scheduled Pinned Locked Moved Ideas and Development
    4 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DJQuad
      last edited by

      Hey all, I’m wondering if there can be a new approach to the Screensaver for those that want attract mode (showing games while not in use, not Attract-Mode the front-end).

      Couldn’t a shell script be run at boot that monitors inactivity and uses mplayer to randomly play mp4 videos? Normally the esc key exits it but I would think that could be changed for any input (any key on the keyboard, controller, joystick, button, etc). That could also be “counted” as a sign as activity and the script would kill the mplayer process.

      I’m not sure if MAME has any sort of attract mode functionality but that would ideal if it does. If we’re stuck with mp4s that’s ok as you can get them from emumovies, youtube, progettosnaps, or even record your own. There’s even a way with mplayer to play videos muted, fullscreen, and lots of other options.

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • D
        DJQuad
        last edited by

        C'mon scripters this should be easy, no?

        1 Reply Last reply Reply Quote 0
        • dankcushionsD
          dankcushions Global Moderator @DJQuad
          last edited by

          @DJQuad mame (and i guess most console games) have attract modes, so really what would be best is to launch a random game as your 'screensaver'. that idea has been floated around for ages but since no-one has coded it i guess it's not so easy :)

          1 Reply Last reply Reply Quote 0
          • D
            DJQuad
            last edited by

            I've found several scripts that I think could be adapted to work if anyone is familiar with scripting, at least for playing videos -

            https://ubuntuforums.org/showthread.php?t=2043619
            https://ubuntuforums.org/showthread.php?t=1368224
            https://www.jwz.org/xscreensaver/faq.html#mpeg

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.