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: Setting controls for all neo-geo games in mame  (Read 4617 times)

0 Members and 1 Guest are viewing this topic.

Tzakiel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 272
  • Last login:March 02, 2019, 12:59:01 pm
  • I want to build my own arcade controls!
Setting controls for all neo-geo games in mame
« on: December 02, 2013, 03:09:10 pm »
I have my buttons wired as:

1237
4568

Capcom games all work straight "out of the box" but neo geo 4-button games are all wrong. I know I can enter each game, hit Tab, and start assigning buttons, but I was wondering if there is an easy way to assign controls to all games that use the neo geo bios? For instance, I set KOF98 up correctly, and so it has the CFG file... any way to apply that CFG file to the neo geo bios and all games that use it?  I read some things about ctrlr files but it seemed out of date - is that still the right way to go?
My Fighter CRT Cabinet Thread: Tzakiel's 2P Cabinet

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 02:05:45 pm
  • ...
Re: Setting controls for all neo-geo games in mame
« Reply #1 on: December 04, 2013, 09:20:41 am »
The method I was using to copy ini files for a given resolution should work for this.
Started to write instructions, but it was quicker to just do it.  ;D

Change the extension on the attached file to .bat, stick it in your cfg folder along with the good kof98.cfg file (not kof98k, kof98ka or kof98h), and then run it.

Quick explanation is that I generate a list with Mawler (selected neodvr under driver in deluxe search):
 http://forum.arcadecontrols.com/index.php/topic,129498.0.html
Then copy (ctrl C) and paste that into a spreadsheet that generates the lines for the batch file (copy and paste column D into notepad).
http://forum.arcadecontrols.com/index.php/topic,135430.msg1398759.html#msg1398759
There are smarter ways to go about it if you know how to write batch files, but I work with what I know how to use.

« Last Edit: December 04, 2013, 09:24:35 am by BadMouth »

Tzakiel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 272
  • Last login:March 02, 2019, 12:59:01 pm
  • I want to build my own arcade controls!
Re: Setting controls for all neo-geo games in mame
« Reply #2 on: December 04, 2013, 09:28:57 am »
Thanks, I will give that a try Badmouth.
My Fighter CRT Cabinet Thread: Tzakiel's 2P Cabinet

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Setting controls for all neo-geo games in mame
« Reply #3 on: December 04, 2013, 11:16:10 am »
Use a ctrlr file.  Look at the one of the included ones as an example.  They have one section named neogeo and then all neogeo games are mapped.

Dawgz Rule

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Last login:August 22, 2024, 07:18:55 pm
  • The more people I meet, the more I like my dogs
Re: Setting controls for all neo-geo games in mame
« Reply #4 on: December 04, 2013, 03:02:45 pm »
 :stupid  What he said.  A ctrlr file will do the trick pretty readily.