Controller setup per Emulator

Home Forums RetroPie Project Everything else related to the RetroPie Project Controller setup per Emulator

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 4 replies, has 3 voices, and was last updated by Profile photo of evilllama evilllama 2 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #87217
    Profile photo of 1nsane
    1nsane
    Participant

    Hello,

    So how do you set your controller for each individual emulator?

    I have used the RetroArch Setup to setup my USB snes controller,

    I have tried all 3 snes emulators, only Pisnes will work with the setup. All buttons work like they supposed to, Select + Start brings me back to ES

    If i use Snes9X and launch a game, most games will then require me to press start, Which i do, but then it exits the emulator.

    The 3rd Emulator (just snes in the rom folder), has the correct layout for buttons, I am able to play games, but the Select + Start = Exit does not work.

    Thanks in advance,

    • This topic was modified 2 years, 2 months ago by Profile photo of 1nsane 1nsane.

    #87239
    Profile photo of Roo
    Roo
    Participant

    #87276
    Profile photo of 1nsane
    1nsane
    Participant

    I have used that Youtube video initially to setup my controller, but it doesnt seem to set the controls for the other emulators.

    #87277
    Profile photo of Roo
    Roo
    Participant

    It’s a playlist of videos. I’m pretty sure Floob covers configuring controllers for all the different emulators in those videos.

    #87330
    Profile photo of evilllama
    evilllama
    Participant

    This is taken from my own PERSONAL installation guide that i have been creating as I build my retro station. Please excuse any spelling mistakes and such, I spun this off while working on the pi, but the steps are exactly the process I used while doing individual emulator mapping.

    ALTERING EMULATOR SPECIFIC CONTROLS

    Assuming you have 4 controllers that are the same… (if not scroll down)

    From terminal, type”

    cd /opt/retropie/emulators/retroarch/configs

    dir (or ls -1)

    Now select a controller to look at for reference for button mapping

    sudo nano “controller cfg file to reference/alter”

    find specific buttons to change and write down the current configuration. For example, I want to change the NES a and b button mapping by swapping the function of each. MadCatzXbox360Controller.cfg states:

    input_a_btn = “0”
    input_b_btn = “1”

    So now I exit without changing anything (ctrl X, n, enter)

    Now type:

    cd /opt/retropie/configs/nes
    sudo nano retroarch.cfg

    Now in nano, scroll to the bottom and type:

    input_player1_a_btn = “1”
    input_player2_a_btn = “1”
    input_player3_a_btn = “1”
    input_player4_a_btn = “1”
    input_player1_b_btn = “0”
    input_player2_b_btn = “0”
    input_player3_b_btn = “0”
    input_player4_b_btn = “0”

    Now press ctrl x to exit, y to save, and enter.

    IF YOU HAVE DIFFERENT CONTROLLERS (not all the same type)

    Enter the emulator you want to alter mapping for. Find the USB that controls the 1st, 2nd, 3rd, and 4th player controllers. Write down the type of controller is for each # player. Exit emulation and emulationstation.

    Now in terminal follow the above instructions but repeat the first part for finding how the controller is configured (cd /opt/retropie/emulators/retroarch/configs and sudo nano config file for the controllers that need to be changed) for the controller type for each player. Write down the controls that you want to change under each controller type/player.

    Continue to the emulator retroach.cfg file (IE: cd /opt/retropie/configs/nes then
    sudo nano retroarch.cfg) and alter the buttons by player# and controller type for remapping (using the configurations from the controller config files). for example, if player 1 is an xbox controller, player one should be reconfigured using mapping for xbox controllers, playstation player # to playstation mapping, etc..

    NOTE: You may want to mark what ports they are plugged into by painting a number on the port and the controller. As long as the controllers are in the SAME ports when you load the pi, they should be correctly mapped each time you start emulation.

Viewing 5 posts - 1 through 5 (of 5 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar