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?



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



  • 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.



  • 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!



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.