MAME - Windows
From XBMC Advanced Launcher Wiki Pages
MAME is a software application designed to emulate the hardware of arcade game systems on modern personal computers and other platforms. The intention is to preserve gaming history by preventing vintage games from being lost or forgotten. The aim of MAME is to be a reference to the inner workings of the emulated arcade machines; the ability to actually play the games is considered "a nice side effect". The name is an acronym for Multiple Arcade Machine Emulator. The first public MAME release (0.1) was on February 5, 1997, by Nicola Salmoria. As of version 0.140, released October 21, 2010, the emulator now supports 4510 unique games and 9012 actual ROM image sets. However, not all of the games in MAME are currently playable; 1391 ROM sets are marked as not working in the current version, and 53 are not actual games but BIOS ROM sets. The project is currently coordinated by Aaron Giles.
Prior to use the MAME with XBMC you have to create the default mame.ini file to configure the emulator properly. You can create this configuration file by using this command :
C:\Program Files\mame\mame.exe ---createconfig
Put the generated mame.ini file into the same directory then your mame.exe application. Then you have to indicate where the rom files will be located. This could be done by giving the right directory path for the rompath value like this:
... rompath E:\arcades\roms samplepath samples artpath artwork ...
To bypass the game information display at start, indicate 1 to the skip_gameinfo value.
... bios cheat 0 skip_gameinfo 1 ...
You need to indicate into the arguments the path where is located the mame.ini file like this
-inipath "C:\Program Files\mame" "%rom%"