Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Necro on December 22, 2005, 11:34:44 pm

Title: MAME Individual Game CFG Files (documentation?)
Post by: Necro on December 22, 2005, 11:34:44 pm
Anyone know of any documentation for the individual game cfg files in MAME?  I basically only want to have the bezel show in certain games (i.e. asteroids).  Wondering if it's possible and all...

TIA.
Title: Re: MAME Individual Game CFG Files (documentation?)
Post by: loadman on December 23, 2005, 03:04:10 am
..no but its easy.

copy mame.ini

rename the copy to 'romname'.ini   eg asteroid.ini

make you changes to the ini file 
eg
### Mame CORE misc options ###
artwork                 1
use_backdrops           1
use_overlays            1
use_bezels              1

mame looks to see if there is  a *.ini file for each game before it launches. If found it will override what is set in mame.ini just for that game.

I think you also have the option put the individual game ini files in a ini folder if you want to keep your directory tidy

Alternativley it does not matter if you have mame.ini set to have the bezels on for all games if you don't have a bezel in the artwork directory nothing will happen
Title: Re: MAME Individual Game CFG Files (documentation?)
Post by: Necro on December 23, 2005, 01:14:43 pm
Ok, because when I looked in the .cfg file for the game and it seems to be XML.  I take it I leave that file in my main MAME directory?  (and thanks).
Title: Re: MAME Individual Game CFG Files (documentation?)
Post by: jcrouse on December 23, 2005, 01:34:10 pm
You may need to uncomment the line at the top of your mame.ini file that points to the path of your ini folder. Like so:

### mame.ini ###

### Frontend Related ###
clones                  1

### Windows path and directory options ###
rompath                 roms
samplepath              samples
inipath               ini
cfg_directory           cfg
nvram_directory         nvram
memcard_directory       memcard
input_directory         inp
hiscore_directory       hi
state_directory         sta
artwork_directory       artwork
snapshot_directory      snap
diff_directory          diff
ctrlr_directory         ctrlr
cheat_file              cheat.dat
history_file            history.dat
mameinfo_file           mameinfo.dat

It will then look in the .\mame\ini folder for game specifc setting. You do not need the entire contents of the mame.ini file in the game specific ini files. You only need the line that are not the same as the settings in the mame.ini file.

Good Luck,
John