femamegp2x.cfg is edited with a standard text editor.

There are a handfull of variables that can be assigned.  
If you group or filter name has spaces in it, be sure to wrap it with the
double quote character.

Default-Filter-Group="My Favorite Group"
   The filter group to auto select after loading, which can be any filter that is defined and enabled.

Default-Filter="Ball & Paddle"
   The filter inside the default filter group that will be selected when the program first runs.  If this
   is left commented out, it will simply go to the first one.

Repeat-Delay=300
   Time in milliseconds before repeating keys kicks in

Repeat-Rate=75
   Repeat rate once repeating keys kick in.

Update-Image-Freq=250
   How often the screen captured images keep themselves in sync with which 
   file you are on.  
   This time will start couting down when no keys are pressed.  
   Larger number = arrow-keying around the games is more reponsive

Filter-Missing-Games=Yes
    Looks at all the roms you have and hides them in the menu if you do
    not have them.  ./cfg/femamegp2x-missing.cfg is created if it
    does not exist.  It can be recreated or disabled & enabled at any time
    in the menu.

Run-On-Exit=<full path and paramters to menu that will be loaded on exit>
    If you use the standard gp2x menu, leave this commented out (or verify it is commented out)
    If you want to load a program other than the standard gp2x menu, specifiy it here
    If you want the mame frontend to just exit and not load any other program, put EXIT
    Examples:
			Run-On-Exit=EXIT
			Run-On-Exit="/mnt/sd/gmenu2x/gmenu2x"
			Run-On-Exit="/usr/gp2x/gp2xmenu --boot --disable-autorun"
  
Default-Driver-Location="standard"
   The default set of drivers to use.  This can be changed in the 'Adv' menu.
   
Driver-Locations { driver locations... }
   Each line contains the path to a set of mame game drivers.  The default config
   file creates one for
		  standard "./mamegp2x/mame_gp2x.gpe"
		  fast     "./mamegp2x/mame_gp2x_fast.gpe"
		  compat   "./mamegp2x/mame_gp2x_compatible.gpe"
   
Game-Optimized-Drivers { game specific drivers }
   Each line contains a mame game identifier and the complete path to the driver
   file to run it.  
   As an example, kangaroo runs best for me in the standard driver, so I have 
			kangaroa "./mamegp2x/mame_gp2x.gpe"
			kangarob "./mamegp2x/mame_gp2x.gpe"
			kangaroo "./mamegp2x/mame_gp2x.gpe"

   
Filter-Group="filter group name" [enabled | disabled]
    A Filter you define to show a set of games.  An option flag of enabled or disabled can follow the filter.  If no
    flag is given, enabled is assumed.

Filter-Group="Filter group name" [flag] !!! Wrap name in quotes if you have a space
{                                       !!! Open curly bracket
                                        !!! Filters are then added, one to a line with this format
    
   <Filter name> <field to compare> <comparison type> <search expression> <EXCLUDE expression>
   ... continue with additional filters


}                         !!! End filter group with a close curly bracket

Filter group name
  What you are calling this filter group.  When cycling filters, you 
  will remain inside the group that you are in.

Filter Name
  What you want your filter to be know as.

Field to compare
  This will be one of
    DESC     - The description of the game
    GAME     - The internal mame name of the game
    FXE      - The .FXE driver (ie matari.fxe)
    ALL      - A combo of all fields above
    YEAR     - Year of game release
    CLONEOF  - The game that this game clones
    GENRE    - Genre of game (http://www.mameworld.net/catlist)
    CATEGORY - Category of game (http://www.mameworld.net/catlist)
    FAVORITE - Use EQUALS true or false

Comparison Type
  This will be one of
    STARTS WITH - The text we are searching for is at the begining
    CONTAINS    - The text is somewhere in the string
    EQUALS      - Exact match
    REGEXP      - A regular expression

Search Expression.
  For everything except regular expression, this will be either a single 
  word or phrase (wrap phrases in quotes) or a list of words, wrapped
  in parentheses and seperated by commas

  For regular expression, it will be a regular expression, using it's 
  rules, wrapped in parentheses.

EXCLUDE Expression
  This is only for regular expression.  Include the word EXCLUDE 
  and put another regular expression wrapped in parentheses.



