Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Hotkey Select + Start opens UNIBIOS instead of exit
- This topic has 33 replies, 2 voices, and was last updated 9 years, 8 months ago by
charco.
-
AuthorPosts
-
06/09/2015 at 15:52 #99357
charco
ParticipantHi, I am using iBuffalo USB SNES controllers on my R Pi2 and have Select as my hotkey and Start as exit key in my RetroArch controls.
When I try to exit the FBA Libretro emulator whilst playing a Neo Geo game, these commands pull up the UNIBIOS menu instead and I have to use the Esc key on my keyboard to exit.
I would like to just use the gamepads for all navigation, is there a way to change this? Using Select + Start works perfectly in all the other Libretro emulators, so I would like to keep that and assign UNIBIOS to some other combination.
06/09/2015 at 19:58 #99364Floob
Memberwell – some games in fba-libretro really dont like select being the hotkey, some games wont accept select as the coin button. So its common to set for fba-libretro, the hotkey to be something else like left trigger for example (you just override it in the fba retroarch.cfg).
This way it seems to improve compatibility.Details here:
Out of interest, what does your neogeo.zip for fba look like?
Mine is here (which is based on the dat file):
http://s15.postimg.org/z9s9oyqff/neo.png06/09/2015 at 21:28 #99368charco
ParticipantMy neogeo.zip is 1,404kb and you can see the contents of the directory in the image attached.
06/09/2015 at 22:21 #99377Floob
MemberThanks for that.
06/12/2015 at 19:11 #99695charco
ParticipantI can’t seem to find where I need to change the hotkey button in my config. I am using an iBuffalo USB SNES pad.
06/12/2015 at 20:32 #99704Floob
MemberHotkey overview here:
It will be in here:
/opt/retropie/emulators/retroarch/configs/06/17/2015 at 00:27 #99969charco
ParticipantI can’t seem to sort this, perhaps it’s something that can be fixed upstream for the next release as it’s too complicated for me.
06/17/2015 at 20:46 #100009Floob
MemberTry putting this line in your file:
/opt/retropie/configs/fba/retroarch.cfginput_enable_hotkey_btn = “4”
It should set the left shoulder button as the hotkey for fba-libretro only.
06/17/2015 at 23:48 #100034charco
ParticipantI have edited that and ensure that input_exit_emulator_btn = “7” for my Start button. Still doesn’t do anything in lr-fba unfortunately.
06/18/2015 at 21:46 #100089Floob
MemberIf you send me your auto controller file, system retroarch and main retroarch file I could check out where the issue is. Or just paste them up on pastebin.
06/19/2015 at 21:26 #100146charco
ParticipantThanks, here are my main RetroArch and system RetroArch config for FBA. Where can I find the auto controller config? I have the same iBuffalo SNES pad as you have I think going by your videos (which are great by the way).
06/20/2015 at 01:03 #100193Floob
MemberIn your main retroarch.cfg
Remove these lines
input_enable_hotkey_btn = 6
input_exit_emulator_btn = 7Just to be tidy, comment this out:
input_menu_toggle = f1
with
# input_menu_toggle = f1Replace your entire fba retroarch.cfg file with
#include "/opt/retropie/configs/all/retroarch.cfg" # All settings made here will override the global settings for the current emulator core input_remapping_directory = /opt/retropie/configs/fba/ input_enable_hotkey_btn = "4"
This will make your left shoulder button the hotkey enable button.
So when you hold that and press Start it should exit the emulator.You also had these settings which you may or may not want to add
custom_viewport_width = “823”
custom_viewport_height = “480”
custom_viewport_x = “15”
custom_viewport_y = “0”
video_refresh_rate = “50.000000”
video_fullscreen_x = “640”
video_fullscreen_y = “480”I’d suggest leaving them out.
06/20/2015 at 01:55 #100197charco
ParticipantWill removing the hotkey and exit buttons not cause an issue with all my other RetroArch emulators though?
06/20/2015 at 02:20 #100199Floob
MemberThey should all be set in your auto controller.
What do you get if you type this
grep -rnw '/opt/retropie/emulators/retroarch/configs/' -e "USB,2-axis 8-button gamepad"
That should show you where your auto controller is (as you have an iBuffalo)
Although you may get multiple results.This is an older video, but it shows how the auto files work
06/20/2015 at 02:24 #100201charco
ParticipantSweet, thank you. I’ll try this tomorrow, might finally be able to unplug the keyboard :)
06/20/2015 at 23:47 #100303charco
ParticipantDid that, no change. I really have no idea. Keyboard must be plugged in at all times or the only way to exit Neo Geo is to pull out the power chord.
06/21/2015 at 00:23 #100306Floob
MemberWhen you say Neo Geo – you mean libretro-fba as opposed to pifba?
What do you get when you type:
grep -rnw ‘/opt/retropie/emulators/retroarch/configs/’ -e “USB,2-axis 8-button gamepad”06/21/2015 at 22:05 #100388charco
ParticipantYes, I mean lr-fba Neo Geo from the Neo Geo menu as opposed to FBA and not with PiFBA.
I typed in the above command and it lists 3 config files as follows:
/opt/retropie/emulators/retroarch/configs/USB,2-axis8-buttongamepad.cfg:1:input_device = "USB,2-axis 8-button gamepad "
/opt/retropie/emulators/retroarch/configs/iBuffalo_ClassicUsb_Gamepad.cfg:1:input_device = "USB,2-axis 8-button gamepad"
/opt/retropie/emulators/retroarch/configs/USB,2-axis_8-button_gamepad.cfg:1:input_device = "USB,2-axis 8-button gamepad "
06/21/2015 at 22:20 #100394Floob
MemberCould you run this:
ls -lahrt /opt/retropie/emulators/retroarch/configs/*USB*It should return 2 files
remove the one that is oldest (datestamp)
You can use the rm command for that.06/21/2015 at 23:47 #100398charco
ParticipantI deleted the older config file but the issue persists.
06/22/2015 at 20:41 #100450Floob
MemberCan you run this once more?
grep -rnw ‘/opt/retropie/emulators/retroarch/configs/’ -e “USB,2-axis 8-button gamepad”
And I’m assumign your fba retroarch.cfg file is just
#include "/opt/retropie/configs/all/retroarch.cfg" # All settings made here will override the global settings for the current emulator core input_remapping_directory = /opt/retropie/configs/fba/ input_enable_hotkey_btn = "4"
06/22/2015 at 22:34 #100463charco
ParticipantIt still retrieves the first 2 gamepad config files posted above.
I can confirm that my fba system retroarch config is exactly as you have posted above.
06/22/2015 at 23:01 #100465Floob
MemberCan you repost your /opt/retropie/configs/all/retroarch.cfg for me?
06/22/2015 at 23:10 #100467charco
ParticipantHere it is.
06/22/2015 at 23:32 #100471Floob
MemberTry changing your
input_enable_hotkey = nul
to
input_enable_hotkey = altAnd could you post your controller file?
/opt/retropie/emulators/retroarch/configs/USB,2-axis8-buttongamepad.cfg06/22/2015 at 23:36 #100473charco
ParticipantI’ll try changing that to “alt”
Here is my USB gamepad config. This has never been altered.
06/23/2015 at 20:30 #100534Floob
MemberHave you had chance to try that alt change yet?
Can you use Select/Start in other emulators to return to ES ok?
And in FBA – the yellow text appears at the bottom when you start – then if you hold left trigger and try the hotkeys, does anything happen?06/23/2015 at 21:57 #100541charco
ParticipantTried the alt thing, no change. Select + Start works perfectly in the other RetroArch emulators to exit. Holding L (button 4) and pressing start does nothing in lr-fba still. I can only exit by pressing the Esc key on my connected keyboard, if I unplug the keyboard, there is no way to exit and the PI 2 must be powered off to exit.
06/23/2015 at 22:29 #100544Floob
MemberThats so odd. Is this from a RetroPie image? or built from source?
On my RetroPie 3 beta 2, my files are as above, so I’m not sure why it isnt playing ball for you.
If you change this:
#include “/opt/retropie/configs/all/retroarch.cfg”
to this
# include “/opt/retropie/configs/all/retroarch.cfg”the controller shouldnt be detected at all – so you could try that to confirm the file is being read. (At the moment I’m presuming you get some yellow text at the bottom of the screen indicating it found the controller.)
06/23/2015 at 22:35 #100545charco
ParticipantI just checked before you posted and I am not getting the yellow text on booting up a game as I do on all the other RA emulators, even though the controls work in game and in the RGUI input settings it has the USB,2-axis8-buttongamepad listed as the device type.
Yes, this is a RetroPie 3.0 beta 2 image downloaded from this site.
EDIT: Changed fba RetroArch config text to: # include “/opt/retropie/configs/all/retroarch.cfg” and unfortunately that did not do anything either.
So, we can see that as the yellow text is not appearing on start up it is not finding the gamepad config file that the other RetroArch emulators use. Is it using some other file?
Have we exhausted all possibilities at this stage and should an issue be opened on github for RetroPie Setup or is this an upstream issue?
I wonder how yours is finding the correct gamepad config. These roms are all running on lr-fba using the FB Alpha v0.2.97.30 romset
06/24/2015 at 21:57 #100645Floob
MemberI would have said you werent using fba-libretro but you say you can get into the RGUI.
Can you post your emulators file that is in the fba config directory?
06/24/2015 at 22:05 #100647charco
ParticipantSure here’s what I have:
`pifba=”/opt/retropie/emulators/pifba/fba2x %ROM%”
default=”lr-fba”
lr-fba=”/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fba/fb_alpha_libretro.so –config /opt/retropie/configs/fba/retroarch.cfg %ROM%”06/24/2015 at 22:44 #100651Floob
MemberThats different to mine. Try this
pifba="/opt/retropie/emulators/pifba/fba2x %ROM%" default="lr-fba" lr-fba="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fba/fb_alpha_libretro.so --config /opt/retropie/configs/fba/retroarch.cfg %ROM%"
If you have a spare SD card you could also try writing the beta 4 image to it and just try our libretro-fba and see if it works for you.
06/24/2015 at 23:27 #100656charco
ParticipantI’ll try that config. I have another SD card so I’ll write the Beta 4 image to it and see what happens. Thanks for all your help.
-
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.