Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame.ini or cfg's help please, i'm just not getting it  (Read 4952 times)

0 Members and 1 Guest are viewing this topic.

GaminMan

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:October 08, 2009, 01:58:33 am
Mame.ini or cfg's help please, i'm just not getting it
« 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.  :)  :)

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Mame.ini or cfg's help please, i'm just not getting it
« Reply #1 on: September 26, 2009, 05:35:07 pm »
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

GaminMan

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:October 08, 2009, 01:58:33 am
Re: Mame.ini or cfg's help please, i'm just not getting it
« Reply #2 on: September 26, 2009, 06:14:04 pm »
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>
« Last Edit: September 26, 2009, 06:26:27 pm by GaminMan »