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 .ini's for different games?  (Read 970 times)

0 Members and 1 Guest are viewing this topic.

Brad Lee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 619
  • Last login:May 26, 2005, 11:39:04 am
    • 666
Mame .ini's for different games?
« on: January 17, 2004, 06:51:41 pm »
Is there a way to set different .ini files for control configuration based on an arbitrary list of games?

Here's my situation. My control panel is laid out like this:
J1 a b c d S J2 e f
where J are the joysticks and a-f are the buttons

When playing single player, or 2 player(non-simultaneous games) with 2 buttons, I like to use J1 and buttons e & f so Im stnading straight on to the monitor. Ive got it mapped by default so that P1B1 is a OR e, and P1B2 is b OR f.
THe problem is that when playing a 2p simultaneous game(bubble bobble, shooters, tetris, etc) I need to remap the config so that p1b1 is only a, and e is only p2b1. Its not too bg a deal since when I remap it the first time it stays every time I play that game

I know about the different .ini files, but I dont think thatd do what I want. Id like to be able to make a 1p.ini using the first config, and a 2p.ini for the latter. Im using a stock build of windows mame(v65 i think)

Is it possible to put all the 2p simul games in one directory, along with a default.ini file having the correct config, and the 1p games in another directory with its own default.ini- so that when a game is played it checks that directory for the .ini and loads the correct one? Other than that I dont know how to do it other than making .ini files for each parent game that's 2p simul, and that honestly seems liek a pain in the ass. Or is there a way to put a game list inside the .ini file, to tell it which games should use whch ini?

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 01:05:18 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Mame .ini's for different games?
« Reply #1 on: January 17, 2004, 07:49:12 pm »
sorry, but you can't do that with a stock build of mame.  You can make ctrlr files on a per screen type, per control type, per driver, per cloen and per rom basis only.  

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Mame .ini's for different games?
« Reply #2 on: January 17, 2004, 11:26:35 pm »
If you use NoNameMame that include my hacks you can make ini files that execute upon number of players and number of buttons.  however ther isn't anything to determine if the game is 2 player alternating or not.  mame doesn't have anyhing to distinguish that.