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: Is there a MAME database better than MAWS?  (Read 8940 times)

0 Members and 1 Guest are viewing this topic.

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Is there a MAME database better than MAWS?
« on: March 04, 2007, 09:53:19 am »
Greetings,

I'm trying to group games by their controls:
   8 Way Trigger Grip & Push Down Spinner.
   Optical Wheel, Up-Down Shifter & 2 Pedals.
   etc. etc. etc.

I'm using MAWS as my starting point, but it has rather course control groupings and is often flat out wrong.

Is there anything better that still contains the MAME file name for each game??? 

Thanks for your help!

   - Mark

rockin_rick

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:May 27, 2017, 09:20:20 am
If I do not respond to your post in a timely manner, feel free to PM me.

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #2 on: March 04, 2007, 09:40:18 pm »
Try -

http://forum.arcadecontrols.com/index.php?topic=55636.0

Rick

Rick,

Thank you for the link. But I think that this MAME "search engine" has the same data source as MAWS, and thus the same issues.

   - Mark

horseboy

  • Only Saint has those powers.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1562
  • Last login:March 07, 2021, 02:19:14 pm
  • With my last breath, I curse Zoidberg!


Quote from: saint
saint is all powerful.

Apparently he is.

Bobbler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 15, 2016, 11:33:30 am
Re: Is there a MAME database better than MAWS?
« Reply #4 on: March 05, 2007, 11:33:21 am »
Nice one horseboy, well handy for deciding which controls to give some real estate to.


mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #6 on: March 05, 2007, 06:50:50 pm »
http://fe.donkeyfly.com/controls/gamesbycontrol.php

Thank you!  This seems to be the only thing I've seen where someone looked at the physical controls.

   - Mark

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade

shorthair

  • Guest
  • Trade Count: (0)
Re: Is there a MAME database better than MAWS?
« Reply #8 on: March 05, 2007, 07:41:19 pm »
Ya, the history.dat at times suffers the same (and not just in controls) but is getting better.

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: Is there a MAME database better than MAWS?
« Reply #9 on: March 06, 2007, 07:12:20 pm »
...Thank you for the reply. But, I think that this is yet another view of the MAWS data.

It says that DDR is played with an 8-way joystick...

Most of the "MAWS data" comes directly from mame (the -listxml option); the rest comes from history.dat & art stuff.  While it's nice to know which know which games used Halls Effect sticks vs Flightsticks vs snapsticks vs normal analog sticks, electronically (and thus to mame codewise) these are the same.  Which is why controls.dat exists with the extra info. :)

FWIW, mame calls DDR's input a "16-way" input, but this is grouped as an 8-way in -listxml's output.

FWIW 2, MAWS simplifies some of the info from -listxml: MAWS only shows one input type per game.  For example, wacko is listed in MAWS as "double 4 way joystick", while -listxml's output (the source of MAWS info) includes the required trackball as well as the joystick.
Robin
Knowledge is Power

rockin_rick

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:May 27, 2017, 09:20:20 am
Re: Is there a MAME database better than MAWS?
« Reply #10 on: March 06, 2007, 07:32:52 pm »
Yes, the program I referenced (RL) does use mame's xml output.  So it does suffer from the 'errors', but will allow more advanced sorting (which I what I thought you were mainly interested in...)

If someone would/could write a small app that would take the controls.ini data and "fix" the mame xml output, then you could run 'correct' data through RL and that would be the better than what is currently available.  I'm not a (computer) programmer, but it seems doable...  I suppose that could be done by hand, but that would be a big job.

Rick
If I do not respond to your post in a timely manner, feel free to PM me.

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #11 on: March 06, 2007, 08:59:22 pm »
...Thank you for the reply. But, I think that this is yet another view of the MAWS data.

It says that DDR is played with an 8-way joystick...

Most of the "MAWS data" comes directly from mame (the -listxml option); the rest comes from history.dat & art stuff.  While it's nice to know which know which games used Halls Effect sticks vs Flightsticks vs snapsticks vs normal analog sticks, electronically (and thus to mame codewise) these are the same.  Which is why controls.dat exists with the extra info. :)

