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: Tankstick Trackball not working in MAME 0.140  (Read 6259 times)

0 Members and 1 Guest are viewing this topic.

retrobill

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 13, 2012, 09:50:52 pm
  • I want to build my own arcade controls!
Tankstick Trackball not working in MAME 0.140
« 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.

pinballjim

  • Guest
  • Trade Count: (0)
Re: Tankstick Trackball not working in MAME 0.140
« Reply #1 on: September 13, 2012, 12:41:20 pm »
Edit mame.ini

Mouse 0 -> Mouse 1


retrobill

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 13, 2012, 09:50:52 pm
  • I want to build my own arcade controls!
Re: Tankstick Trackball not working in MAME 0.140
« Reply #2 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?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 03:15:04 pm
  • ...
Re: Tankstick Trackball not working in MAME 0.140
« Reply #3 on: September 13, 2012, 02:13:22 pm »
It's in the mame folder, right next to readme.txt

retrobill

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 13, 2012, 09:50:52 pm
  • I want to build my own arcade controls!
Re: Tankstick Trackball not working in MAME 0.140
« Reply #4 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?

mickkn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:February 25, 2021, 01:38:53 am
Tankstick Trackball not working in MAME 0.140
« Reply #5 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

pinballjim

  • Guest
  • Trade Count: (0)
Re: Tankstick Trackball not working in MAME 0.140
« Reply #6 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



retrobill

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 13, 2012, 09:50:52 pm
  • I want to build my own arcade controls!
Re: Tankstick Trackball not working in MAME 0.140
« Reply #7 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.

retrobill

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 13, 2012, 09:50:52 pm
  • I want to build my own arcade controls!
Re: Tankstick Trackball not working in MAME 0.140
« Reply #8 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.

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: Tankstick Trackball not working in MAME 0.140
« Reply #9 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.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

retrobill

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:September 13, 2012, 09:50:52 pm
  • I want to build my own arcade controls!
Re: Tankstick Trackball not working in MAME 0.140
« Reply #10 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

#
« Last Edit: September 13, 2012, 06:45:39 pm by retrobill »

willybeamish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Last login:December 22, 2014, 01:59:10 pm
Re: Tankstick Trackball not working in MAME 0.140
« Reply #11 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??
Currently rebuilding a PP cab and converting it to a mame cab..view the progress here http://forum.arcadecontrols.com/index.php/topic,122815.msg1305024.html#msg1305024

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 03:15:04 pm
  • ...
Re: Tankstick Trackball not working in MAME 0.140
« Reply #12 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?

willybeamish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Last login:December 22, 2014, 01:59:10 pm
Re: Tankstick Trackball not working in MAME 0.140
« Reply #13 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.
Currently rebuilding a PP cab and converting it to a mame cab..view the progress here http://forum.arcadecontrols.com/index.php/topic,122815.msg1305024.html#msg1305024

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 03:15:04 pm
  • ...
Re: Tankstick Trackball not working in MAME 0.140
« Reply #14 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.

willybeamish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Last login:December 22, 2014, 01:59:10 pm
Re: Tankstick Trackball not working in MAME 0.140
« Reply #15 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.
Currently rebuilding a PP cab and converting it to a mame cab..view the progress here http://forum.arcadecontrols.com/index.php/topic,122815.msg1305024.html#msg1305024

willybeamish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Last login:December 22, 2014, 01:59:10 pm
Re: Tankstick Trackball not working in MAME 0.140
« Reply #16 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.



Currently rebuilding a PP cab and converting it to a mame cab..view the progress here http://forum.arcadecontrols.com/index.php/topic,122815.msg1305024.html#msg1305024