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

  • @32assassin Great, is it possible to put control scheme changes into this config file as well?


  • Open Game > Retroacrch > Main menu > Quick Menu > Save game overriddes


  • @hex Couldnt get that to work @32assassin 's method works and it follows this official guide here https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration


  • I edited the setting name. Did you check the new one or the old one?


  • @hex didn't try the new one will try again tomorrow. Is it possible to set a per game controller config this way as well?


  • I never had the need to remap any of my controller inputs.

    the per rom config files bypasses the default retroarch.cfg files
    the retroarch.cfg files have a call for the default controls

    call for FBA key mapping
    input_remapping_directory = "/opt/retropie/configs/fba/"

    I"m sure you could add custom key mapping Cfg file and the call to it in your rom specific Cfg file
    such as
    input_remapping_directory = "/opt/retropie/configs/fba/custom.cfg"

    or you could just add the custom settings to your rom specific cfg file
    https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#hardcoded-configurations

    scroll down to
    Example Per-System Control Override retroarch.cfg
    you will need to update the path for each system
    /opt/retropie/configs/megadrive/

    Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

    input_remapping_directory = /opt/retropie/configs/megadrive/

    input_player1_joypad_index = 0
    input_player1_b_btn = 2
    input_player1_a_btn = 1
    input_player1_y_btn = 3
    input_player1_x_btn = 0
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player2_joypad_index = 1
    input_player2_b_btn = 2
    input_player2_a_btn = 1
    input_player2_y_btn = 3
    input_player2_x_btn = 0
    input_player2_l_btn = 4
    input_player2_r_btn = 5
    input_player2_start_btn = 9
    input_player2_select_btn = 8

    Axis for RetroArch D-Pad.

    Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.

    input_player1_up_axis = -1
    input_player1_down_axis = +1
    input_player1_left_axis = -0
    input_player1_right_axis = +0
    input_player2_up_axis = -1
    input_player2_down_axis = +1
    input_player2_left_axis = -0
    input_player2_right_axis = +0

    #Hotkeys- Hotkeys enable you to press a combination of buttons to do such things as exit emulators, save states,

    and load states, as well as any other functionality in an emulator. (In the example below 8 is the select key

    and 9 is the start key so when I hold down select and press start it will exit the emulator.)

    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9
    input_save_state_btn = 5
    input_load_state_btn = 4
    input_menu_toggle_btn = 0
    input_state_slot_increase_axis = +0
    input_state_slot_decrease_axis = -0


    of course that you can avoid all this by simply loading a rom in to FBA/MAME
    hit the TAB key
    and modify your keys (and Video) inside the emulator config menu,
    their is no need for you to make rom specific config files or to make any changes in the Retorarch menu

    I like using rom specific cfg files because I can make them in my PC and simply drag and drop them into my PI
    their is no need to connect a keyboard or for me to navigate through the retroarch cfg menus.


  • @hex seemed to work but its a little wonky and messed with my other config I put in the rom folder .. I think I figured it out though thanks again


  • Regular MAME can auto-rotate the screen; does RetroArch have a similar feature? If not, you could consider switching to regular MAME in stead.


  • @32assassin said in Possible to rotate screen per rom file?:

    video_rotation

    I managed to rotate the screen and get aspect ratio correct. Now I am only wondering, where should I put the rom specific file? Or where in the menu can I find the save rom specific configuration (for lr-fbneo)?

  • Global Moderator

    @langest said in Possible to rotate screen per rom file?:

    Now I am only wondering, where should I put the rom specific file?

    As the posts above said - and it's also mentioned in the Docs - , next to the ROM file.

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.