r/MAME • u/NotRenjiro • 3d ago
Technical assistance Setting controller inputs is terrible.
I am simply trying to play a game right now. I've set this up months ago but the UI is so extremely terrible that I didn't go any further. Trying to get into it again but I don't really know what to do here. Compared to other emulators I have no clue what I am actually binding here. ''Button 1'' doesn't really tell me anything. Any way to just have this work?
0
Upvotes
8
u/star_jump 3d ago
MAME emulates literally thousands of different games running in thousands of different hardware. There is no way for MAME to tailor the UI for every single game so that you know that Button 1 is Light Punch, Button 2 is Medium Punch, etc. The way you learn is by doing. No NES emulator tells you that in Super Mario Bros., Button 1 is jump and Button 2 is run. MAME is no different in that respect. You managed to figure it out, so it's clearly not as difficult as you initially claimed.
6
u/DavidXGA 3d ago
You've told us basically nothing, so you won't get any useful help. Every game has different controls, so "just working" isn't really a thing. The defaults work for most of them. What game are you using. What controller are you using? What platform are you running MAME on?
Throw us a bone here.
7
u/Pizpot_Gargravaar 3d ago
Counterpoint: MAME has the best and most flexible controls mapping system I've ever used. Analog, digital, rotary, 4-way, 8-way, 49-way, optical, conditionals, exclusions, macros, you name it, it can be mapped with a minimum of effort and fuss once you understand how the UI works.
3
u/ThanosReXXX 2d ago
When you're using a regular wireless controller with an Xbox layout, then the translation to MAME is as follows:
A = 1
B = 2
X = 3
Y = 4
L = 5
R = 6
However, there are thousands of different MAME games, among which also games that used other controls, such as pedals and steering wheels, trackball controllers, paddle controllers, and so on. So, it all depends. Sometimes, there's also mention of a button 0. In that case, A = 0, B = 1 and so forth.
2
u/mbcatfan 3d ago
don't overthink it. It's actually pretty simple. It almost drove me crazy but after months of going down the rabbit hole, all you do is hit tab when you load a game. Go into the input menu, which it will highlight by default and choose inputs for "this game only". Then delete whatever is assigned, hit enter, and hit whatever input you want whether it'd be a button, joystick, controller movement, track, ball, spinner, etc.. it's actually pretty easy and this will solve most of the problems without getting in any advanced programming or Settings. It will solve most of your problems, but maybe not all and the pain is that you have to do it for each game but it will take.
2
u/brandogg360 3d ago
You can look up the original wiring/button placement for the game you're trying to configure. The actual wiring on the machine will connect to "button 1, button 2, etc". It's not that deep.
2
u/ICEknigh7 2d ago
In most of MAME's drivers, buttons 1, 2, 3, etc, just try to somewhat follow the physical layout, which makes things easier to understand.
Keep in mind that, most of the times, the buttons in console controllers or arcade cabinets also don't say what each of them does in each game, so that's also accurate to the real thing (and if the cabinet did, you can always get the game's artwork files to see it).
1
u/mbcatfan 3d ago
it took me months to figure out. It's actually pretty simple. Leave everything alone. Load a game and hit tab. Then click on the input menu which it will default to, and choose input for this game only. Then it'll give you a list of possible inputs for that game. (buttons, joystick, spinner if the game has one, track ball if the game has one, etc..) delete whatever is assigned, hit enter and press whatever you want. It's that simple. The pain in the butt is that you may have to do it before you start each particular game, but it will keep. I have Xbox controller, spinner, track ball, SANWA joystick, etc. and works with everything. this simple process will solve most of your problems without getting into all that advanced programming and settings. Just leave everything else alone. It almost drove me mad as well.
1
u/Smooth_Big480 7h ago
In my case, I use weMAME 1.0, it's loyalty to 80s monitors, and it also keeps games. And it has a tidy library.
1
u/Smooth_Big480 7h ago
Link canalinformatika.es/bitxosoft
1
u/BletchMAME 2d ago
My frontend, BletchMAME is an attempt to create a UI that makes this easier. It wraps MAME, and is ultimately limited by what MAME's LUA API exposes, so its never going to be as good as a standalone emulator. That said, it is an attempt to address things like this.
We just released 3.1 about a week ago. Here is a screenshot of a new feature that attempts to make setting controller inputs better. I'd be curious to hear what you think!