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: Very new to MAME. Inherited a half way finished cabinet..  (Read 2866 times)

0 Members and 1 Guest are viewing this topic.

likwidtek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:November 02, 2011, 02:45:54 pm
Very new to MAME. Inherited a half way finished cabinet..
« on: July 27, 2011, 06:27:48 pm »
SO... here she is.



It's taken me about a week but I finally have the computer done, the front end (Maximus arcade) done, the rom set with all the extras done...  I had no damn idea that MAME was so complicated.  Parent roms, conflicting versions of MAME, a zillion difficult to configure FEs... ugh. 

I'm going to use this ascii thingy as a reference to how I mapped my buttons in MAME (by hitting tab):

(1) (2) (3)

(4) (5) (6)

(7)

Now I'm fine tuning.  Now, it's a custom 2 player control panel with trackball.  I've got everything mapped through the FE so that I can navigate and choose games and what not.  The only question is...  Do I seriously have to remap buttons for every single game?  I mean... for the most part older games work ok... but like for example in mortal kombat... when I load it up for the first time all the buttons are all wrong.  I'm sure they're all like that.  Is there some generic file that someone's already made somewhere that does all the work for me?  I'm sure my button layout is very common.

Also, do you guys map a button for tab to easily reassign buttons on the fly or do you keep a keyboard close by?

Wanted: Mortal Kombat 1
Owned: Mortal Kombat 2, Custom MAME Cab


drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #1 on: July 27, 2011, 09:23:45 pm »
With the TAB key, you'll really only need it while your getting things setup. I just keep a keyboard handy (it's wireless so no big deal).

likwidtek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:November 02, 2011, 02:45:54 pm
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #2 on: July 27, 2011, 09:44:30 pm »
Well, out of all my buttons... none of them are mapped to tab or enter.  I'd like to NEVER have to use the keyboard if I can get away with it.  :/  This will allow me to map keys on the fly super easy without ever having to break the arcade experience.
Wanted: Mortal Kombat 1
Owned: Mortal Kombat 2, Custom MAME Cab


drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #3 on: July 27, 2011, 10:02:33 pm »
Depending on your keyboard encoded (IPAC, etc), they almost all have a "shift key combo",

So, say COIN1 was the shift key. Then, when you press and release it, it types the coin1 code, but if your press it, hold it down, and press something other button, that combo can be assigned the TAB key.

Just check the docs that came with your encoder.

mgb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3500
  • Last login:August 03, 2025, 07:25:14 pm
  • North East, US
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #4 on: July 27, 2011, 10:09:06 pm »
Hi likwidtek,
welcome

Its usually advised not to have any buttons like tab or enter on your panel because it can really screw you up when someone hits the wrong buttons.
You can use the shift function for it but theres still the chance that the right button configuration will be pressed during regular game play and then mess up everything.

if you're going to have buttons assigned to those, you'd be best off keeping them in your coin door.

a quick way to assign buttons and all to multiple games at a time is after hitting tab, select "Input (General)" rather than "Input (This Game)"

Vidiot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:May 19, 2025, 10:48:13 am
  • John 3:16
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #5 on: July 28, 2011, 08:48:17 am »
According to your ascii diagram it looks like each button is just mapped to a number. I have mine mapped to the buttons that mame uses such as left ctrl, left alt, space, shift, z, and x. I also have buttons mapped to esc, p, 5, and 1 for exit, pause, player 1 coin, and player 1 start respectively. That could be why they aren't performing the functions you're expecting?

Here are the mame defualt controls copied and pasted from another thread in this forum:

Player 1:
Button 1 - Left Control
Button 2 - Left Alt
Button 3 - Spacebar
Button 4 - Left Shift
Button 5 - Z
Button 6 - X
Button 7 - C
Button 8 - V
Button 9 - B
Button 10 - N
Start - 1
Coin - 5
Up - Up Arrow
Down - Down Arrow
Left - Left Arrow
Right - Right Arrow

Player 2:
Button 1 - A
Button 2 - S
Button 3 - Q
Button 4 - W
Up - R
Down - F
Left - D
Right - G
Start - 2
Coin - 6

Player 3:
Button 1 - Right Control
Button 2 - Right Shift
Button 3 - Enter
Up - I
Down - K
Left - J
Right - L
Start - 3
Coin - 7

