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: Question about mame key mapping (.cfg files)  (Read 4680 times)

0 Members and 2 Guests are viewing this topic.

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Question about mame key mapping (.cfg files)
« on: November 11, 2008, 10:23:13 am »
I know that controller files (.ctrlr) can have multiple system sections. Can a config (.cfg) file have multiple system sections? For example, could neogeo.cfg have <system name="default">? Is it even possible to have a neogeo.cfg file?
Robots will kill you.



Arcade Addiction

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Question about mame key mapping (.cfg files)
« Reply #1 on: November 11, 2008, 10:53:51 pm »
I know that controller files (.ctrlr) can have multiple system sections. Can a config (.cfg) file have multiple system sections? For example, could neogeo.cfg have <system name="default">? Is it even possible to have a neogeo.cfg file?

I don't think so, I believe ctrlr files are the only ones that can have multiple sections although I could be wrong. neogeo.cfg might work but I have my doubts since [ROM].cfg is always created and would override it anyway. urebelscum would know better than me but I would just try it out and see if it works.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Question about mame key mapping (.cfg files)
« Reply #2 on: November 12, 2008, 07:59:42 pm »
Headkaze is right.  mame only looks for default.cfg and gamename.cfg for the cfg files.  Only the ctrlr file does mame look for the extra sections.

Why not use ctrlr file?
Robin
Knowledge is Power

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2093
  • Last login:January 26, 2025, 08:51:53 am
  • Robots WILL kill you.
    • LEDBlinky
Re: Question about mame key mapping (.cfg files)
« Reply #3 on: November 12, 2008, 10:08:44 pm »
Headkaze is right.  mame only looks for default.cfg and gamename.cfg for the cfg files.  Only the ctrlr file does mame look for the extra sections.

Why not use ctrlr file?

Thanks guys. Actually, it was a LEDBlinky user who provided me with a .cfg file that had more than one section and I had never seen this before. Turns out he created the file manually. I advised that he use a ctrlr file.
Robots will kill you.



Arcade Addiction