| Main > Main Forum |
| Possible To Remove Diagonals From 4-Way Roms via Software? |
| (1/4) > >> |
| lettuce:
For games like PAC-MAN etc is it possible through mame (or other software) to remove the diagonal inputs for 4 way games, so in essence you have a 4-way stick as none of the diagonals register?? |
| *ShAgGy*:
im no expert on this but, ok so assume you want to take the diagonals out with mame you can simply assign non usuable keys to diagonals, the joysticks will create a diagonal when pressed that way reguardless dont they? hope this helps, coz im not 100% of what you mean |
| Dexter:
To the best of my knowledge you can't do this because a diagonal is read as two input lines by mame i.e. diagonal top left is up and left switches pressed at the same time. Feel free to correct me on this guys. Best solution is to grab a small 4-way stick if you're making or modifying a panel. I installed one on my cab and it made a hell of a difference. Doesn't take up much panel real estate either. |
| fjl:
Basically, the joystick registers when you press up and also when you press right. It also registers when you press both up and right. That's known as a diagonal movement. So he wants to know if its possible to set up through mame, that when you press up-right on the joystick, it doesn't trigger as a diagonal direction press but instead registers only in one direction instead of both. I'd like to see this myself. It should be done this way; While pressing left, you slide the joystick up. For an instant it will register as left-up. What the mame software should do is to make it so that it never registers as left-up but instead just registers as up. This actually seems simple. I'm surprised the MAME guys haven't came up with something like this for 4-way games. Of course I don't really know about programming so I can't say they haven't already thought of this and tried and where not successful. |
| Joystick Jerk:
What would the point be? It's not like suddenly hitting a diagonal would send Pac-Man off on a diagonal slant. In a sense the diagonals are already disabled, as the game is ignoring them. The only way to get TRUE 4-way action is to use a 4-way stick. --- Quote from: efjayel on May 25, 2007, 06:12:57 am ---I'd like to see this myself. It should be done this way; While pressing left, you slide the joystick up. For an instant it will register as left-up. What the mame software should do is to make it so that it never registers as left-up but instead just registers as up. This actually seems simple. I'm surprised the MAME guys haven't came up with something like this for 4-way games. Of course I don't really know about programming so I can't say they haven't already thought of this and tried and where not successful. --- End quote --- Impossible. Well, not technically, but practically. A diagonal is the half-way point between two cardinal directions, there are no degrees of how diagonal the stick is pointing(with standard 8 ways). Say you're pressing right, and then go to press up, and hit a diagonal in the process. Mame is now reading a diagonal up/right direction, but how would mame know whether you meant to truly press up or to the right? It can't predict which way you're going to go eventually, so it couldn't translate a diagonal into your intended direction. Of course they could hard code something that tells mame to register a directional press based on the diagonals, taking the direction you weren't just pressing previously, but then that causes all sorts of problems when you accidentally hit a diagonal and now your character is moving in a direction you never intended. |
| Navigation |
| Message Index |
| Next page |