FWIW, mame calls DDR's input a "16-way" input, but this is grouped as an 8-way in -listxml's output.

FWIW 2, MAWS simplifies some of the info from -listxml: MAWS only shows one input type per game.  For example, wacko is listed in MAWS as "double 4 way joystick", while -listxml's output (the source of MAWS info) includes the required trackball as well as the joystick.

Robin,

Thank you very much for the background info.

I would like to start a simple database that listed the combination of controls by player each game, but with job and family I don't have the time to get that project (or any other) off the ground...

   - Mark


jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re: Is there a MAME database better than MAWS?
« Reply #12 on: March 07, 2007, 03:24:06 pm »
wrong thread.
« Last Edit: March 07, 2007, 03:31:15 pm by jelwell »

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: Is there a MAME database better than MAWS?
« Reply #13 on: March 07, 2007, 03:31:28 pm »
Joseph - I think you replied to the wrong thread.

Mark - That's basically what Horseboy's link does - a sort routine of MAME games using the controls.ini info.
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.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Is there a MAME database better than MAWS?
« Reply #14 on: March 07, 2007, 03:35:54 pm »
Quote

I would like to start a simple database that listed the combination of controls by player each game, but with job and family I don't have the time to get that project (or any other) off the ground...


This exists already.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

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: Is there a MAME database better than MAWS?
« Reply #15 on: March 07, 2007, 04:40:04 pm »
That's what I just said.  :laugh2: :laugh2: :laugh2: :laugh2:
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.

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #16 on: March 07, 2007, 07:37:06 pm »
Mark - That's basically what Horseboy's link does - a sort routine of MAME games using the controls.ini info.

Not quite. It's not searchable. I don't see any easy way to figure out what games use:

An Analog Steering Wheel + a 4 Speed Shifter + 2 Analog Pedals

or

An Optical Steering Wheel + an Up/Down Shifter + 1 Analog Pedal

or

A 8 Way Trigger Grip Joystick + a Push-To-Fire Spinner

or

An 8 Way Joystick + 6 Buttons

   - Mark
« Last Edit: March 07, 2007, 07:39:07 pm by mark shaker »

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: Is there a MAME database better than MAWS?
« Reply #17 on: March 08, 2007, 08:23:37 am »
True - Now that I look at it, it's not very complete either, but we have only ourselves to blame for that.
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: Is there a MAME database better than MAWS?
« Reply #18 on: March 08, 2007, 12:00:24 pm »
hey gang,

here's something you can try.  I took my ROMLister program, and with just a couple minor tweaks, I was able to get it to run with controls.xml

So, first grab this:

http://fe.donkeyfly.com/controls/controls_dat.php

snag controls.xml.0.111.1.zip

Then go here:
http://www.waste.org/~winkles/ROMLister/

and grab the controls.xml version of the software.

Run ROMLister and browse for the controls.xml file, and then you should be able to do your normal searching through that file.

This was pretty much just a hack job on it-I am pretty sure I can merge the 2 versions together and just tweak the search keywords based on what input xml file you use.

Kick it around, see if it does what you need, and if it's good, I'll put a bit more work into it.  THis was literally a 20min job.

-jeff!


mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #19 on: March 09, 2007, 07:18:53 am »
hey gang,

here's something you can try.  I took my ROMLister program, and with just a couple minor tweaks, I was able to get it to run with controls.xml

So, first grab this:

http://fe.donkeyfly.com/controls/controls_dat.php

snag controls.xml.0.111.1.zip

Then go here:
http://www.waste.org/~winkles/ROMLister/

and grab the controls.xml version of the software.

Run ROMLister and browse for the controls.xml file, and then you should be able to do your normal searching through that file.

This was pretty much just a hack job on it-I am pretty sure I can merge the 2 versions together and just tweak the search keywords based on what input xml file you use.

Kick it around, see if it does what you need, and if it's good, I'll put a bit more work into it.  THis was literally a 20min job.

-jeff!

Jeff,

If it also searched on the controls.dat keywords, it would be just what what I need.

