Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: retrobill on September 13, 2012, 11:46:02 am

Title: Tankstick Trackball not working in MAME 0.140
Post by: retrobill on September 13, 2012, 11:46:02 am
Hello all...I have mame ver 0.140 and for the life of me can't get the trackball on the tankstick to work.  The trackball works in windows and is fine everywhere but when I click on a mame game I can't get the trackball to work when entering in the mapping commands. 

I do have mame plus installed and it work there so I am led to believe that it has to do with this ver of mame.  Is there a file that I need to address parameters or switches before the mame launches a game?  If so what is it supposed to look like?  Can I use another ver of mame or is mame all command line and the mame plus is more gui.

Thanks Bill.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: pinballjim on September 13, 2012, 12:41:20 pm
Edit mame.ini

Mouse 0 -> Mouse 1

Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: retrobill on September 13, 2012, 02:09:27 pm
Thanks Jim...I think this is where my issue is...where is the mame.ini file supposed to be located?  and where is that mouse command to be located inside the file itself?
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: BadMouth on September 13, 2012, 02:13:22 pm
It's in the mame folder, right next to readme.txt
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: retrobill on September 13, 2012, 05:25:03 pm
I don't see it...this is what is extracted...do I have the correct mame downloaded file?
Title: Tankstick Trackball not working in MAME 0.140
Post by: mickkn on September 13, 2012, 05:33:15 pm
Guess there is a command for writing the ini file

Found this
http://forum.arcadecontrols.com/index.php?topic=38917.0
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: pinballjim on September 13, 2012, 05:38:32 pm
To summarize that linked thread...

Go to a command prompt, browse to your directory, type in:

mame -cc


That will create mame.ini


Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: retrobill on September 13, 2012, 05:40:17 pm
I guess I will answer my own question...I have the binary version that requires you to FIRST create the mame.ini file by using the switch in a cmd prompt in the directory of mame and use mame -createconfig and then NOW does it all make sense!  This file is not created by default it just uses the default which in my case is no mouse...I had to create it and then I could now make changes.

Now I see said the blind man....

I think I am off and running now...I think.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: retrobill on September 13, 2012, 05:41:08 pm
Thanks again Jim for your help...I was typing while you were answering my question...thanks again.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: paigeoliver on September 13, 2012, 06:18:55 pm
Nope, still doesn't make sense. Why in the world is it set to off by default in the first place?

I guess I will answer my own question...I have the binary version that requires you to FIRST create the mame.ini file by using the switch in a cmd prompt in the directory of mame and use mame -createconfig and then NOW does it all make sense!  This file is not created by default it just uses the default which in my case is no mouse...I had to create it and then I could now make changes.

Now I see said the blind man....

I think I am off and running now...I think.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: retrobill on September 13, 2012, 06:21:46 pm
Taken from the config.txt file in mame

Controls whether or not MAME makes use of mouse controllers. When
   this is enabled, you will likely be unable to use your mouse for other
   purposes until you exit or pause the game. The default is OFF
   (-nomouse).

In the mame.ini file I changed the mouse to 1 and now everything works.

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     1
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.3
joystick_saturation       0.85
natural                   0
joystick_contradictory    0
coin_impulse              0

#
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: willybeamish on February 26, 2013, 09:28:48 am
Bump from the dead..


Im in the same boat and was wondering if you had the trackball connected to the PC via PS2 or USB??
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: BadMouth on February 26, 2013, 09:50:30 am
Bump from the dead..


Im in the same boat and was wondering if you had the trackball connected to the PC via PS2 or USB??

Which are you using?

Does it work in windows?
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: willybeamish on February 26, 2013, 10:08:00 am
Bump from the dead..


Im in the same boat and was wondering if you had the trackball connected to the PC via PS2 or USB??

Which are you using?

Does it work in windows?


I have mine on USB and it works like a mouse fine in windows and will spin the Hyperspin wheel but I dont bother using it for that.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: BadMouth on February 26, 2013, 10:15:48 am
Do you still have another mouse connected?  Does that one work?

You might have multimouse enabled, in which case input from each mouse is considered separate and only the first mouse is mapped in MAME.
multimouse              0

That will make MAME see all input as the same mouse.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: willybeamish on February 26, 2013, 10:40:23 am
Do you still have another mouse connected?  Does that one work?

You might have multimouse enabled, in which case input from each mouse is considered separate and only the first mouse is mapped in MAME.
multimouse              0

That will make MAME see all input as the same mouse.


I have a additional wireless mouse. Ill check the INI file when I get home for that. I originally never had created the INI file before and when I did at first it wouldn't work I believe because I had the mame stuff in a directory its not setup for. I moved it over C:Emulators/Mame and then typed C:Emulators/Mame/ Mame.exe -CC and I was able to find the Mame.ini right after.
Title: Re: Tankstick Trackball not working in MAME 0.140
Post by: willybeamish on February 27, 2013, 11:32:30 am
Got it to work finally, went into the Mame.ini set it to 'mouse 1' ..map the X and Y axis and your good to go.