Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: GaminMan on September 26, 2009, 04:29:01 pm
-
Ever since I upgraded my mame from version 112 I think it was to what i'm on now, 0125, I have not been able to use my mouse. I've read many many posts here and on the internet, but i've not seen what the actual command line is to get the mouse working. I've even read the document text file that comes with mame that shows you ever command line option, that confuses me as it shows two different lines.
I just deleted my mame.ini file, and restarted mame. Not only did it create another mame.ini it also created a "cfg" folder with 2 config files in there. Which of these configs am I supposed to edit and what does the line look like?
Below is what my config files for mame look like right now. This one is the mame.ini located in my main mame folder.
[directory]
rompath = E:\Emulators\Mame0125\roms
snap = snap
flyers = flyers
inp = inp
hi = E:\Emulators\Mame0125\hi
cfg = cfg
[config]
historyfile = history.dat
And then in the cfg folder, is a file labeled default, below is what that looks like
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default" />
</mameconfig>
Which file do I edit, and what does the command line look like to enable the mouse? -[yes] mouse or -mouse and where in that file does the command line go, at the bottom, in between something?
Any help is greatly appreciated. :) :)
-
In MAME.INI
# CORE INPUT OPTIONS
#
coin_lockout 0
ctrlr
mouse 1
joystick 1
lightgun 0
multikeyboard 0
multimouse 1
steadykey 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
Then change any of these below to mouse if needed:
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device mouse
trackball_device mouse
lightgun_device mouse
positional_device keyboard
mouse_device mouse
-
Thanks for the reply, did what you said with the ini file, and here's what it looks like now...
[directory]
rompath = E:\Emulators\Mame0125\roms
snap = snap
flyers = flyers
inp = inp
hi = E:\Emulators\Mame0125\hi
cfg = cfg
[config]
historyfile = history.dat
# CORE INPUT OPTIONS
#
coin_lockout 0
ctrlr
mouse 1
joystick 1
lightgun 0
multikeyboard 0
multimouse 1
steadykey 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device mouse
trackball_device mouse
lightgun_device mouse
positional_device keyboard
mouse_device mouse
But the mouse still isn't responding in Mame :-\
EDIT: I do have Mame0132b and the mouse works in that Mame, but only in navigating the menus, the mouse doesn't respond to any games. Below is the default config file from the Mame0132b cfg folder.
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default">
<input>
<port type="P1_LIGHTGUN_X">
<newseq type="increment">
KEYCODE_LEFT
</newseq>
</port>
<port type="UI_RESET_MACHINE">
<newseq type="standard">
KEYCODE_R
</newseq>
</port>
<port type="UI_ROTATE">
<newseq type="standard">
NONE
</newseq>
</port>
</input>
</system>
</mameconfig>