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: Enumerated controls  (Read 1686 times)

0 Members and 1 Guest are viewing this topic.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Enumerated controls
« on: May 07, 2007, 09:31:20 pm »
Has anyone actually sat down and figured out the different control types there are? ie, 4-way, 8-way, rotating, analog, 2-way horizontal, 2-way vertical, trigger, flight stick, 360 steering wheel, dual joystick controls, track ball, etc. N buttons?

I thnk the information I want is in the MAME XML, I'm just wondering if someone has already gone through the trouble of extracting and enumerating the information.

I'm sure this question has been asked and answered, but the search daemon went on vacation.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Enumerated controls
« Reply #1 on: May 08, 2007, 07:54:45 am »
You could likely get it from controls.dat - http://fe.donkeyfly.com/controls/controls.php

Biggest obstacle is unique controls - for example, the bicycle in Prop Cycle.  That is a control type, but only that game uses it.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Enumerated controls
« Reply #2 on: May 08, 2007, 09:56:28 am »
For more data, I built a program that merges together mame's -listxml output along with controls.dat (controls.xml to be exact) and adds in catver.ini data as well.  You get one big ole xml file that now has all of mame's info, but with better control information.

you'll find it here:
http://www.waste.org/~winkles/ROMLister/mmm.html

You might find romlister of use as well-you can output a csv file that has the rom description and all the controls it uses.  Import that into excel see what shakes out.

-jeff!

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Enumerated controls
« Reply #3 on: May 08, 2007, 11:04:24 am »
You could likely get it from controls.dat - http://fe.donkeyfly.com/controls/controls.php

Biggest obstacle is unique controls - for example, the bicycle in Prop Cycle.  That is a control type, but only that game uses it.

That's actually fine, I'm trying to figure out how many different controls there are, including one-offs. I'm running an experiment with a bit of software.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Enumerated controls
« Reply #4 on: May 08, 2007, 07:14:54 pm »
For the purposes of the experiment, the controls.xml file sufficed.

Statistically, there are 49 distinct control schemes listed in the file.

Some are essentially repeats for my purpose.

Others are uninteresting.

There is a vast number of unique controls that are missing, but due to their rarity, the solution I've come up with for handling them is acceptable.

I'll let you know the results of my experiment later.

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Enumerated controls
« Reply #5 on: May 08, 2007, 10:05:20 pm »
TEASE.  What are you up to?

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Enumerated controls
« Reply #6 on: May 11, 2007, 04:10:41 pm »
TEASE.  What are you up to?

I'd love to share right now, but I don't want anybody telling me that I can't do this or that or telling me that I should use something else instead. Plus money is kind of short (again  :hissy: ) so I can't push the experiments as fast as I would like.

None of it probably matters anyways. It's extraordinarily difficult to concentrate on anything more complex than toasting a slice of bread. :banghead: :cry:

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Enumerated controls
« Reply #7 on: May 12, 2007, 12:09:55 am »

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Enumerated controls
« Reply #8 on: May 14, 2007, 07:49:29 am »
I'd love to share right now, but I don't want anybody telling me that I can't do this or that or telling me that I should use something else instead.
Hey, u can't do that, u shud do sometin else instead!!! :laugh2:

Seriously, it's your project, do what you want regardless of what the rest of us think.  (Except it's kinda humbling if the forum tells you it won't work and you try it anyway and find out they were right!).  :angry:

It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.