Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Disable Launch Options screen
Tagged: disable, launch options, screen
- This topic has 9 replies, 7 voices, and was last updated 8 years, 11 months ago by wilstorm.
-
AuthorPosts
-
08/15/2015 at 06:19 #104023thejboneParticipant
When I launch any games on the emulators it will show a thing about launch options, I never use these options and it seems when people use my RetroPie setup they click it and causes issues and turns them away from the game system. How can I disable the option to go into Launch Options?
Exact quote: “Press a key (or joystick button 0) to configure launch options for emulator/port (mame4all). Errors will be logged to /tmp/runcommand.log
Pac-Man (Midway) (pacmanm) …” for when I run the mame pacmanm.08/15/2015 at 07:07 #104026herbfargusMemberYou’ll have to recode es_systems.cfg manually to call each emulator from retroarch and it will also keep you from being able to switch emulators easily. It would be something similar to this:
retroarch -L /opt/retropie/libretrocores/lr-pocketsnes/libretro.so
Might be a bit different with some more direct paths and a few append configs here and there..
The menu you speak of is called the runcommand menu. It might also be possible to disable it from the retropie setup script somewhere but I haven’t looked into it too much.
10/30/2015 at 18:40 #108823LodanZarkParticipantgo to /opt/retropie/supplementary/runcommand.sh
find this code:
# check for x/m key pressed to choose a screenmode (x included as it is useful on the picade) clear echo "Press a key (or joypad button 0) to configure launch options for emulator/port ($emulator). Errors will be logged to /tmp/runcommand.log" IFS= read -s -t 1 -N 1 key </dev/tty if [[ -n "$key" ]]; then get_all_modes main_menu dont_launch=$? clear fi
reduce the time to zero by switching this line
IFS= read -s -t 1 -N 1 key </dev/tty
toIFS= read -s -t 0 -N 1 key </dev/tty
11/11/2015 at 15:48 #109657supernovadkMemberHello !
Thx for the help – But for me it’s impossible to write over this file…! Permission is denied…
Could you please explain me how to do it ?Thx a lot ! I’m totally upset with this menu !
11/11/2015 at 18:34 #109665herbfargusMembersudo nano /opt/retropie/supplementary/runcommand
Ctrl+x
Y
Enter.
01/07/2016 at 15:31 #113353footwoParticipant[quote=108823]go to /opt/retropie/supplementary/runcommand.sh
find this code:
# check for x/m key pressed to choose a screenmode (x included as it is useful on the picade) clear echo "Press a key (or joypad button 0) to configure launch options for emulator/port ($emulator). Errors will be logged to /tmp/runcommand.log" IFS= read -s -t 1 -N 1 key </dev/tty if [[ -n "$key" ]]; then get_all_modes main_menu dont_launch=$? clear fi
reduce the time to zero by switching this line
IFS= read -s -t 1 -N 1 key </dev/tty
toIFS= read -s -t 0 -N 1 key </dev/tty
[/quote]
Note that this does nothing.
I’m also trying to disable the launch options menu from being accessible, but only via joypad presses. Basically I only want access to the launch options menu as long as a keyboard is connected (on older version of retropie you could only use a keyboard at this point to enter the menu).
I’m convinced the solution is in the runcommand script I just don’t know what it is. I tried changing the -t time switch to 0 but I still see the message each time.
01/07/2016 at 16:18 #113355labelwhoreParticipantHave you tried just commenting this section out? it seems like it may disable that message completely, but it’s a start.
# check for x/m key pressed to choose a screenmode (x included as it is useful on the picade) clear echo "Press a key (or joypad button 0) to configure launch options for emulator/port ($emulator). Errors will be logged to /tmp/runcommand.log" IFS= read -s -t 1 -N 1 key </dev/tty if [[ -n "$key" ]]; then get_all_modes main_menu dont_launch=$? clear fi
01/10/2016 at 16:04 #113588footwoParticipantYes that completely disables the feature. I’m not sure if that has any other side effects, I would think not since the runcommand.sh script is quite well commented and that all seems to be a self contained section for allowing the user to enter the launch options.
Ideally I’d rather it just didn’t respond to joypad presses. I want a closed system when a joypad is used, so debug features like the launch options requires a keyboard.
I’m going to try just commenting out what LOOKS like the hook for the joypad button press but im not sure:
if [[ -n $__joy2key_pid ]]; then kill -INT $__joy2key_pid fi
01/10/2016 at 16:10 #113589footwoParticipantnope, that doesn’t work.
01/26/2016 at 20:17 #115190wilstormParticipantI am having different issue related to the same option:
“Press a key (or joypad button 0) to configure launch options for emulator/port ($emulator).”
What I am using is an XBOX 360 wireless dongle as per these instructions:
https://github.com/RetroPie/RetroPie-Setup/wiki/setting-up-the-xbox360-controller
It works perfectly except for one small issue. Usually buttons A, B, C & D map to 0, 1, 2 & 3 on the XBOX 360 controller. When using wireless controller as per the instructions buttons A, B, C & D map to values 4,5,6 & 7.
I tried pressing all buttons on the controller but none of them will let me select/change the emulator. The keyboard works fine but I’m trying to access this feature via the controller so I don’t need a keyboard plugged in. Is there a way to change the button from 0 to 4 so it works with the wireless setup to change the emulator?
I see the code area you pointed out in the /opt/retropie/supplementry/runcommand/runcommand.sh file but I don’t quite understand what to change.
check for x/m key pressed to choose a screenmode (x included as it is useful on the picade)
clear
echo “Press a key (or joypad button 0) to configure launch options for emulator/port ($emulator). Errors will be logged to /tmp/runcommand.log”
IFS= read -s -t 1 -N 1 key </dev/tty
if [[ -n “$key” ]]; then
get_all_modes
main_menu
dont_launch=$?
clear
fiif [[ -n $__joy2key_pid ]]; then
kill -INT $__joy2key_pid
fiif [[ $dont_launch -eq 1 ]]; then
exit 0
fiswitch_mode “$mode_new_id”
switched=$?[[ -n “$fb_new” ]] && switch_fb_res “$fb_new”
config_dispmanx “$save_emu”
Any help would be greatly appreciated.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.