r/MAME • • 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

35 comments sorted by

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.

2

u/newiln3_5 3d ago

To be fair to OP, there are some games in MAME with more detailed names for the button inputs. SFII, for example, lists the buttons as Jab Punch, Strong Punch, etc, and Neo Geo games list them as A, B, C, and D. It really just depends on the game.

1

u/BIOS-D 2d ago

It seems it really depends mostly on hardware. All CPS1 games are labeled Button 1, 2 and 3. sfii on same system is a special case because it required little hardware additions for player to kick (adding three more buttons per player). ssfii on CPS2 follows same numbered button label. Neo Geo is a multigame arcade and console system that labeled buttons just like that.

-8

u/NotRenjiro 3d ago

Difference is that other emulators actually tell me more.

Duckstation and various other emus tell me what I'm actually binding. It's not just a list of ''Button 1'', ''Button 2'', ''Button 3'' etc.

It's intuitive and easy to work with. Mame is not. I just put in random patterns that might work until I actually got it. This already took way too long to do. Same goes for the other configs. Mame looks like it's stuck 15-20 years in the past and is not easy to use. I can appreciate the effort but I don't think simple things like this should feel like a puzzle game.

7

u/star_jump 3d ago

It's clearly pointless trying to argue with you, but for the rest of the class: you just proved my point. DuckStation ONLY emulates the PlayStation. It can tell you what you're binding because you're only binding to exactly one controller configuration. If MAME tried to do that for every machine that it emulates, the UI alone would be several times greater in size than the emulation binary itself.

But if you're still disappointed, you can always ask for a refund.

4

u/cuavas MAME Dev 3d ago

But that's no different. It doesn't tell you what circle, cross, square and triangle do in the game you're playing, you have to work that out yourself.

1

u/newiln3_5 3d ago

I can see what OP is getting at (button inputs are not always named in a sufficiently descriptive manner, even though the drivers for home computers and such show that it can be done)... buuuuut I still downvoted his post because he decided to be an asshole about it.

2

u/cuavas MAME Dev 3d ago

You're missing the point, though. Using NES as an example, it just gives the button labels A, B, Start and Select, with no indication of what those do. That depends entirely on the game. It's the same for arcade systems, e.g. the standard JAMMA button 1, button 2 and button 3. MAME shows the system's button labels, it's up to you to find out what they do.

1

u/newiln3_5 3d ago

Would it be correct to say, then, that the naming conventions MAME uses for inputs can be hardware-specific, but not software-specific?

2

u/cuavas MAME Dev 3d ago

Pretty much. It gets a bit fuzzy with things like gambling games.

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.

-2

u/NotRenjiro 3d ago

Vampire: The Night Warriors, 8bitdopro2 (xbox layout basically), Win10

The problem is that I don't know what buttons I am actually binding. Every other emulator clearly shows me what I'm binding. It's simple.

With Mame I just see Button 1, 2, 3, 4... etc. and I don't know what any of those actually mean. So it's more of a guessing game to bind the right buttons yk. Which is very time consuming.

4

u/EyeQue62 3d ago

You can decide what buttons do. I have buttons 1 and 2 as A and B, 3 and 4 as X and Y. It's really up to you to have the buttons as you feel comfortable with.

-5

u/NotRenjiro 3d ago

I don't know what you're talking about really. Maybe it's something I've missed because of how obtuse this all is.

5

u/TheBigCore 3d ago

Button 1 = light punch

Button 2 = medium punch

Button 3 = heavy punch

Buttons 4, 5, 6 = light, medium, heavy kicks respectively

4

u/TheBigCore 3d ago

You might also be much better served running https://store.steampowered.com/app/1685750/Capcom_Fighting_Collection/ instead...

2

u/newiln3_5 3d ago

Strange that someone would downvote this. People wanting an option that just "works" is pretty much the reason these kinds of releases exist.

1

u/TheBigCore 3d ago

That collection also has online play so you don't end up spending the rest of time playing against the CPU.

1

u/newiln3_5 3d ago

Yes, that too!

-12

u/NotRenjiro 3d ago

Update: Managed to get it to work, guessed it right. I hope this ui get's updated some day.

3

u/BIOS-D 3d ago

"Everyone is wrong except me" (even when common arcades had a JAMMA standard long before Street Fighter II used six buttons).

Did you know? Contrary to your puny single system emulators MAME supports more than 56,000 machines. Each one using diverse input configurations.

-3

u/NotRenjiro 3d ago

Alright that's fair, but is the way it works right now really the best way to handle this? UX is not good.

1

u/Embarrassed_Ad_3228 2d ago

Yes depending. If you are doing a general settings then yes its best to stick with button 1 to 10 for an over all general setting. Now if you run the game and then open the input config for just that game a lot of the games will tell you exactly what the button will be binding to do. For a general setup I always suggest killer instinct/sf 6 button layout. Top row is buttons 1 to 3 bottom is 4 to 6. I have a list of 640 games and this layout works for all but 10. By works out I mean the buttons on the arcade machine themself was wired left to right 1 to 6. Unlike mortal kombat 3 where the run button throws stuff out of order.

6

u/FrankPoncherello1967 3d ago

So it's the ui's fault, not you... got it 😫

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.

1

u/Embarrassed_Ad_3228 2d ago

This is to much work a standard 6 button layout will work for majority of games. The only ones I remap are umk3 and neogeo games (i use a ctrlr file to remap them all with one file) as I like to have first two buttons on both rows being the action buttons that mimics the home console controller layout. Of course this is applying to arcade controls. It can also easily be done on gamepads as well with face buttons begin 1 to 4 and shoulders being 5 and 6. Copying batocera using cardinal directions i make south button 1 west button 2 east button 3 north button 4 left shoulder button 5 and right shoulder button 6

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!

1

u/cuavas MAME Dev 1d ago

Their complaint is that they don't think "Button 1", "Button 2", etc. are useful descriptions. Please explain how that screenshot changes anything.