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: mame controls.xml question  (Read 2992 times)

0 Members and 1 Guest are viewing this topic.

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
mame controls.xml question
« on: March 11, 2010, 09:34:31 am »
Where does mamewah (or any other front end) gets controller type info for mame? For example it displays joy8way and trackball for millipede, i removed joy8way line entry from controls.xml but it is still being displayed in the controller list.
« Last Edit: March 11, 2010, 09:39:30 am by reko19 »

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: mame controls.xml question
« Reply #1 on: March 11, 2010, 09:42:11 am »
controls are also found in mame's XML file.  It seems that the default value in every game entry in MAME is joy8way, so many games have it that way, when it's probably just a little oversight that the developer just didn't edit the entry entirely. (I'm guessing here, but I have thought that weird as well)

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: mame controls.xml question
« Reply #2 on: March 11, 2010, 09:51:42 am »
well, this information is getting pulled from somewhere, i thought it was coming from controls.xml but editing the file does does not seem to have any effect

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: mame controls.xml question
« Reply #3 on: March 11, 2010, 01:26:57 pm »
yes, the 1st part of my response is correct.  that incorrect controls information is coming from mame's XML file as generated by the -listxml command line option.

the part I was guessing at is the whole ramble about joy8way being default and lazy devs not changing it when they add a new game.

reko19

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 218
  • Last login:July 16, 2025, 10:06:10 am
  • I want to build my own arcade controls!
Re: mame controls.xml question
« Reply #4 on: March 11, 2010, 01:54:36 pm »
what puzzles me is when I manually edit controls.xml to take joy8way out, it still apears as available control in mamewah which means that this info is available from roms or some other source

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: mame controls.xml question
« Reply #5 on: March 11, 2010, 06:05:37 pm »
that's what I've told you now three times.  ;D
there is no puzzle or mystery as to where that data is coming from.


mame.exe has it's own xml file.  *not* controls.xml. 

The name of this xml file may be named differently depending on your front end.  It may be mame.xml or listxml.xml, whatever.  that is where this bogus data is coming from.  MAME generates that file, your FE reads it up and displays that bogus information to you.