The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: Sonny_Jim on March 03, 2012, 11:33:54 pm

Title: F2 is always service on Galaga?
Post by: Sonny_Jim on March 03, 2012, 11:33:54 pm
I've noticed a strange bug/issue with galaga (or any other games with service mode on the dip switch).

I'd like to use the F2 as pause, as I've already got a switch wired up to F2 I'm too lazy to drag the cab out and put another wire in.  I've disabled every control I can see for 'Service' and set pause to be F2.

Most games this works fine, but if I press F2 in a game that has a DIP switch that says "Service", groovymame oh-so-helpfully pauses the game AND toggles the DIP switch, so it goes into service mode.

I am using the Groovyarcade distro and for the life of me I cannot see where the key configs for groovymame are stored, can someone enlighten me?  I'm guessing the keycode for DIP switch service is hidden in a config file and not accessible from the menus.

The easy option would be to put another wire on the J-Pac but I'd rather not have to do my back in moving the cab again!
Title: Re: F2 is always service on Galaga?
Post by: Ansa89 on March 04, 2012, 04:54:08 am
Here (http://mametesters.org/view.php?id=3689) you can fond some information, they talk about an old version of mame, but it should work also on recent versions.
Title: Re: F2 is always service on Galaga?
Post by: Sonny_Jim on March 05, 2012, 01:26:30 am
Quote
it should work also on recent versions
:dunno
What should work?  I see no resolution there, only confirmation that it's hard mapped to F2?
Title: Re: F2 is always service on Galaga?
Post by: Ansa89 on March 05, 2012, 09:45:33 am
If the game has a dip-switch for service mode, you have to recompile mame with modified "src/emu/ioport.c" (look at line 4870 or around that).
(Hoping that "src/emu/ioport.c" is the new name of "src/emu/inptport.c").
Title: Re: F2 is always service on Galaga?
Post by: Gray_Area on March 11, 2012, 02:35:00 pm
F2 is service mode for all games in MAME.  (Hint: read about MAME.)