Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Dariusz on October 02, 2007, 06:41:07 pm
-
Hi Gents,
I have a small problem I hope someone can assist me with in regards to controls.
My situation is I cannot get my Joystick to work with MAME0119b. My joystick work well with the FE I am useing (AtomicFE), but when an game get loaded using Mame the joystick does not work at all? :-\
I have tested the joystick without using AtomicFE (ie, using only the command line version of mame0119b) and I get the same result where the joystick does not respond at all - I have the same control set up for player 1 in Atomic FE like in mame for player 1.
My configuration is:
Have a Xbox 'Arcade Stick' connected to the PC via an 'Super Joy Box 10' adapter (Xbox to usb converter).
I have also the keyboard encoder software 'total game control' being used which I have configured my joystick to using keyboard keys for player 1 controls (Start button on stick = 1 on the keyboard (Player 1 Start), Start button on stick = 5 on the keyboard (Credit 1) etc)
Again, my joystick operates fine on my AtomicFE, but is rended useless when Mame is run.
I run mame games using the normal command like 'mame gameame'
Can anyone assist me in geting my joystick running?
You help is kindly appreciated.
KInd Regards,
Dariusz
-
Try the command line: mame gamename -joystick
-
Hi ideft
Thanks for the reply. I give it a try tonight, but my issue is that I'm using the keyboard as the control for mame by use of an joy to key converter software. My FE works well with the joystick which uses the same key commands as mame using the joy to key software, but wgen mame is launched, by joy to key software is ignored by mame. is there a way for mame to recognise my joy to ket software like it does with my FE (AtomicFE)?
Thanks,
Dariusz
-
... my issue is that I'm using the keyboard as the control for mame by use of an joy to key converter software. My FE works well with the joystick which uses the same key commands as mame using the joy to key software, but wgen mame is launched, by joy to key software is ignored by mame. is there a way for mame to recognise my joy to ket software like it does with my FE (AtomicFE)?
Mame now uses RawInput for keyboard (and mouse) inputs. Your joy2key app doesn't emulate a keyboard at a low enough level to register as a rawinput keyboard to windows, and thus to mame. Your options are many (but none "nice and clean"):
A. Find a RawInput joy2key app. (Don't know of any.)
B. Use an older mame from before mame went rawinput keyboard.
C. Stop using the joy2key when mame is running (and enable -joystick in mame).
D. Setup your frontend to use true joystick inputs instead of keyboard (if possible; I don't now AtomicFE) and stop using the joy2key app. (If not possible with your FE, change to a FE that can.)
E. Use win98 or winME (they don't suppport rawinput, so mame falls back to directInput).
F. Edit mame's source and disable rawinput (at least for keyboards), forcing mame to fall back to directInput.
G. (Maybe) Try SDLMame. (Not totally sure, but pretty sure. :P)
Like I said, none are probably what you were looking for. :-\
-
does windows recognize your joystick as a game contoller???
-
u_rebelscum,
Thanks for the detailed infor. I did not realise mame had changed its input system, and I went off and bought an joytokeyboard software :(
Is there a way to disable the rawinput from an mame command line?
Look like I'll have to play around the -joystick command to see if it works as windows recognises the controller.
As with Atomic at least the joy to keyboard software works frin with the FE :), but I too not sure if the native -jotsick option is supported.
If the joytokey option (program) now longer work with new mame, how can you program the buttons of an joystick for buttons such as coin, esc, and hot keys (like key combinations)? as I presume the native -joystick option os only for game controls?
BTW with the new mame, it look like the .ini or was it the cfg file nolonger exits where you has configured the file with 0s and 1s (ie. for the OK screens etc). Has this system been replaced with a new config system in mame which I not aware of?
Thanks again for the details.
Dariusz
-
While in the game press Tab then choose Input General then press Enter at the button you want to change.
I did not realise mame had changed its input system, and I went off and bought an joytokeyboard software
Joytokey is free http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm
also Xpadder http://xpadder.com/
You don't have to use the newest version. You could always use an older version of mame like 117. http://mamedev.org/oldrel.html
BTW with the new mame, it look like the .ini or was it the cfg file nolonger exits where you has configured the file with 0s and 1s (ie. for the OK screens etc). Has this system been replaced with a new config system in mame which I not aware of?
It's disabled. You have to compile your own version. http://forum.arcadecontrols.com/index.php?topic=71845.0
Very easy.