LR-FBA problems with custom control's mapping
-
Here's my retroarch.cfg config file for LR-FBA-NEXT emulator
Code:
Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
input_remapping_directory = /opt/retropie/configs/fba/
input_player1_joypad_index = 0
input_player1_b_btn = 2
input_player1_a_btn = 5
input_player1_y_btn = 1
input_player1_x_btn = 0
input_player1_l_btn = 3
input_player1_r_btn = 4
input_player1_start_btn = 9
input_player1_select_btn = 8
input_player2_joypad_index = 1
input_player2_b_btn = 2
input_player2_a_btn = 5
input_player2_y_btn = 1
input_player2_x_btn = 0
input_player2_l_btn = 3
input_player2_r_btn = 4
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#include "/opt/retropie/configs/all/retroarch.cfg"
After I configured it, I run a rom and the controls works as mapped above but when I close the game and I run it again, control's configuration get back to the default mapping, and the retroarch.cfg file get modified.
I'm using Retropie 3.6, Does anyone have some clue about this strange behaviour?
thank u in advance -
@ciscohellspawn
Use markdown to format your posts - see http://commonmark.org/help/Although I think the use of RGUI on RetroPie is discouraged for the main RetroArch configs, it serves very well to solve your problem.
- Start a lr-fba-next game.
- invoke RGUI (Select+X).
- go to
Quick Menu
->Controls
. - configure the buttons as you like.
- select
Save Core Remap File
- Done!
I hope it helps.
-
I've edited the wiki with these steps:
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping
-
lr-fba-next actually has a unique and more useful way of rebinding buttons per game in the core options. see https://github.com/RetroPie/RetroPie-Setup/wiki/lr-fba-next#button-rebinding
however, if you want to rebind for ALL games, then the remap approach is better.
-
thank u all! Awesome!
-
In the configs originally there is stuff hashtagged out at the top of the files originally. I thought i would remove that stuff and only have the stuff i needed. My files kept getting changed. I ended up redoing my cfg files keeping the hashtagged stuff in the top of the file and strangely enough retroarch stopped overwriting the files
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.