Hopelessly stuck – Controller on All-Stars

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project Hopelessly stuck – Controller on All-Stars

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of wafflers wafflers 2 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #81667
    Profile photo of wafflers
    wafflers
    Participant

    Hello,

    So I’ve got got my Raspberry pi a few days ago. Never used linux before. Complete noob.

    However! I have gotten retropie loaded, have it working quite well with my gamepad (using these).

    I currently only have one gamepad.

    Ok. So I know Super Mario All-Stars is a bit broken. It seems to switch the controller to second player whenever the game is started.

    In order to fix this, I’ve heard that you can modify the controller so player 2 doesn’t exist but that this can mess up other games..

    So I made just this one rom run off of “pisnes” instead of just the snes emulator. I then created a secondary config file for pisnes for the controller input. I’ve tested this config file and know that it is running the correct one.

    However, I am still unable to get the gamepad to work properly with this rom.

    Here are the different techniques I’ve tried:

    First try: What this “should” do (according to what my mind is telling me) is make both players run off of index 0.. right? Or am I wrong?

    input_player1_joypad_index = "0"
    input_player1_b_btn = "1"
    input_player1_y_btn = "3"
    input_player1_select_btn = "6"
    input_player1_start_btn = "7"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_a_btn = "0"
    input_player1_x_btn = "2"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    
    input_player2_joypad_index = "0"
    input_player2_b_btn = "nul"
    input_player2_y_btn = "nul"
    input_player2_select_btn = "nul"
    input_player2_start_btn = "nul"
    input_player2_up_axis = "nul"
    input_player2_down_axis = "nul"
    input_player2_left_axis = "nul"
    input_player2_right_axis = "nul"
    input_player2_a_btn = "nul"
    input_player2_x_btn = "nul"
    input_player2_l_btn = "nul"
    input_player2_r_btn = "nul"
    input_enable_hotkey_btn = "nul"
    input_exit_emulator_btn = "nul"
    
    input_player1_a = "nul"
    input_player1_b = "nul"
    input_player1_y = "nul"
    input_player1_x = "nul"
    input_player1_start = "nul"
    input_player1_select = "nul"
    input_player1_l = "nul"
    input_player1_r = "nul"
    input_player1_left = "nul"
    input_player1_right = "nul"
    input_player1_up = "nul"
    input_player1_down = "nul"
    input_exit_emulator = "nul"
    
    input_player2_a = "nul"
    input_player2_b = "nul"
    input_player2_y = "nul"
    input_player2_x = "nul"
    input_player2_start = "nul"
    input_player2_select = "nul"
    input_player2_l = "nul"
    input_player2_r = "nul"
    input_player2_left = "nul"
    input_player2_right = "nul"
    input_player2_up = "nul"
    input_player2_down = "nul"
    input_exit_emulator = "nul"
    
    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    
    input_save_state_btn = "5"
    input_load_state_btn = "4"

    Second try: (credit to KitchUK for this one)

    input_player1_joypad_index = "0"
    input_player1_b_btn = "2"
    input_player1_y_btn = "3"
    input_player1_select_btn = "8"
    input_player1_start_btn = "9"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_a_btn = "1"
    input_player1_x_btn = "0"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    
    input_player2_joypad_index = "nul"
    input_player2_b_btn = "nul"
    input_player2_y_btn = "nul"
    input_player2_select_btn = "nul"
    input_player2_start_btn = "nul"
    input_player2_up_axis = "nul"
    input_player2_down_axis = "nul"
    input_player2_left_axis = "nul"
    input_player2_right_axis = "nul"
    input_player2_a_btn = "nul"
    input_player2_x_btn = "nul"
    input_player2_l_btn = "nul"
    input_player2_r_btn = "nul"
    input_enable_hotkey_btn = "nul"
    input_exit_emulator_btn = "nul"
    
    input_player1_a = "nul"
    input_player1_b = "nul"
    input_player1_y = "nul"
    input_player1_x = "nul"
    input_player1_start = "nul"
    input_player1_select = "nul"
    input_player1_l = "nul"
    input_player1_r = "nul"
    input_player1_left = "nul"
    input_player1_right = "nul"
    input_player1_up = "nul"
    input_player1_down = "nul"
    input_exit_emulator = "nul"
    
    input_player2_a = "nul"
    input_player2_b = "nul"
    input_player2_y = "nul"
    input_player2_x = "nul"
    input_player2_start = "nul"
    input_player2_select = "nul"
    input_player2_l = "nul"
    input_player2_r = "nul"
    input_player2_left = "nul"
    input_player2_right = "nul"
    input_player2_up = "nul"
    input_player2_down = "nul"
    input_exit_emulator = "nul"

    Neither of these worked.. Looking at them it looks like they should work.. I’m having trouble figuring out why it is still switching over to second player, when second player either doesn’t exist or is the same index as player 1.

    Anyone have any suggestions?

    #81669
    Profile photo of wafflers
    wafflers
    Participant

    SOLVED IT! I feel so dumb right now.

    Setting both players to the same index does work. I just had all the buttons set to “nul” accidentally 🙁

    For anyone else looking to fix this problem too here is what I’m using (only works with 1 player)

    input_player1_joypad_index = "0"
    input_player1_b_btn = "1"
    input_player1_y_btn = "3"
    input_player1_select_btn = "6"
    input_player1_start_btn = "7"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_a_btn = "0"
    input_player1_x_btn = "2"
    input_player1_l_btn = "4"
    input_player1_r_btn = "5"
    
    input_player2_joypad_index = "0"
    input_player2_b_btn = "1"
    input_player2_y_btn = "3"
    input_player2_select_btn = "6"
    input_player2_start_btn = "7"
    input_player2_up_axis = "-1"
    input_player2_down_axis = "+1"
    input_player2_left_axis = "-0"
    input_player2_right_axis = "+0"
    input_player2_a_btn = "0"
    input_player2_x_btn = "2"
    input_player2_l_btn = "4"
    input_player2_r_btn = "5"
    
    input_player1_a = "nul"
    input_player1_b = "nul"
    input_player1_y = "nul"
    input_player1_x = "nul"
    input_player1_start = "nul"
    input_player1_select = "nul"
    input_player1_l = "nul"
    input_player1_r = "nul"
    input_player1_left = "nul"
    input_player1_right = "nul"
    input_player1_up = "nul"
    input_player1_down = "nul"
    input_exit_emulator = "nul"
    
    input_player2_a = "nul"
    input_player2_b = "nul"
    input_player2_y = "nul"
    input_player2_x = "nul"
    input_player2_start = "nul"
    input_player2_select = "nul"
    input_player2_l = "nul"
    input_player2_r = "nul"
    input_player2_left = "nul"
    input_player2_right = "nul"
    input_player2_up = "nul"
    input_player2_down = "nul"
    input_exit_emulator = "nul"
    
    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    
    input_save_state_btn = "5"
    input_load_state_btn = "4"
Viewing 2 posts - 1 through 2 (of 2 total)

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

Skip to toolbar