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 122, cant seem to 'see' the spinner...  (Read 1988 times)

0 Members and 1 Guest are viewing this topic.

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
MAME 122, cant seem to 'see' the spinner...
« on: February 08, 2008, 10:51:08 am »
I just installed an Opti-Wiz and Mouse Hacked optical board to my first Mame Cab build.  Everything is running fine in Game Ex as the FE.

On the desktop I can run my spinner (home-brew) left and right as a mouse input, but in MAME how does one map the left/right axis for the spinner?

gads.. everything is such a pain the first time around.  :banghead:  I hope my second build will go smoother having now experienced loads of first timer issues on this bugger.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #1 on: February 08, 2008, 11:18:20 am »
First enable mouse input in your mame.ini file....I am a bit behind the times (in more sense than one) but last time I looked you need:

dial_device               mouse
trackball_device          mouse

Then run your game with Mame and hit Tab > Input (this game).  Check the mouse inputs are mapped correctly.

NB I know Mame now handles multiple mice so perhaps someone could confirm this is still correct...

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #2 on: February 08, 2008, 11:50:05 am »
As far as I can see in the Config menu (Tab) in MAME, the mouse is listed as a number of different controllers (X axis Paddle, X axis Dial, etc).

The question is how would you force the config file to save the Dial settings as Mouse only, as I don't want the Joystick spinning the dial for me.

If I try to mod the settings for Dial I get the option to enter the corrected key/movement, but the mouse or spinner have no effect here.  What am I missing?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #3 on: February 08, 2008, 12:05:38 pm »
Did you check your mame.ini file as Minwah suggested?  Unless you have mouse enabled in there, you won't be able to map the mouse in the tab config menu.  If it is enabled, you should be able to select the dial analog x axis, press enter, spin the spinner hard one way and it will register.

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #4 on: February 08, 2008, 12:50:24 pm »
To the best of my knowledge, there is NO Mame.ini file in this cab setup.  :dunno

I did a complete system search and found no such program/file.

Do I have to create one, and if so, how is that done?

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #5 on: February 08, 2008, 01:20:18 pm »
Do I have to create one, and if so, how is that done?

Yip, type:

mame -cc

from a commandline, within the mame folder.

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #6 on: February 08, 2008, 01:27:17 pm »
Would that mean use the 'Run' command line from Windows XP Start window while the Mame Folder is open?  :dizzy:

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #7 on: February 08, 2008, 01:31:44 pm »
Would that mean use the 'Run' command line from Windows XP Start window while the Mame Folder is open?  :dizzy:

Easiest way is Start > Run,
Type 'cmd' and press OK,
Navigate to your MAME drive, ie if it is on C: drive type 'c:',
Navigate to your MAME folder, ie if it is in C:\mame drive type 'cd\mame' (or c:\emulators\mame would be 'cd\emulators\mame')
Then type 'mame -cc'

HTH

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #8 on: February 08, 2008, 01:33:11 pm »
Oohhhh... going old school on me are ya.  I'll give it a shot, thanks.

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #9 on: February 08, 2008, 01:44:04 pm »
From what I see...

the MAME ini file is now present and gives a few options for devices, such as paddle, trackball, etc.

I have replaced the 'joystick' names with mouse and set the mouse controller option to '1'.

Sound about right?

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #10 on: February 08, 2008, 02:04:16 pm »
hmmm, this seems to have worked.. sort of...

the spinner is hyper turning, moving only from true north to true south at the slightest turn of the knob.

I have tried to adjust the AD Sensitivity but it will not budge.  I guess it's ini time again.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #11 on: February 08, 2008, 05:16:20 pm »
Make sure you only map the analog axises in the tab menu.  Do not map the "Paddle DEC" or "Paddle INC" with the mouse (they should be empty).

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #12 on: February 08, 2008, 09:46:39 pm »
Indeed.  I discovered what happens when Mame tries to line up both the Mouse Dec/Inc and the Joystick 1 as a mouse as well.  Talk about MEGA spin speed!  :o

It's reasonably working now.. give a slightly 'rough' turn speed.  I think the simple 36 spoke encoder wheel is the issue here.  I might have to construct a 60+ and see if that cleans up the turning ratio.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #13 on: February 08, 2008, 10:20:49 pm »
There is also an 'analog controls' tab menu that let's you adjust the sensitivity. 

Games001

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:January 13, 2024, 12:44:04 am
Re: MAME 122, cant seem to 'see' the spinner...
« Reply #14 on: February 09, 2008, 10:25:59 am »
I have been tweeking the sensitivity via the menu and its helped a bit.  Still a tad rough, but that seems to be the least of the concerns so long as the blasted spinner works.  ;)