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

    Random game select option

    Scheduled Pinned Locked Moved Ideas and Development
    randomrandomizer
    9 Posts 6 Posters 5.8k 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.
    • E
      Elohim
      last edited by Elohim

      Hi all,
      I have a feature that I think would be nice to have in Retropie when choosing games. I believe there are many retrogamers out there who play their favourite games, but have a lot more games than they have played, or ever can, play.

      I would like to have a "random console" or "random game" option that you can choose in the same way as choosing "Megadrive" or "Amiga" or "C64". Inside the console you choose some options like "included consoles" and/or "included game directories". Perhaps even an option of "start random game at startup" to get it even more interesting, and then you never know what game is going to be started when you boot up.

      My idea is simple – to randomly get a game to play from your own choice of consoles or games. Perhaps it's possible to do different constellations of the randomness, to save different scenarios of how games are randomly chosen.

      /Elo

      1 Reply Last reply Reply Quote 1
      • iconrumbleI
        iconrumble
        last edited by

        I'm suprised no one picked this up... I think this is a must-have...
        I suppose we could create a ney ES system named "RANDOM" and inside an .sh executable with a random file selector script for each system...
        I easily found a number of random file selector scripts online:
        ls -1 | shuf -n 1
        or
        a=(*); echo ${a[$((RANDOM % ${#a[@]}))]}
        or
        for i in *; do echo "$i"; done | shuf -n1

        I don't know much about linux... Maybe someone could try and check it out...

        1 Reply Last reply Reply Quote 1
        • E
          Elohim
          last edited by

          I say it's a must have feature!

          1 Reply Last reply Reply Quote 0
          • BriganeB
            Brigane
            last edited by

            This would be a very nice feature, then I can finally force myself to play other games than the usual ones :D

            Systems: Raspberry Pi 0/2/3 Model B+
            Os: RetroPie 4.5
            Frontend: Emulationstation & Attract Mode

            1 Reply Last reply Reply Quote 1
            • shu1720S
              shu1720
              last edited by

              Great idea, please include in version 3.8!

              brunoacoB 1 Reply Last reply Reply Quote 1
              • brunoacoB
                brunoaco @shu1720
                last edited by

                cool!!

                great idea!

                1 Reply Last reply Reply Quote 1
                • Z
                  Zigurana
                  last edited by

                  It's still beta / experimental, but you could try this : https://github.com/retropie/retropie-setup/wiki/Child-friendly-EmulationStation#random-game-selection, and see how you like it.

                  If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                  E 1 Reply Last reply Reply Quote 1
                  • E
                    Elohim @Zigurana
                    last edited by

                    @Zigurana Sounds nice – how do I implement it? I see the download of the zip-file, then what?

                    best,
                    Elo

                    1 Reply Last reply Reply Quote 0
                    • Z
                      Zigurana
                      last edited by

                      please have a thorough read of the complete wiki page, particularly https://github.com/retropie/retropie-setup/wiki/Child-friendly-EmulationStation#installation.
                      Again, make backups, expect bugs.

                      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                      1 Reply Last reply Reply Quote 1
                      • 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.