[General] label: XMAME binary: @('Variables','binary') start: @('Variables','binary') + ' -rp ' + @('Variables','rompath') + ' ' + @('Variables','extra_param') + ' @(romset)' images: @('Variables','images') image_file: @(romset).png state: {'':'bad','incorrect':'bad','not found':'bad','best available':'best available','correct':'good'} identity: romset titles: {'romset':'Romset','category':'Category','description':'Description','nplayers':'Players','state':'State','version':'Version','emulator':'Emulator','year':'Year','manufacturer':'Manufacturer'} sources: ['xml-src','catver-src','verify-src','players-src'] variables: ['binary','rompath','catver','players','images','extra_param'] ; VARIABLES [binary] type: select_file text: Select executable file default: xmame [rompath] type: select_directory text: Select ROMs location default: sys.prefix + '/share/loemu/roms' [catver] type: select_file text: Select catver.ini file. It defines category and version of games. [players] type: select_file text: Select nplayers.ini file. It defines the number of players supported by game. [images] type: images text: Define image sets that will be shown for every game. default: [sys.prefix + '/share/loemu/snaps', sys.prefix + '/share/loemu/flyers'] [extra_param] type: text text: Define extra parameters default: -s 2 -fullscreen -jdev /dev/input/js0 -jt 1 ; SOURCES [xml-src] command: @('Variables','binary') + ' -lx' type: command format: xml xsl: mame.xsl [players-src] archive: @('Variables','players') type: archive format: ini-sections sections: {'NPlayers': 'players'} [catver-src] archive: @('Variables','catver') type: archive format: ini-sections sections: {'Category': 'category', 'VerAdded': 'version'} [verify-src] command: @('Variables','binary') + ' -vr -rp ' + @('Variables','rompath') type: command format: plain pattern: '^romset\s*(?P\w+)\s*(?P.+)$'