Main > Main Forum

[SOLVED] Car game config with a joystick

Pages: (1/3) > >>

gezy:

Hi guys,
I have a problem that I cannot solved  :'(
And sorry for my english...

My config :

* Raspberry Pi
* Raspbian
* MAME 0.37b5
* Joystick and buttons SANWA
* KADE connector
My config works well, I can play easily to many games like Double Dragon, Street Fighter, Pac Man, etc.. But I have an issue with all the car/motorbike games.

The accelerator is on a button and the steering wheel (left/right) on the joystick.
When I'm accelerating with the button and want to turn (left or right), it stop the acceleration and I have to re-push on the button to accelerate. It's like there is a conflict and that I cant' have 2 commands at the same time !  :cry:

In fact, now that I think of it, in metal slug (per example), I can't run and shoot at the same time. it stop each time I push the button, and run when I release it..

Do you guys have any solution for me ?

Thanks a lot !

PL1:

Welcome aboard, Gezy.

This is the first time I've heard of those move/shoot symptoms.

It's almost certainly some kind of software issue.

Which firmware are you using on the KADE -- USB/HID Joystick, or one of the MAME keymaps?

I'm not sure why your system is having problems, but if you are using the MAME keymaps, the Ctrl or Alt keys might be causing trouble.   :dunno

Try reprogramming the KADE using the "USB/HID Joystick" firmware (left column, 5th firmware option) -- the directions are in the KADE Loader program.


Scott

gezy:

Thanks PL1  :cheers:

I not sure about the name of the firmeware, but it something like "multi arcade (custom)".
And yes I'm using CTRL, ALT, etc... controls.

I will dig in that sens tonight !

But if I'm using the USB/HID Joystick firmware, can I map my button on it also or it will only transmit the joystick directions ?

Many thanks for your help  ;)

PL1:


--- Quote from: gezy on September 27, 2013, 05:34:48 am ---I not sure about the name of the firmeware, but it something like "multi arcade (custom)".
And yes I'm using CTRL, ALT, etc... controls.

--- End quote ---
As I suspected, that's MAME Encoder (Custom).


--- Quote from: gezy on September 27, 2013, 05:34:48 am ---But if I'm using the USB/HID Joystick firmware, can I map my button on it also or it will only transmit the joystick directions ?

--- End quote ---
The default joystick firmware has the directions and 13 buttons -- you can customise the inputs as desired.

Since you wired the system buttons and joystick for the mame default inputs, you can do one of two things:
1. Move the wires to match the new defaults.
2. Customize the HID joystick map to reflect your current wiring
- Directions on inputs A3-A6
- Player buttons 1-8 on inputs A7-B_4 (Change THAT to "Bingo", cutesy wordfilter.  :angry:   :lol)
- Pick a button for start on input A1
- Pick a button for coin on input A2

If you reprogram but don't change either the wiring or the firmware map, pressing down on the joystick (default input A4 in MAME map) will give you a right (default input A4 in HID Joystick map).   :banghead:

You may also need to change some input settings in MAME.


Scott
P.S. For anyone wondering about the wordfilter coment, if you type "B_4" without the underscore, it autofilters to --BINGO! Either that, or I was attempting to say "before" but it was too many letters to type--.

gezy:

Thanks for all your explanations !

I have installed the firmeware without customization.
And I also have deleted the "default.cfg" of MAME.

Now (tested in street fighter) the button seems to work, but not the joystick, nothing move...
Have you any advice ? I'm browsing the web without clear answer  :angry:

Pages: (1/3) > >>

Go to full version