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: Cocktails & Trackballs  (Read 1443 times)

0 Members and 1 Guest are viewing this topic.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Cocktails & Trackballs
« on: October 20, 2009, 05:31:34 pm »
Quick question, how do you build a cocktail where each player has their own independent trackball?  A modified version of Mame that allows multiple mice?

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: Cocktails & Trackballs
« Reply #1 on: October 20, 2009, 05:40:32 pm »
It doesn't need to be a modified version of Mame now.  Multiple mice have been supported for a while now.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re: Cocktails & Trackballs
« Reply #2 on: October 20, 2009, 05:40:44 pm »
Also, how come according to mameinfo.dat, Centipede's controls are an 8 way joy?

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re: Cocktails & Trackballs
« Reply #3 on: October 20, 2009, 05:41:06 pm »
It doesn't need to be a modified version of Mame now.  Multiple mice have been supported for a while now.

Ah ya I just realized that after messing around with it.  Thanks!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Cocktails & Trackballs
« Reply #4 on: October 20, 2009, 06:18:23 pm »
Also, how come according to mameinfo.dat, Centipede's controls are an 8 way joy?

Mameinfo only lists one input type per game (like maws).  Mame's Centipede driver has inputs from both 8-ways and tTBs.  Due to the logic maws uses, if a game has these two inputs, maws always picks 8-way as the listed type; I'm assuming mameinfo.dat uses the same logic.

I don't see any code (in my very quick skim) of the driver of any of the centipede games using the 8-way inputs.  Millipede has code specially designed for 8-ways, even though it doesn't a dipswitc to pick between 8-way & TB.


So the main question is should the driver have joystick inputs, too?  And what about millipede?  If neither had joysticks wired, the driver should be updated.  If that but their clones or bootlegs did use joysticks, whose should declare their own inputs separate from their parents who didn't.

The secondary question is when will Maws/mameinfo update their logic to beable to have more than one input type per game?  (Tron, wacko, quaterback to name a few.)
Robin
Knowledge is Power

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re: Cocktails & Trackballs
« Reply #5 on: October 20, 2009, 07:27:12 pm »
I guess as I look through the mameinfo.dat file, I don't see any information in there regarding what controls each romset use. Where is MAWS getting their info?

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Cocktails & Trackballs
« Reply #6 on: October 20, 2009, 09:05:52 pm »
I guess as I look through the mameinfo.dat file, I don't see any information in there regarding what controls each romset use. Where is MAWS getting their info?

Does it matter? If it now works, it now works - let the techy guys and dev teams worry about that.

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Cocktails & Trackballs
« Reply #7 on: October 21, 2009, 10:35:56 am »
I noticed that about centipede and milipede when I was trying to find TB games.. How many other games are there that use a TB that are mislisted.
Best of the Best of the Best. Sir!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Cocktails & Trackballs
« Reply #8 on: October 21, 2009, 01:33:56 pm »
I guess as I look through the mameinfo.dat file, I don't see any information in there regarding what controls each romset use. Where is MAWS getting their info?

MAWS converts mame's listxml ouput.  Listxml is able to list more than one input per game, but maws only takes the first input listed.  Mame always lists the inputs in a certain order: x-way (single) joysticks, double joysticks, analog sticks, dials, trackballs, paddles, lightguns, and last pedals.  I wouldn't be surprised if mameinfo does the same way (or might even grab from maws).

I noticed that about centipede and milipede when I was trying to find TB games.. How many other games are there that use a TB that are mislisted.

romlister to the rescue!  (had to do the find string by hand, though)  46 games (20 parents, 26 clones) have both a x-way joystick & trackball in listxml, but only listed as x-way in Maws.  A few with doublesticks & TBs.  There's one parent that has dial & TB in listxml, but lists as dial in Maws.  Eight parents had analog stick & TB & list as analog stick.  Included below is the output (edit: parents only).

romlister find string:
(joy2way | joy4way | joy8way | doublejoy8way | dial | 'type="stick"') & trackball & !cloneof &  !('BIOS')

Robin
Knowledge is Power