Jump to content
LaunchBox Community Forums

Spinner works in MAME (via command prompt), not in Launchbox


Statsman1

Recommended Posts

I have been testing this new spinner (Ultimarc, naturally) with Cameltry, in MAME set 0.265.  My mame.ini file is in the root of the MAME directory.

If I run MAME directly from the command prompt, I can see that under Input Device Options -

Trackball, Paddle, Dial and Mouse Device assignments ALL = mouse

and under General Settings - Input Assignments (Player 1 Controls):

Paddle Analog = Mouse 3 X

Paddle Analog Inc = Mouse 3 X +

Paddle Analog Dec = Mouse 3 X -

...I was able to set these by turning the spinner (after hitting ENTER to change the setting).

In MAME.INI: mouse = 1, multimouse = 1

Cameltry WORKS under MAME running from a command prompt.

In Launchbox (and in Windows 10), the spinner will send the pointer left and right (as it's obviously being used as a linear mouse), but does not work in the game.  The configuration for Input Assignment for Player 1 simply says MOUSE, and I cannot change it to anything but random keypresses...spinning the spinner does not seem to register there.

What am I missing?  I have combed the forum for various suggestions that have worked for others, but this is perplexing.

Link to comment
Share on other sites

Thanks for the help there, but I have seen all of those pages and still getting nowhere.

Windows 10 recognizes it as a mouse, I can make the pointer go left and right EVERYWHERE.  And running MAME from the command prompt, the spinner works.  It is only when launching a game through Launchbox that the spinner no longer works.

 

Link to comment
Share on other sites

15 minutes ago, Statsman1 said:

Windows 10 recognizes it as a mouse, I can make the pointer go left and right EVERYWHERE.  And running MAME from the command prompt, the spinner works.  It is only when launching a game through Launchbox that the spinner no longer works.

Can you share a screenshot of your MAME emulator Details section (in LaunchBox).  Namely want to see the Command Line Parameters being sent.

Link to comment
Share on other sites

39 minutes ago, JoeViking245 said:

Can you share a screenshot of your MAME emulator Details section (in LaunchBox).  Namely want to see the Command Line Parameters being sent.

I hope this will do...no extra parameters.

However, in taking this screenshot, I think I determined the issue.  I might have been in the wrong directory.  Testing that now.

 

IMG_4887.JPG

Edited by Statsman1
Link to comment
Share on other sites

5 hours ago, JoeViking245 said:

Can you share a screenshot of your MAME emulator Details section (in LaunchBox).  Namely want to see the Command Line Parameters being sent.

Actually, Mr Viking, you helped me solve it.

I was initially running MAME from a command prompt in a different directory that Launchbox was looking.  When I corrected that, I had to go back and change the MAME configuration from a command prompt in that proper directory, then run Launchbox, and it worked.

So you got me there, indirectly, and I thank you very much!

Edited by Statsman1
  • Game On 1
Link to comment
Share on other sites

21 hours ago, Statsman1 said:

Paddle Analog = Mouse 3 X

Paddle Analog Inc = Mouse 3 X +

Paddle Analog Dec = Mouse 3 X -

I would suggest not setting Paddle Analog Inc and Paddle Analog Dec with the the spinner inputs as you're getting double inputs and this will make fine tuning and getting the spin rate right harder.

The Inc and Dec options are for digital to analog inputs. So MAME would be using the first entry for a true analog spinner, and than also a digital to analog equivalent since you mapped it to the analog spinner s well.

  • Thanks 1
Link to comment
Share on other sites

On 11/5/2024 at 4:26 PM, Headrush69 said:

I would suggest not setting Paddle Analog Inc and Paddle Analog Dec with the the spinner inputs as you're getting double inputs and this will make fine tuning and getting the spin rate right harder.

The Inc and Dec options are for digital to analog inputs. So MAME would be using the first entry for a true analog spinner, and than also a digital to analog equivalent since you mapped it to the analog spinner s well.

What setting do you suggest?

 

Link to comment
Share on other sites

6 minutes ago, Statsman1 said:

What setting do you suggest?

 

This isn't a simple thing as every game is different and depends on gearing in the original code and whatever spinner you have.

I have an Ultimarc as well, but I have hi-rez encoder wheels in mine so my values will be different.

If you google mame/spinner count you should find some pages that have good starting values for most of the more popular games. You can then modify to your likely.

The important thing I was saying was that you do NOT want to set those INC and DEC value if you have a real spinner to the spinner outputs. If you want to set some keys to them as a backup method, that is OK. I'd just leave them blank.

  • Like 1
Link to comment
Share on other sites

I left the settings for MOUSE 2 (the spinner) INC and DEC as LEFT and RIGHT for now, as I will learn what that is all about.  Cameltry, right now, works a treat, though I have not fine-tuned the spinner settings as of yet.  As is, it seems far less sensitive (as such, the game is more playable) than when I first got it working (with the INC and DEC settings incorrect, as above).

Thanks for the tip!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...