Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME Randomly Exits While Playing Game  (Read 1380 times)

0 Members and 1 Guest are viewing this topic.

clhug

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:April 04, 2024, 10:49:58 pm
MAME Randomly Exits While Playing Game
« on: July 09, 2016, 12:53:52 pm »
I think I've seen info about this but it's been a long time and I can't find anything about it by searching either Google, or these forums. I think I just can't think of correct search terms for it.

I've got a 4 player MAME cabinet running on Windows 7, and I use an I-PAC 4 as the interface (though I don't think I-PAC itself is anything to do with the issue).  I built it about 7 or 8 years ago.

When we are playing multi-player games, especially with a lot of frantic action, sometimes the game randomly exits back to Windows.  I can still see that MAME is running in the background, it's just lost focus.

If I recall, the cause is because in the frantic action, we end up hitting some key combination (since the I-PAC just mimics a keyboard) that Windows recognizes that performs some action in Windows that toggles us out of the game.

But I've never been able to identify the specific combination of joystick position and/or button presses that causes it.  When it happens, the game action is too frantic to identify exactly what moves/presses cause it.

Is this already documented somewhere that someone can point me to that perhaps tells me what specific keys I should remap for which joystick positions or buttons?  Or I do recall the cause incorrectly, and it's something else that someone can point me toward?

Thank you.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9664
  • Last login:Today at 02:51:20 am
  • Designated spam hunter
Re: MAME Randomly Exits While Playing Game
« Reply #1 on: July 09, 2016, 02:24:44 pm »
BadMouth has several good suggestions for dealing with the problematic "modifier" CTRL, ALT, Shift, and Space keys.  (check that the suggested keys aren't already used in your 4-player setup)
The first thing I do when setting up a new system is change the first four keys (CTRL, SHIFT, ALT, SPACE) then globally remap them in MAME.
IIRC, I change them to V,B,N,M (it's been a few years)
On the encoder, I replace the first four default MAME keys (Left Ctrl, Left Alt, Space, Shift) with z,x,c,v.
Do this, then remap those four keys globally in MAME before setting up any individual games.
Also, I'm guessing that you've already reprogrammed the overlapping P2/P3 keys, right?
(IPac-4 Player 2 Buttons 5-8 and Player 3 directional default keys both use I, K, J, and L)


Scott

clhug

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:April 04, 2024, 10:49:58 pm
Re: MAME Randomly Exits While Playing Game
« Reply #2 on: July 10, 2016, 12:34:36 pm »
BadMouth has several good suggestions for dealing with the problematic "modifier" CTRL, ALT, Shift, and Space keys.  (check that the suggested keys aren't already used in your 4-player setup)
The first thing I do when setting up a new system is change the first four keys (CTRL, SHIFT, ALT, SPACE) then globally remap them in MAME.
IIRC, I change them to V,B,N,M (it's been a few years)
On the encoder, I replace the first four default MAME keys (Left Ctrl, Left Alt, Space, Shift) with z,x,c,v.
Do this, then remap those four keys globally in MAME before setting up any individual games.

Thank you very much!  I see it now.  It also appears that a couple of my player 3 buttons are mapped to Right Ctrl and Right Shift too, so I will remap those as well.

Also, I'm guessing that you've already reprogrammed the overlapping P2/P3 keys, right?
(IPac-4 Player 2 Buttons 5-8 and Player 3 directional default keys both use I, K, J, and L)
HA!  No, actually I hadn't noticed that!  Oddly, I don't seem to ever have any issues with player 2 and player 3 interfering with each other in  3 or 4 player games, but maybe.  I'll have to do some explicit testing on it, and I'll be sure to remap one of them in any case.


So, new but related question.  With my I-PAC 4 and using the WinIPAC software, if I've lost my config file for WinIPAC, is there a way to redownload the existing config stored on the I-PAC board back into WinIPAC?  Or am I just going to have to start with a new default WinIPAC config and start from scratch?  The down side is that I do know I customized some stuff from the default, but cannot remember what.  It's been several years since I set it up originally.

Thanks again!