› Foros › Retro y descatalogado › Consolas clásicas
Guybrush escribió:Es que toma el control direccional como el analógico izquierdo, y no es configurable. Muchos emuladores lo tienen en cuenta, y si hay un control digital se usa también. Otros, como mame o neorageX no :\
Here's the .ini way to do it:
In your MAME32 directory, there's a folder called ctrlr. Any folder in there gets an entry in the "default input layout" section of the game options. When you launch a game, it looks for the controls in [game directory].ini, and anything not defined there it gets from the default.ini in that folder.
For example, in my ctrl directory, I have a directory called "Logitech" for my Dual Action. In that directory, I have a bunch of files:
My default.ini has lot more than this in it, but you get the idea:
P1_JOYSTICK_UP "JOYCODE_1_UP | J1_Hat_Switch_U"
P1_JOYSTICK_DOWN "JOYCODE_1_DOWN | J1_Hat_Switch_D"
P1_JOYSTICK_LEFT "JOYCODE_1_LEFT | J1_Hat_Switch_L"
P1_JOYSTICK_RIGHT "JOYCODE_1_RIGHT | J1_Hat_Switch_R"
P1_BUTTON1 "JOYCODE_1_BUTTON2 | MOUSECODE_1_BUTTON1"
P1_BUTTON2 "JOYCODE_1_BUTTON3 | MOUSECODE_1_BUTTON2"
P1_BUTTON3 "JOYCODE_1_BUTTON1 | MOUSECODE_1_BUTTON3"
P1_BUTTON4 "JOYCODE_1_BUTTON4"
P1_BUTTON5 "JOYCODE_1_BUTTON5"
P1_BUTTON6 "JOYCODE_1_BUTTON6"
P1_BUTTON7 "JOYCODE_1_BUTTON7"
P1_BUTTON8 "JOYCODE_1_BUTTON8"
Then, to make it work right for Super Street Fighter 2, I have this file in there:
ssf2.ini
P1_BUTTON1 "JOYCODE_1_BUTTON1"
P1_BUTTON2 "JOYCODE_1_BUTTON4"
P1_BUTTON3 "JOYCODE_1_BUTTON6"
P1_BUTTON4 "JOYCODE_1_BUTTON2"
P1_BUTTON5 "JOYCODE_1_BUTTON3"
P1_BUTTON6 "J1_Button_7"
Then, I've copied that file to xmcota.ini, vsav.ini, and so on. Note that JOYCODE is the generic keyword, but for some reason on buttons higher than 6, it needs a more specific string that I don't really know where it comes from. There's a file somewhere in the MAME docs that describes this stuff in more detail. It's a pain, but I can copy my control configurations to my living-room PC this way.
In MAME32, I go into my default game options, go to the controller tab, and set the default input layout to "Logitech".
I have a few files already defined for my Logitech Dual Action, though some don't quite behave perfectly and I never got around to fixing them. If you want them, PM me your email and I'll send them to you.