Main > Software Forum

Setting controsl in MAME. Left Ctrl vs LeftCtrl Right Ctrl?

<< < (5/6) > >>

SirPoonga:

--- Quote from: Minwah on February 15, 2006, 10:39:09 am ---Something that just entered my head is how about making the ctrlr file always take priority over cfg files.  So, if a ctrlr entry for a given game exists, MAME totally ignores the cfg file for that game (control-wise).  This wouldn't affect anyone who doesn't use ctrlr files (most mame users), and people with a ctrlr file with game-specific entries would know to expect this behaviour.  It might get a bit more complicated when thinking about driver/clone level etc...

--- End quote ---
This will be "fixed" if the controls are taken out of the cfg files.  As howard said, it would be best to seperate them to ctrlr files and have an in mame way of editting it.  this will involve not only editting the game's controls, but everything possible higher up in the hierarchy.

Minwah:

--- Quote from: SirPoonga on February 15, 2006, 11:45:18 am ---This will be "fixed" if the controls are taken out of the cfg files.  As howard said, it would be best to seperate them to ctrlr files and have an in mame way of editting it.  this will involve not only editting the game's controls, but everything possible higher up in the hierarchy.

--- End quote ---

I agree (read my posts), but for the moment at least this isn't going to happen (in official mame).  I suppose a way around it would be to use seperate ctrlr files for each game/driver/whatever (similarly to the old ctrlr ini files), but I don't know if this will go down well either.

SirPoonga:
Maybe someone can start working on it for powermame???

Howard_Casto:
I always thought the new method of storing every game's ctrrlr data in a single file is rather silly anyway.  I suppose mame itself wouldn't have any problem, but any file format parser (ini, xml, ect) get's bogged down once the file reaches a certain size. 

And as Aaron pointed out, if the file gets corupted too badly you are screwed.  Perhaps ctrlr files need to be replaced by a third type of file that is basically the cfg minus the dip/bookkeeping data and THEN the cfg files need cleared of key data. 

I could see a "cfg" folder and a "keycfg" folder.  The only additions being added from traditional cfgs would be the ability to make driver and parent specific files.  And of course edit them in-game. 

Since you would be able to set the keycfg path in your mame.ini, much like you do now with mame's folders, you would still have ctrlr-like functionality and a "hotrod keycfg" or a "slickstik keycfg" folder could still be included with the default build.  Or even do it with the sub-folder method, much like it was done in the ini days. 

Minwah:
I think that would work Howard.  Rather than invent a third type of file though, why not just split up the ctrlr file and support multiple files (game/driver specific etc.).

I reckon this would work pretty well.  Create your own ctrlr file(s) if you like and never have to mess with cfg files.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version