Main > Main Forum

basic button numbering/encoder help

<< < (3/3)

crashwg:
In my defense I am not a Street Fighter fan and was merlely trying to reiterate what Lord Damo was saying in a way that was more congruent with where we actually get the button #s from. 

Arcade buttons aren't numbered, MAME numbers them.

LordDamo:
Cool


--- Quote from: Tiger-Heli on January 17, 2005, 07:55:54 am ---I also know that there was a lot of talk years ago on the www.mame.net forums about MAME having the SF controls backwards, which would support what you are saying, and I never understood before.

--- End quote ---

Thats the thing about this place, you learn something new everyday. Its good to be aware of such differences


--- Quote from: crashwg on January 17, 2005, 08:01:28 am ---In my defense I am not a Street Fighter fan and was merlely trying to reiterate what Lord Damo was saying in a way that was more congruent with where we actually get the button #s from.

Arcade buttons aren't numbered, MAME numbers them.

--- End quote ---

Thats it, got it in one. Since getting into mame, I dont play too much street fighter that much any more. Im discovering so many new games that I never got the chance to play "back in the day".

 Anyway, back to the topic at hand.

 Hope you understand what the go is now Vanthaelen, we explaned it ok in our own special way :D

u_rebelscum:

--- Quote from: crashwg on January 17, 2005, 08:01:28 am ---Arcade buttons aren't numbered, MAME numbers them.

--- End quote ---

Just to throw my wrench into the mix...

There many different levels of button "numbers"


* Game number {sometimes, but usually "throw" or "shoot", or "A" (neogeo)}
* Jamma number {if it's jamma, that is}
 or other hardware number {most had some type of hardware numbering}
* Mame number {usually follows JAMMA or other hardware numbering, if any, can vary off sometimes}
* Encoder number {usually matches mame "number", but not always, especially if either are remapped}
* Keyboard key {ie: what the keyboard encoders actually send to the computer}
* PC gamepad/joystick number
* Location of button on the arcade control panel
The thing is people think they're all the same thing.  They are not, especially since you can remap mame, and most encoders, to whatever you want. 

Examples:

Game "button 4" might not be wired to JAMMA "button 4" (err, AFAIK, no Game button 4 were wired to JAMMA button 4 even though JAMMA includes a button 4).

Mame's default has "pedal 1" and "button 1" mapped with the same keyboard input, so some drivers don't have a "button 1", but start with "button 2" as the game's first button just to avoid default conflicts (which can be removed by remapping instead).

Some sequels had the same button layout (coughdoubledragoncough) but had them wired differently to the JAMMA buttons (triangle 132 and 123 in one case coughdoubledragoncough IIRC).

One control panel might have it's "player 1 button 1" wired to the encoder's "P2B6", which is mapped to output "S" (which defaults as mame's "player 2 button 2"); However in this case "S" is mapped as mame's default "player 1 button 1", except for certain games where "S" is mapped to "player 1 button 2".


OTOH, usually it's okay to ignore all the steps in between and assume "button 1" is the CP's, mame's, encoder's, and game's "button 1".  But many, if not most, "buttoning" questions arise because of this assumption.  [shrug]

IreM72:
Thanks for the responses guys, you've been very helpful,

this is a great forum, formidable and friendly

Navigation

[0] Message Index

[*] Previous page

Go to full version