Player 4:
Button 1 - 0 Pad
Button 2 - Del Pad
Button 3 - Enter Pad
Up - 8 Pad
Down - 2 Pad
Left - 4 Pad
Right - 6 Pad
Start - 4
Coin - 8


likwidtek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:November 02, 2011, 02:45:54 pm
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #6 on: July 28, 2011, 12:55:14 pm »
Oh crap I'm sorry the numbers meant Button #.  They are mapped similar to what you listed there.  Like P1 Button 1 = Left Control P1 Button 2 = Left Alt etc...

I guess the point of what I'm getting at overall is two things. 

1:  Having to customize controls for so many friggin games seems daunting.  I was wondering if there was something someone has already done to sort of standardize this to make it easier.  I've already done the "Set for all games" option but it's just like fighting games where they're sort of flipped around where things need be be tweeked.

2:  If 1 isn't really possible (more than likely not), I'd like to make it stupid simple to quickly remap buttons on the fly if we play a game that we haven't played before without having to reach for the keyboard.  The only thing I need to do this is to create 2 new buttons.  One for TAB and one for ENTER.  I don't exactly know if there's room on the ipac for this though so I'm not sure how to do it.  I know I can just use the keyboard but I am approaching this like I am my HTPC.  If I have to break away from the remote and grab a keyboard, it's not user friendly.  Same here.  I'd like the keyboard to collect dust!  :)

According to your ascii diagram it looks like each button is just mapped to a number. I have mine mapped to the buttons that mame uses such as left ctrl, left alt, space, shift, z, and x. I also have buttons mapped to esc, p, 5, and 1 for exit, pause, player 1 coin, and player 1 start respectively. That could be why they aren't performing the functions you're expecting?

Here are the mame defualt controls copied and pasted from another thread in this forum:

Player 1:
Button 1 - Left Control
Button 2 - Left Alt
Button 3 - Spacebar
Button 4 - Left Shift
Button 5 - Z
Button 6 - X
Button 7 - C
Button 8 - V
Button 9 - B
Button 10 - N
Start - 1
Coin - 5
Up - Up Arrow
Down - Down Arrow
Left - Left Arrow
Right - Right Arrow

Player 2:
Button 1 - A
Button 2 - S
Button 3 - Q
Button 4 - W
Up - R
Down - F
Left - D
Right - G
Start - 2
Coin - 6

Player 3:
Button 1 - Right Control
Button 2 - Right Shift
Button 3 - Enter
Up - I
Down - K
Left - J
Right - L
Start - 3
Coin - 7

Player 4:
Button 1 - 0 Pad
Button 2 - Del Pad
Button 3 - Enter Pad
Up - 8 Pad
Down - 2 Pad
Left - 4 Pad
Right - 6 Pad
Start - 4
Coin - 8
Wanted: Mortal Kombat 1
Owned: Mortal Kombat 2, Custom MAME Cab


notroubleclubber

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 176
  • Last login:October 07, 2023, 04:26:25 pm
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #7 on: July 28, 2011, 01:43:03 pm »
To map controls for all mame games - play a game in mame then press TAB. go to general settings then set your controls you want. If it doesnt save them for all games then there is a problem with the mame.ini file i suspect.

IPAC can reprogram on the fly but ive never needed to. Use WINIPAC utility (you can get from ultimarcs website) to program ipac. Its very easy to work out how to do.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #8 on: July 28, 2011, 02:09:21 pm »
MK has a weird layout; you might hafta set those 4 games up manually (5 if you include WWE)
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

fallacy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 992
  • Last login:March 11, 2025, 01:20:39 am
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #9 on: July 29, 2011, 03:28:28 am »
I’m interested in that mario art. Where did you get it?

likwidtek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:November 02, 2011, 02:45:54 pm
Re: Very new to MAME. Inherited a half way finished cabinet..
« Reply #10 on: July 29, 2011, 11:21:33 am »
I’m interested in that mario art. Where did you get it?

Hehe we just downloaded some Mario stuff and printed it. They were decorations for my birthday party. It was good times.
Wanted: Mortal Kombat 1
Owned: Mortal Kombat 2, Custom MAME Cab