Main > Main Forum
basic button numbering/encoder help
Tiger-Heli:
--- Quote from: crashwg on January 17, 2005, 06:31:19 am ---The numbering is a MAME thing realy. If you go into the config of MAME in the game Street Fighter the default setup is:
button 1 - Low Punch
button 2 - Med Punch
button 3 - High Punch
button 4 - Low Kick
button 5 - Med Kick
button 6 - High Kick
In the arcade the buttons were set up punches on bottom kicks on top going low to high - left to right
Therefore if you want your controls to be arcade acurate you will want to set up your controls:
456
123
Does that clear things up a bit?
--- End quote ---
Erm - Crashwg, actually, you got it completely backwards and confused the issue:
Looking in the CP packs for SF, Punches are on top and Kicks are on the bottom (logical, actually, Upper body - Up, lower body - bottom).
Looking in Controls.ini,
[sf2]
gamename=Street Fighter II - The World Warrior
numPlayers=2
alternating=0
mirrored=1
tilt=0
cocktail=0
usesService=0
miscDetails=
P1NumButtons=6
P1Controls=8-way Joystick+joy8way
P1_BUTTON1=Light Punch
P1_BUTTON2=Middle Punch
P1_BUTTON3=Heavy Punch
P1_BUTTON4=Light Kick
P1_BUTTON5=Middle Kick
P1_BUTTON6=Heavy Kick
P1_JOYSTICK_UP=Jump
P1_JOYSTICK_DOWN=Crouch
P1_JOYSTICK_LEFT=Left
P1_JOYSTICK_RIGHT=Right
So MAME is properly set up for SF2 with
1 2 3
4 5 6
But this is awkward for say 1942, because you have to reach over the lower row of buttons.
Tiger-Heli:
I seem to be in disagreement with the rest of the board, FWIW, but.
--- Quote from: Vanthaelen on January 16, 2005, 07:15:32 am ---Can someone explain what is meant by numbering and what exactly does
1 2 3 mean?
4 5 6
--- End quote ---
Using a Capcom style layout (2 rows of three buttons), the top left button is set as button 1
--- Quote ---What is the difference between the above layout and
4 5 6
1 2 3
--- End quote ---
Using a Capcom style layout (2 rows of three buttons), the bottom left button is set as button 1
--- Quote ---Why are certain layouts better for certain games? eg, fighters and classics?
--- End quote ---
The
4 5 6
1 2 3
layout is better for classics b/c you don't have to reach over the lower row of butttons, the
1 2 3
4 5 6
is better for SF b/c that's the way the arcade was set-up.
In reality, depending on whether you play more fighters or classics, you will pick one layout and re-program MAME to match.
--- Quote ---e.g. For 7 button layouts what is the difference between:
4 5 6 and 4 5 6
1 2 3 1 2 3
7 6
--- End quote ---
First off, the thumb button is really only used for NeoGeo 4-button games, the layout on the left ensures no duplicate inputs, but uses two more inputs on your encoder. The layout on the right frees up two more inputs for admin functions, but there is a possibility of accidentally throwing a punch if you hit the thumb button by mistake.
--- Quote ---How does the numbering correspond to the inputs on an encoder?
--- End quote ---
In general, the numbering relates to MAME inputs, and not to an encoder.
For example,
1 2 3
4 5 6
means I want the top button to be "Button 1"
By default, MAME sets P1Button1 to "L Ctrl" and by default, the I-PAC sets 1SW1 to "L Ctrl" so you would normally (for the above layout) wire the top button to 1SW1 on the I-PAC.
Not to confuse you, but this isn't a requirement. For example, I could go into MAME and set P1Button1 to "U", re-program the I-PAC so the Coin1 terminal sent "U", and wire the upper left button to Coin1 on the I-PAC and it would work fine, but why?
Tiger-Heli:
What arcade's have Lord Damo and Crashwg been hanging out in.
Top row is punch, bottom row is kick:
LordDamo:
It was an arcade that was setup on the side of a service station that was also a video hire store. I played masses of street fighter 2 after school over a two year period. The machine that I played on was set out as I described above.
No bull, straight up.
It didnt have an overlay as you've included above though. It had only two different coloured buttons, red for punch and blue for kick.
No bull, straight up.
Being that im in Australia, might have been setup different here, dunno.
Thanks for posting though Tiger, and the pic helped clear it up.
Tiger-Heli:
--- Quote from: LordDamo on January 17, 2005, 07:43:27 am ---It was an arcade that was setup on the side of a service station that was also a video hire store. I played masses of street fighter 2 after school over a two year period. The machine that I played on was set out as I described above.
No bull, straight up.
--- End quote ---
My guess would be that the machine was originally set up for the classics and then modified for SF. Could also be that there were two configurations.
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version