Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME Individual Game CFG Files (documentation?)  (Read 5308 times)

0 Members and 1 Guest are viewing this topic.

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
MAME Individual Game CFG Files (documentation?)
« 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.

loadman

  • Wiki Contributor
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MAME Individual Game CFG Files (documentation?)
« Reply #1 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

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Re: MAME Individual Game CFG Files (documentation?)
« Reply #2 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).

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: MAME Individual Game CFG Files (documentation?)
« Reply #3 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