If you don't have the time to include all the other control names, I do have a plan B. While I'm not yet sure exactly how, I'm sure that I could "flatten" the XML file and then load it into a relational database, so I could run SQL queries on it.

   - Mark

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: Is there a MAME database better than MAWS?
« Reply #20 on: March 09, 2007, 10:05:57 am »
>If it also searched on the controls.dat keywords, it would be just what what I need.

Do you mean this stuff?

numPlayers="2" alternating="1" mirrored="1" usesService="0" tilt="0" cocktail="1"

This tool searches on anything between "<game romname=" and "</game>"

The checkboxes at the top of the GUI are just to get you started-if you look at the bottom of the screen as you click stuff, you'll see the search parameters changing on the fly.  Just go down to that parameters box and add in anything else you want to search on, like add "& mirrored=1" inside the quotes if you wanted that keyword included.   Just make sure to skip the quotes and use cocktail=1 or alternating=1 instead of cocktail="1".

-jeff!

BTW: i pointed everyone to the wrong controls.xml above, there's no reason the controls.xml.0.111.2.zip wouldn't work either.
« Last Edit: March 09, 2007, 10:09:04 am by NOP »

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #21 on: March 09, 2007, 03:36:06 pm »
>If it also searched on the controls.dat keywords, it would be just what what I need.

Do you mean this stuff?

numPlayers="2" alternating="1" mirrored="1" usesService="0" tilt="0" cocktail="1"

This tool searches on anything between "<game romname=" and "</game>"

The checkboxes at the top of the GUI are just to get you started-if you look at the bottom of the screen as you click stuff, you'll see the search parameters changing on the fly.  Just go down to that parameters box and add in anything else you want to search on, like add "& mirrored=1" inside the quotes if you wanted that keyword included.   Just make sure to skip the quotes and use cocktail=1 or alternating=1 instead of cocktail="1".

-jeff!

BTW: i pointed everyone to the wrong controls.xml above, there's no reason the controls.xml.0.111.2.zip wouldn't work either.

Thank you *very* much! I now have all I need.

I did notice the textual query line after my last post.

If you do plan to do any future development:

A .ini (or xml) file that let people customise the Quick Find Wizard would rock.

The .csv output function does not work.

   - Mark
« Last Edit: March 09, 2007, 04:22:12 pm by mark shaker »

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: Is there a MAME database better than MAWS?
« Reply #22 on: March 12, 2007, 06:21:15 pm »
Quote from: mark shaker
If you do plan to do any future development:

A .ini (or xml) file that let people customise the Quick Find Wizard would rock.

The .csv output function does not work.

   - Mark

New version, build 002 ready to be kicked around.
http://www.waste.org/~winkles/ROMLister/

(yeah, my screenshot is wrong)

I fixed the csv output for controls.xml i believe and rolled both MAME's xml and control.xml into the same executable.

A customizable quick-find wizard would be cool.  I think that would be a *huge* PITA too.  Adding a few checkboxes is doable though-just let me know what you want.

The next/prev/search stuff is still kinda wonky, so be gentle on the error reports there.  Does anyone use that feature anyway?

-jeff!


mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: Is there a MAME database better than MAWS?
« Reply #23 on: March 12, 2007, 07:45:18 pm »

New version, build 002 ready to be kicked around.
http://www.waste.org/~winkles/ROMLister/

(yeah, my screenshot is wrong)

I fixed the csv output for controls.xml i believe and rolled both MAME's xml and control.xml into the same executable.

A customizable quick-find wizard would be cool.  I think that would be a *huge* PITA too.  Adding a few checkboxes is doable though-just let me know what you want.

The next/prev/search stuff is still kinda wonky, so be gentle on the error reports there.  Does anyone use that feature anyway?

-jeff!



Jeff,

Thank you so much!

I won't stop you from adding bling, but it already does what I would like it to do.

There is no need to add any more check boxes, as I can get a list of all the control names by doing a .csv file on just controls and pasting the list into a utility that eliminates duplicates (I used TextPad).

That gives me the master list of search terms, and makes it easy to find games compatible with a particular controls configuration.

   - Mark