Main > Main Forum

ctrl file in mame - how to get the right system name

(1/2) > >>

blind_dado:
I read the wiki on how to edit ctrl files, which was very helpful, but I have a remaining question.  The wiki gives as an example, remapping the buttons for all NeoGeo games by using the system name “neogeo.”  But how would I know that was the name of the system?  When I look up, for example, Metal Slug on Maws (or use the mame command) it says that the driver source is neodrvr.c.  How do I get neogeo from that?  The reason I ask is that I’m trying to remap the buttons for all CapCom games and the only thing I can find is that the driver source for a particular CapCom game is cps2.c.  I put that for system name in my ctrl file, but it didn’t work.  I know the rest of the ctrl file works, because if I change the system name to mvsc (for just that game) it remaps the buttons just fine.  It’s just not doing it for all CapCom games.  I think I just need the correct system name.  Any ideas about how to find this out?

Dazz:
I too am having issues with ctrl files...  I want to have a setup for Neo Geo and use my buttons, but even after reading the Wiki many times I still don't really understand how it works.


This is my button setup that I would like to setup:

P1:

. ASD
. ZXC
V

P2:

. UIO
. JKL
'

How would I set that up for using VZXC and 'JKL only for Neo Geo games?

severdhed:

--- Quote from: blind_dado on January 21, 2009, 10:50:44 am ---I read the wiki on how to edit ctrl files, which was very helpful, but I have a remaining question.  The wiki gives as an example, remapping the buttons for all NeoGeo games by using the system name “neogeo.”  But how would I know that was the name of the system?  When I look up, for example, Metal Slug on Maws (or use the mame command) it says that the driver source is neodrvr.c.  How do I get neogeo from that?  The reason I ask is that I’m trying to remap the buttons for all CapCom games and the only thing I can find is that the driver source for a particular CapCom game is cps2.c.  I put that for system name in my ctrl file, but it didn’t work.  I know the rest of the ctrl file works, because if I change the system name to mvsc (for just that game) it remaps the buttons just fine.  It’s just not doing it for all CapCom games.  I think I just need the correct system name.  Any ideas about how to find this out?

--- End quote ---

i dont know exactly what system name to use for capcom games...but to answer the question about the neogeo...

neogeo.zip is the bios rom file needed to play neogeo games.  i believe when you are specifying systems in the ctrl files, you specify the name of the bios file required.  (i'm not 100% certain on that, but i think that is how it works)

Morpheus:
Hey Guys...

I wrote a program to create Mame CFG files automatically, basically because of the issues that you are having. A brief description:


--- Quote ---I have a seven button layout on my control panel:
_000
0000
Pretty standard, the six buttons on the right for fighting games, bottom row of four butttons for Neo Geo, and other four button games. I started this project because I had made a CTLR file for NeoGeo games, but that left me with 234 Non-NeoGeo, no-clone, four button games that didn't use the 4 button layout that I wanted. Another example would be that for trackball games, you could map buttons on either side of the trackball to be used in the games, so that either hand could be used for the trackball. I wanted a way to mass produce Mame Cfgs based on options that I could choose myself.
--- End quote ---

You can find the program here: http://www.gameex.info/forums/index.php?showtopic=6843&st=0&gopid=51476&#entry51476

I am Tempest on the GameEx forums, if you have any questions, post in that thread, I check it often...

headkaze:

--- Quote from: Dazz on January 21, 2009, 12:01:44 pm ---How would I set that up for using VZXC and 'JKL only for Neo Geo games?

--- End quote ---

A single "neogeo" entry in a ctrlr file would suffice. I think u_rebelscum has some decent instructions here.

Navigation

[0] Message Index

[#] Next page

Go to full version