RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Dedicated "random game" button

    Scheduled Pinned Locked Moved Help and Support
    random gamebuttonslrmame2003lr-mame2003arcadebutton
    2 Posts 2 Posters 739 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
      daanv98
      last edited by

      Currently I am working on my first arcade cabinet. I want to use the cabinet for games against my friends. Therefore I thought it would be nice to have a dedicated "random game" button. So when you finish a game you press a button and instantly go to another game. I mainly use lr-mame2003. Of course the option to go to other emulators would be nice too. Can anyone help me with the coding/wiring for this? I use a raspberry pi 3b+ with zero delay encoders. I am not very experienced in this. Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        EmulationStation has the X button mapped for choosing a random system or game. If you're in the system list, X will position you to a random system, if you're in a game list (inside a system), it will position you to a random game - you just have to press A to start the game.
        Modifying the existing behavior - to start the game automatically - means you're going to have to program it into EmulationStation - something that's non-trivial for someone that's not familiar with programming or EmulationStation's source.

        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.