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

    Disable random game selection in EmulationStation?

    Scheduled Pinned Locked Moved Help and Support
    emulationstatiorandom gamedisable
    3 Posts 2 Posters 1.4k 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.
    • cafarellidigitalC
      cafarellidigital
      last edited by

      Is there a way to disable the "random game selection" button in EmulationStation? I keep accidentally hitting it and randomly jumping around my systems.

      Console Stripe Video Splashscreen | Mushberry Splatter Splashscreen

      1 Reply Last reply Reply Quote 0
      • CapemanC
        Capeman
        last edited by Capeman

        This fix is a little hacky but it works.

        Open the file:
        opt/retropie/configs/all/emulationstation/es_input.cfg

        Find the controller you are using in the xml list. Each entry will look like this, identify your controller by the device name:

        <inputConfig type="joystick" deviceName="CONTROLLER NAME" deviceGUID="15000">
        	<input name="a" type="button" id="1" value="1" />
        	<input name="b" type="button" id="0" value="1" />
        	<input name="hotkey" type="button" id="6" value="1" />
        	<input name="pagedown" type="button" id="5" value="1" />
        	<input name="pageup" type="button" id="4" value="1" />
        	<input name="select" type="button" id="6" value="1" />
        	<input name="start" type="button" id="7" value="1" />
        	<input name="x" type="button" id="2" value="1" />
        	<input name="y" type="button" id="3" value="1" />
        	<input name="down" type="axis" id="1" value="1" />
        	<input name="left" type="axis" id="0" value="-1" />
        	<input name="right" type="axis" id="0" value="1" />
        	<input name="up" type="axis" id="1" value="-1" />
        </inputConfig>
        

        Find the input for X and set the button ID value to "99"

        This will make Emulationstation think the X button (top action button, which is the randomize button) is mapped to the 99th button on your controller, which does not exist, effectively making it impossible to push X for random.

        This change will ONLY effect emulationstation. This does not effect the retroarch joypad for gameplay.

        Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

        1 Reply Last reply Reply Quote 1
        • cafarellidigitalC
          cafarellidigital
          last edited by

          Ahh ok. I thought about doing this, but thought there might be a "better" way to do it (like a setting or menu option). Thanks for your help!

          Console Stripe Video Splashscreen | Mushberry Splatter Splashscreen

          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.