adams79 / imame4all

Automatically exported from code.google.com/p/imame4all
0 stars 0 forks source link

Remapping buttons not working and says "ENTER or ENTER J1 JoystickButton J2 JoystickButton J3 JoystickButton J4 JoystickButton" #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Pressing the two buttons to get to the input controls menu
2. Pressing 'B' for remapping
3. Pressing the desired button

What is the expected output? What do you see instead?
Expected to see the button I pressed remapped to that particular input (ie 
player button 1) but instead I get the message "ENTER or ENTER J1 
JoystickButton J2 JoystickButton J3 JoystickButton J4 JoystickButton"

What version of the product are you using? On what operating system?
1.7 on iOS 4.3.3 iPad 2

Please provide any additional information below.
I tried to delete the cfg file in the roms/imame4all as suggested but there was 
no cfg file at first and when I did save the settings and deleted the cfg file, 
the same problem occurred. Please help me fix this. Thank you for your time an 
effort with this wonderful program!

Original issue reported on code.google.com by BlankaUl...@gmail.com on 14 Jul 2011 at 1:34

GoogleCodeExporter commented 9 years ago
Go to each button in turn (player 1 button 1 and so on) and press B, after this 
press the corresponding button on the pad you wish to assign to each button. It 
is a bit of trial and error to work out which button to assign to which on the 
pad but it's worth it for say street fighter 2 where the button mapping is all 
wrong...

Ok so after checking on the PC version of Mame and Streetfighter 2 it would 
appear that the button configs are as follows:

Player 1 button 1 is mapped to ctrl (weak punch)

Player 1 button 2 is mapped to alt (med punch)

Player 1 button 3 is mapped to space (strong punch)

Player 1 button 4 is mapped to shift (weak kick)

Player 1 button 5 is mapped to Z (med kick)

Player 1 button 6 is mapped to X (strong kick)

Player 2 button 1 is mapped to A (weak punch)

Player 2 button 2 is mapped to S (med punch)

Player 2 button 3 is mapped to Q (strong punch)

Player 2 button 4 is mapped to W (weak kick)

Player 2 button 5 is mapped to E (med kick)

Player 2 button 6 is mapped to [ (strong kick)

Example:

So using this as a guide I've gone into the Mame settings and changed the 
button config for street fighter 2 by first selecting "input for this game" 
then Changed player 1 button 1 for Y on the classic, player 1 button 2 for R, 
player 1 button 3 for X, player 1 button 4 for b, player 1 button 5 for L, 
player 1 button 6 for a.

This has given me Y as weak punch, X as strong punch, b as weak kick, a as 
strong kick, R as medium punch, and L as medium kick.

Original comment by seleuco....@gmail.com on 14 Jul 2011 at 6:39

GoogleCodeExporter commented 9 years ago
When I press B and try to map any of the buttons (L,Y,B,R,A,X), I get a message 
(J1 JoystickButton J2 JoystickButton...etc). However, when I try to map the 
start button or coin button, it works fine. How do I map the (L,Y,B,R,A,X) 
buttons without getting (J1 JoystickButton...) message?

Also, thanks a lot for figuring out the street fighter 2 buttons. That's 
exactly what I'm trying to play now. Looking forward to getting these buttons 
to work.

Original comment by BlankaUl...@gmail.com on 15 Jul 2011 at 5:06

GoogleCodeExporter commented 9 years ago
Don't be fooled with the message showed, the buttons is mapping really.. IMame 
has mapped various  joys and the concrete buttons is not showed well. 

Original comment by seleuco....@gmail.com on 15 Jul 2011 at 8:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Works perfectly, thank you!

Original comment by BlankaUl...@gmail.com on 16 Jul 2011 at 4:25

GoogleCodeExporter commented 9 years ago
I think imame is actually registering 4 buttons pressed when pressing a single 
iCade-button.
That's why the the message says "J1 JoystickButton J2 JoystickButton J3 
JoystickButton J4 JoystickButton". Possibly that's why there is input-lag.
The input-lag is not present with other applications, so it's unlikely to be 
hardware-based.

Original comment by biomi2...@hotmail.com on 19 Aug 2011 at 6:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Not.
The message showed is becouse i sent the same button press as if were 4 
joysticks. Thats work with touch input also and there is not input lag. The 
idea here is that if you like to enter 2-4 player game all players are moved 
whith the same joystick movement. It's only a sw trick and it is unrelated to 
iCade. The iCade input lag is related to how iOS is cheated to send bluetooth 
keyboard keys instead joystick data. Think in that.. if you press one key of 
your keyboard... how fast do you see in your screen? obviusly is more slow that 
if you has a direct connection with the joystick instead wrapping in key 
presses that are slow...

Original comment by seleuco....@gmail.com on 19 Aug 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Other iCade-compatible apps don't appear to suffer from the input lag like 
imame does.
The virtual keyboard doesn't pop up as well in other apps when the connection 
is lost.
There is still a lot of frameskip when using the iCade (even though the 
fps-counter stays at 60, the game clearly skips frames).
So it seems imame's implementation of the iCade controls is not optimal rather 
than a hardware restriction.

Original comment by biomi2...@hotmail.com on 14 Sep 2011 at 7:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
false.

Try on other HW. People are happy with, Maybe the problems are related to your 
HW or SW..

this is an emulator, not a simple app...

Original comment by seleuco....@gmail.com on 14 Sep 2011 at 8:18

GoogleCodeExporter commented 9 years ago
You're being a little defensive about this. The iCade definitely doesn't handle 
button mapping well, and almost invariably reports a single button press as 
being four or more. I can go to map, say "Button 2" three times in a row, 
pressing the same button on the iCade every time, and get three completely 
different responses. The app seems to register any button press as several or 
all buttons - for example, I've been trying for an hour to set the two buttons 
both as "fire" in Raiden, so that I can enable autofire on only one of them, 
but so far it's proved completely impossible. Regardless of what I've done in 
the "Autofire" settings, I can either get both buttons autorepeating, both 
buttons single-shotting, or both buttons doing nothing.

It's not a *complaint* and nobody's making any demands, just pointing out what 
seems to be a bug in case you want to fix it.

Original comment by reverend...@gmail.com on 29 Dec 2011 at 8:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Could there instead be a settings option for the 1 button = 4 joysticks thing?  
I understand why some people might prefer to be able to control all four 
characters at once, but it should not be the default.  This would also make 
mapping buttons in games much much easier because you would have the proper 
information displayed on the screen rather than ... which is very confusing.

Original comment by grantal...@gmail.com on 6 Jan 2012 at 1:07

GoogleCodeExporter commented 9 years ago
Good point   Ill take a look, when i finish mame4droid pending stuff

Original comment by seleuco....@gmail.com on 6 Jan 2012 at 1:43