Examples

Here is some larger examples of the Filters.xml file.

Ok, here is what I'm using (for now) for my 2 player, 8way fighter control panel.

I have done the 8way/6 button control directory swap (so I can swap buttons 1-3 and 4-6 once in default and games which have 6 buttons with an 8way are setup.

I have removed all dial/trackball/lightgun/pedal/paddle games, and any game marked preliminary.

Next I added all the Zinc games.

<?xml version="1.0" ?> 
- <Filters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <List>
- <Filter>
  <Name>All</Name> 
  <Emulator>MAME</Emulator> 
  <Hide>false</Hide> 
- <Conditions>
- <Condition>
  <Operator>ALL</Operator> 
  <And>false</And> 
  </Condition>
  </Conditions>
  <Arguments /> 
  </Filter>
- <Filter>
  <Name>Fighters</Name> 
  <Emulator>MAME</Emulator> 
  <Hide>false</Hide> 
- <Conditions>
- <Condition>
  <Property>input.buttons</Property> 
  <Value>6</Value> 
  <Operator>EQUALS</Operator> 
  <And>false</And> 
  </Condition>
- <Condition>
  <Property>input.control.type</Property> 
  <Value>joy8way</Value> 
  <Operator>EQUALS</Operator> 
  <And>true</And> 
  </Condition>
  </Conditions>
  <Arguments>-cfg_directory cfgfighters</Arguments> 
  </Filter>
- <Filter>
  <Name>REMOVE</Name> 
  <Emulator>MAME</Emulator> 
  <Hide>true</Hide> 
- <Conditions>
- <Condition>
  <Property>input.control.type</Property> 
  <Value>dialtrackballlightgunstickpedalpaddle</Value> 
  <Operator>CONTAINSWITHIN</Operator> 
  <And>false</And> 
  </Condition>
- <Condition>
  <Property>driver.status</Property> 
  <Value>preliminary</Value> 
  <Operator>EQUALS</Operator> 
  <And>false</And> 
  </Condition>
  </Conditions>
  <Arguments>-cfg_directory cfgfighters</Arguments> 
  </Filter>
- <Filter>
  <Name>ZINC</Name> 
  <Emulator>ZINC</Emulator> 
  <Hide>false</Hide> 
- <Conditions>
- <Condition>
  <Operator>ALL</Operator> 
  <And>false</And> 
  </Condition>
  </Conditions>
  </Filter>
  </List>
  </Filters>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License