Main > Software Forum

why does ctrl file not take for some games?

Pages: << < (2/2)

ErikRuud:

You have not setup those cotrlr files correctly.

read the ctrlr.txt file ic mame/docs

P1_BUTTON4   "KEYCODE_;" should be "KEYCODE_COLON"

P1_BUTTON7   "KEYCODE_'" should be "KEYCODE_QUOTE"

P2_BUTTON7   "KEYCODE_\" should be "KEYCODE_BACKSLASH"

P2_BUTTON1  "KEYCODE_T should have a closing quote after the _T.  This is might be screwing up everything else following it in the file.

You also have a lot of keys assigned to"KEYCODE_".  I don't know what that is supposed to be, but it is not valid.


Howard_Casto:

KEYCODE_  is VERY bad.....

programatically in mame, it says "create a generic input port for an external program to use and send ALL  keycode data through this port."  This is kept in place for joysticks that have more than 10 buttons, but what you are saying is "any keyboad key that's unlabeled" and there are more than one, which is confusing mame.  As you can imagine, all manner of crap happens when you do crazy stuff like that.  

Besides that, the ctrlr files don't exactly do a super job of filtering out bad inputs, so when you add them, there's no telling what mame will think you mean.  

Long story short, like I said before.... user error.  Reading is a good thing.  Asking questions before reading is a bad thing,  ;)

Shieldwolf:

pay no attention to KEYCODE_ its not actually in mame I was changing then names for those keys which is why they are blank.
Thanks for helping on the others.

SirPoonga:

It also might be that some games have the controls hard coded.,

Pages: << < (2/2)

Go to full version