PS3 Controller – Sega Megadrive/Genesis 6 Button Permanant Config Solution

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project PS3 Controller – Sega Megadrive/Genesis 6 Button Permanant Config Solution

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of flickcorp flickcorp 2 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #88715
    Profile photo of flickcorp
    flickcorp
    Participant

    Here’s my solution to making a permanant fix for PlayStation 3 controllers whether wireless or wired. This changes ownership, adds the function to leave a rom by sitting start and select at the same time and switches Sega Genesis, 32x, and cd to a 6 button controller for both players however only changes config on a single controller at the moment until i setup my second. I know the code is very sloppy and probably redundant but it works in putty flawlessly.

    echo Changing Configs Ownership && sudo chmod 777 /opt/retropie/configs -R && echo Adding Emulator Menu && echo 'input_menu_toggle_btn = 9' >> /opt/retropie/configs/all/retroarch.cfg && echo Fixing Sega Genesis && echo 'input_player1_b_btn = "13"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_y_btn = "14"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_select_btn = "0"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_start_btn = "3"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_up_btn = "4"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_down_btn = "6"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_left_btn = "7"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_right_btn = "5"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_a_btn = "10"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_x_btn = "12"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l_btn = "15"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r_btn = "11"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l2_btn = "8"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r2_btn = "9"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l3_btn = "1"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r3_btn = "2"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l_x_plus_axis = "+0"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l_x_minus_axis = "-0"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l_y_plus_axis = "+1"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_l_y_minus_axis = "-1"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r_x_plus_axis = "+2"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r_x_minus_axis = "-2"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r_y_plus_axis = "+3"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo 'input_player1_r_nus_axis = "-3"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo Fixing Sega32x && echo 'input_player1_b_btn = "13"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_y_btn = "14"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_select_btn = "0"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_start_btn = "3"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_up_btn = "4"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_down_btn = "6"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_left_btn = "7"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_right_btn = "5"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_a_btn = "10"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_x_btn = "12"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l_btn = "15"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r_btn = "11"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l2_btn = "8"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r2_btn = "9"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l3_btn = "1"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r3_btn = "2"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l_x_plus_axis = "+0"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l_x_minus_axis = "-0"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l_y_plus_axis = "+1"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_l_y_minus_axis = "-1"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r_x_plus_axis = "+2"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r_x_minus_axis = "-2"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r_y_plus_axis = "+3"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo 'input_player1_r_nus_axis = "-3"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo Fixing Sega CD && cd && echo 'input_player1_b_btn = "13"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_y_btn = "14"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_select_btn = "0"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_start_btn = "3"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_up_btn = "4"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_down_btn = "6"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_left_btn = "7"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_right_btn = "5"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_a_btn = "10"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_x_btn = "12"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l_btn = "15"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r_btn = "11"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l2_btn = "8"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r2_btn = "9"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l3_btn = "1"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r3_btn = "2"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l_x_plus_axis = "+0"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l_x_minus_axis = "-0"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l_y_plus_axis = "+1"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_l_y_minus_axis = "-1"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r_x_plus_axis = "+2"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r_x_minus_axis = "-2"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r_y_plus_axis = "+3"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo 'input_player1_r_nus_axis = "-3"' >> /opt/retropie/configs/segacd/retroarch.cfg && echo Fixing Sega Controllers && cd && echo 'pce_nospritelimit = "disabled"' > /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'pce_keepaspect = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'pce_cddavolume = "100"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'pce_adpcmvolume = "100"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'pce_cdpsgvolume = "100"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'pce_cdspeed = "1"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'nes_palette = "asqrealc"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'system_hw = "auto"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'region_detect = "auto"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'force_dtack = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'addr_error = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'lock_on = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'padtype = "auto"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'multitap = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'portb = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'ym2413 = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'dac_bits = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'blargg_ntsc_filter = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'overscan = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'gg_extra = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'render = "single field"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'dino_timer = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'gb_colorization = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'picodrive_input1 = "6 button pad"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'picodrive_input2 = "6 button pad"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'picodrive_sprlim = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'picodrive_ramcart = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'picodrive_drc = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'gamepad = "gamepad"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'pce_fast_cdimagecache = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'gb_gbamode = "disabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'gbc_color_correction = "enabled"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'mupen64-gfxplugin = "rice"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'mupen64-gfxplugin-accuracy = "low"' >> /opt/retropie/configs/all/retroarch-core-options.cfg && echo 'mupen64-screensize = "640x480"' >> /opt/retropie/configs/all/retroarch-core-options.cfg

    Raspberry Pi B 512mb
    Generic 64gb SD
    Overclock Turbo

    Raspberry Pi B+ 512mb
    Generic 128gb MicroSD
    Overclock Turbo

    Raspberry Pi2 B 1gb
    Samsung Evo 16gb MicroSD
    Overclock Pi2

Viewing 1 post (of 1 total)

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

Skip to toolbar