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: Creating a ctrl cfg?  (Read 1260 times)

0 Members and 1 Guest are viewing this topic.

CrispyXUK2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:July 26, 2006, 11:49:06 am
  • minty
Creating a ctrl cfg?
« on: December 20, 2005, 11:03:39 am »
How would I go about this? I have everything setup nicely with 2x6 button pads and would like to create a seperate cfg for neogeo and mortal kombat games, is there an app about? or does it have to be done manually?

Cheers
-----------------------------------------------
"Ambition makes you look pretty ugly,
kicking squeling gucci little piggy"

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re: Creating a ctrl cfg?
« Reply #1 on: December 21, 2005, 02:44:26 am »

CrispyXUK2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:July 26, 2006, 11:49:06 am
  • minty
Re: Creating a ctrl cfg?
« Reply #2 on: December 21, 2005, 06:06:03 am »
Yeah I tried that, it went way over my head

Is there not an easy way to change controls on a per driver basis?

Cheers
-----------------------------------------------
"Ambition makes you look pretty ugly,
kicking squeling gucci little piggy"

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: Creating a ctrl cfg?
« Reply #3 on: December 21, 2005, 07:55:17 pm »
Is there not an easy way to change controls on a per driver basis?

"Easy"?  Depends what's easy for you.  To me, ctrlr is very easy.

  • 1) Copy cfg/defualt.cfg to ctrlr folder (if you want your ctrlr default to be different from mame's default, set up the cfg with the normal tab, input general).
  • 2) Rename it whatever you want. 
  • 3) Open file in text editor.
  • 4) Copy everything from <system name="default"> to  </system>.
  • 5) Paste AFTER the last </system>.
  • 6) Change name="default" to name="XYZ", where XYZ is the driver name (AKA "neogeo").  (It could also be the gamename or parentname, but all <system> drivers should be after the default, all parentnames should be after all drivers, and all gamenames should be after there parent name, if any.)*
  • 7) Make changes.*
  • 7a) (optional) It's a good idea to delete the lines that are not different from the default ones so changes to to the default in the ctrlr file also take effect.
  • 8 ) Save.
  • set mame/mame32 ctrlr to whatever you named the file in step 2)

*If these two steps are not easy enough, replace steps 4-7 with: start a neogeo game, set tab input (this game), exit, open the game's cfg file in same text editor, copy the system stuff, paste in the default ctrlr cfg file you already have opened in step 3) AFTER the default system, rename the sytem name to neogeo (name=neogeo), (optional) delete the none <input></input> stuff in the neogeo <system>, goto step 8 ).

Also, good examples come with mame; check out ctrlr/hotrodse.cfg.  Heck you could probably just edit the hotrodse.cfg file.

See, easy.  8)  BTW, easyemu's page is pretty good; just don't confuse the first third of the page (the new ctrlr cfg way) with the last two thirds (the old ctrlr ini way), and don't read it drunk/wasted/sleepy with the default small font ([ctrl +] in firefox/mozilla; view,font size in IE).
Robin
Knowledge is Power