Author Topic: bartop setup MAME not exiting  (Read 5773 times)

ubber

  • Newbie
  • *
  • Posts: 4
    • View Profile
bartop setup MAME not exiting
« on: June 24, 2017, 11:54:53 AM »
iv got a bartop setup and when i setup mame exit hotkey to a arcade button it returns to the displays menu but keeps the last mame game running in the background so when i launch another game its running both at same time... it only exits correctly if i use the esc button on keyboard but the key board will not be accessible all the time... im using floobs  v05 all updated with pi3 and Xin Mo Controllers (arcade buttons) i ahve serched everywhere and cannot find a fix for this

ubber

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: bartop setup MAME not exiting
« Reply #1 on: July 03, 2017, 02:43:40 PM »
any suggestions

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: bartop setup MAME not exiting
« Reply #2 on: July 03, 2017, 06:16:49 PM »
Open mame and try changing the exit key to whichever button is on your controller?

ubber

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: bartop setup MAME not exiting
« Reply #3 on: July 03, 2017, 07:42:15 PM »
ok here is an example

im running lr 2003 mame
i launch pacman and when im done i hit joybutton 11 what is set as exit hotkey in the emulator under arcade section and the screen goes back to the game select menu so then i select the game frogger and it launches pacman which runs for about 5 seconds then frogger comes up but when i hit the button for coin and then play u hear both games running so the pacman game is still running in the background and the emulator is not exiting like it should... the only way i can get this to work is to unplug the machine after im done playing each mame game. iv tried changing the full screen and fit screen settings but no luck. im not sure what to do iv searched and saw many post with same issue but no solutions.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: bartop setup MAME not exiting
« Reply #4 on: July 06, 2017, 02:41:19 AM »
Don't use the AM exit hotkey. Change your RetroArch autoconfig file to do this.

/opt/retropie/configs/all/retroarch/autoconfig/<controller name>.cfg

ubber

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: bartop setup MAME not exiting
« Reply #5 on: July 07, 2017, 03:28:46 PM »
that didnt work.. when i did the RetroArch autoconfig and removed the AM exit hotkey i cant exit the game at all unless i use the esc on keyboard

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: bartop setup MAME not exiting
« Reply #6 on: July 07, 2017, 10:05:27 PM »
that didnt work.. when i did the RetroArch autoconfig and removed the AM exit hotkey i cant exit the game at all unless i use the esc on keyboard

It works. I'm using it on a cab with a xin-mo. By default there will be a hotkey and exit key in the autoconfig. Both buttons must be pressed at the same time to exit. You need to manually change the file.


Here's my file. You'll notice that I remarked out the "l2 & r2" button assignment so I can use those for the hotkey and exit.

Xin-Mo Xin-Mo Dual Arcade.cfg
Code: [Select]
input_device = "Xin-Mo Xin-Mo Dual Arcade"
input_driver = "udev"
input_a_btn = "1"
input_b_btn = "0"
input_x_btn = "4"
input_y_btn = "3"
input_start_btn = "7"
input_select_btn = "6"
input_l_btn = "2"
input_r_btn = "5"
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"
#input_l2_btn = "8"
#input_r2_btn = "9"

input_enable_hotkey_btn = "9"
input_exit_emulator_btn = "8"
input_rewind_btn = "4"
input_menu_toggle_btn = "1"
input_reset_btn = "0"
input_pause_toggle_btn = "3"
input_load_state_btn = "2"
input_save_state_btn = "5"
input_state_slot_increase_axis = "+0"
input_state_slot_decrease_axis = "-0"
input_volume_up_axis = "-1"
input_volume_down_axis = "+1"