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: X-Arcade control Cfg files for all SNK NeoGeo games  (Read 9135 times)

0 Members and 1 Guest are viewing this topic.

livelike

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:June 10, 2024, 02:20:59 am
X-Arcade control Cfg files for all SNK NeoGeo games
« on: January 14, 2009, 06:12:01 pm »
Recently I found out that Mame general control mapping, does not always work ok for SNK games. There are some helpful threads on this. Recently I created the individual control cfg files for all neo geo games (I think I got them all). These are for use with X-arcade controllers (I have a tankstick).

Just unzip the contents on your "cfg" folder. Don't forget to make a backup first!!!


Hope this will be usefull to someone.
Cheers    :cheers:

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: X-Arcade control Cfg files for all SNK NeoGeo games
« Reply #1 on: January 15, 2009, 01:43:50 pm »
You can do the same in one ctrlr file, and that map only once in that file, instead of 203 times.  Plus in 0.129, there's over 225 neogeo games.  In fact, the official mame binary come with a ctrlr file for the x-arcade with neogeo already set up. (file not DL with mameUI, though you can copy the ctrlr file from the official binary).  To use that ctrlr file, only one line of the mame.ini file (one select list in mameUI) needs to be changed.

I'm not saying you can't map each game individually like in the OP's attachment.  Just that there are easier and cleaner ways, cfg files are more likely to break between version upgrades than ctrlr files, ctrlr file will work on all added neogeo games automatically while a new cfg file would be needed, and (although it appears not true for neogeo games) the game specific cfg files can and do hold more info than input maps so those stuff saved can be lost if you drop another cfg file over it.

As an alternative to the 203 cfg files, I attached the xarcade ctrlr file, if you don't have it already (mameUI or sompile your own).  Then edit mame.ini with ctrlr xarcade.
Robin
Knowledge is Power

livelike

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:June 10, 2024, 02:20:59 am
Re: X-Arcade control Cfg files for all SNK NeoGeo games
« Reply #2 on: January 15, 2009, 08:31:55 pm »
Thanks a lot u_rebelscum! that is a MUCH cleaner way. The odd thing that I have noticed, with the latest MALA release, is that it does not load the changes saved to the mame ui (using tab), I mean, if I set in mame32 (v 0.117) the xarcade.cfg file as defult control, and then make some changes trough the general input (tab menu),  everything loads fine directly from MAME, but if I start a game through MALA, it doesnt load them. The wrong settings only apply to neogeo games. Same with all the cfg files I attached in my original post. I´m not sure if MALA overwrites or simply ignores these configurations. Its drives me nuts, as this is the reason I did the individual cfg files in the first place.  I already edited the mame.ini with ctrlr xarcade.......  ???

I already had an xarcade cfg file (("Copy of xarcade.cfg"), and after comparing it to yours, there are some differences (mine is on left), like the "_" before the "PAD". I already tried both files and get the same problem with neogeogames launched with Mala. I also noticed that the individual game cfg are reset when launching a game. For example I attached my own aof.cfg file, and the one modified by Mala just after launching the game..... Again, mame32 loads the configurations just fine, but Mala overwrites them. :badmood:

I found a similar issue with Maximus Arcade (http://forum.arcadecontrols.com/index.php?topic=82619.0), not sure if it would a bug in Mala too? is anyone having the same problem (specially with neogeo games+mala)?

Thanks

« Last Edit: January 16, 2009, 12:18:37 pm by livelike »

livelike

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:June 10, 2024, 02:20:59 am
Re: X-Arcade control Cfg files for all SNK NeoGeo games
« Reply #3 on: January 16, 2009, 02:26:59 pm »
Probably this should be moved to the Mala forum  ???

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: X-Arcade control Cfg files for all SNK NeoGeo games
« Reply #4 on: January 16, 2009, 06:56:01 pm »
First, you're using an older version than I am, which is why the "_" differences.  When mame added multiple keyboard support, the underscore was removed from the 2_pad to remove confusion in mame that keycode_2_pad wasn't keyboard 2, with the "pad" (non-existant) key.  Now a number between two underscores is the keyboard number.  Use the format that works with your version; I one I supplied won't work with 0.117 for the p1 joystick because of the change.


Next, does mala have different settings than mameUI?  If one of a few options are changed, such as inipath, ctrlrpath, ctrlr, or readconfig, or mala puts them on the call mame commandline, then settings will work differently.  At least try coping mamefolder\ini\mame32.ini to mamefolder\mame.ini.  (Hmm, or is mala not calling the same mameUI as you are running straight?)


Last, you copied & renamed mslug.cfg file, right?  The system name in aof.cfg should be "aof" (on line four).  If you want the cfg files to work, the same will need to be done to all cfg files, and that's assuming (very likely with neogeo games, actually) that all the games have the same mask, index, and defvalue.  But if the ctrlr file was working, then you won't need the game specific cfg files anyway.  (I'm going to claim I didn't notice it before cecause I only looked at mslug.cfg file, but I should have looked at or compared at least two of the cfg files. :-[)

Try this: remove the cfg files from the cfg folder, set ctrlr xarcade with your xarcade.cfg file, and try mameUI and see if the neogeo buttons are correct, then try mala.  This removes confusion on what's working and what's not working.  I think it's just mala sending mameUI a different setting, and the cfg file isn't working in either mameUI or mala.


If it's a mala config thing, then I can't really help much...

Probably this should be moved to the Mala forum  ???

It's at least partially mame cfg & ctrlr file stuff.  This is the right place for that.
Robin
Knowledge is Power

livelike

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:June 10, 2024, 02:20:59 am
Re: X-Arcade control Cfg files for all SNK NeoGeo games
« Reply #5 on: January 19, 2009, 05:00:27 pm »
Thanks again u_rebelscum! I double checked the mameui and Mala settings, and everything seems to point to the same folders. so far I get the same results, but I still need to try your other suggestions. The only "fix" that worked for me was the not so clean way (a cfg for each game). I noticed that the games having this issue are only neogeo games from 1990- today, so I corrected the wrong text of each file (mslug2) and matched to its file name. These games seem to be working fine now within Mala. I will keep on trying to find out what configuration might be wrong.

I'm attaching the fixed file, in case it will help somebody. :)

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: X-Arcade control Cfg files for all SNK NeoGeo games
« Reply #6 on: January 21, 2009, 02:01:06 pm »
...I double checked the mameui and Mala settings, and everything seems to point to the same folders. so far I get the same results...

If the two act differently, something is different between the two.  I don't use MaLa, so I'm not much help in making sure they are looking at the same places, using the same files, and overall using the same settings.  You might want to ask about MaLa not acting the same as mameUI at the Mala forum.

Sorry that I wasn't more help. :-\
Robin
Knowledge is Power