Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: reko19 on March 11, 2010, 09:34:31 am

Title: mame controls.xml question
Post by: reko19 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.
Title: Re: mame controls.xml question
Post by: NOP 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)
Title: Re: mame controls.xml question
Post by: reko19 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
Title: Re: mame controls.xml question
Post by: NOP 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.
Title: Re: mame controls.xml question
Post by: reko19 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
Title: Re: mame controls.xml question
Post by: NOP 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.