Control de usuario
Patrocinadores
Estadísticas
Miembros:
334.590
Online:
753
Hilos:
1.380.503
Mensajes:
24.879.035
Stats

Índice de foros Otras Consolas Consolas clásicas

¿Mame compilado para XPADDER?

Para recordar esos momentos tan buenos que nos han hecho pasar...

Moderador: sd-snatcher

Guybrush
Avatar de usuario
Molo oficialmente
 
Mensajes: 9465
Registrado: 01 Nov 2001
Ubicación: Huesca

¿Mame compilado para XPADDER?

Mensajepor Guybrush 02 Feb 2012 12:03

Como muchos ya sabréis, a la hora de jugar emuladores con mandos de xbox, los drivers detectan la cruceta digital como un "control de POV", así que algunos emuladores (entre ellos mame) te obligan a jugar con el analógico en lugar de con el stick digital. Y a parte de ser un pesadilla conceptual, con un arcade stick de xbox directamente no puedes jugar. En casi todos se puede solucionar con XPADDER, un programa que conocereis por mapear el teclado en en el pad, y va fetén para estas cosas.

Bien, el tema es que con MAME, desde hace muuuuuchas versiones, cambiaron la toma de pulsaciones de controles a lo que denominan "modo raw", y aunque uses XPADDER la pulsación de la tecla emulada se ignora y se toma directamente la pulsación del pad, jodiendo el asunto y evitando que podamos jugar con xpadder activado.

La cuestión es que he leído que cambiando una línea de código esto se soluciona, pero después de horas buceando buscando información y encontrando al fin DONDE había que cambiar ese valor (vaya mierda de tutoriales hay por ahí), el código fuente ya no incluye esta sentencia, ha cambiado, o no la se encontrar, y para mas cachondeo los tutoriales de compilación que encuentro son para MAME, no para MAMEUI.

Si alguien me encontrara un MAMEUI64 ya compilado para poder usar programas tipo XPADDER se lo agradecería. Un saludo!
Imagen

puch666
Avatar de usuario
idle
 
Mensajes: 1723
Registrado: 10 Nov 2005

Mensajepor puch666 02 Feb 2012 13:46

Que extraño que no te permita usar la cruceta digital. Yo tuve mandos con "Control de POV" y recuerdo que en Windows si lo podía configurar (igual hace un tiempo ya de esto). No se si lo que dices será algo en particular del pad de xbox360.

Si no encuentras una solución con MameUI quizá puedas probar SDLMame. Yo utilicé la versión de linux con distintos tipos de mandos y sin problemas (aunque no probé ninguno de x360).

Saludos

Guybrush
Avatar de usuario
Molo oficialmente
 
Mensajes: 9465
Registrado: 01 Nov 2001
Ubicación: Huesca

Mensajepor Guybrush 02 Feb 2012 14:22

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 :\
Imagen

puch666
Avatar de usuario
idle
 
Mensajes: 1723
Registrado: 10 Nov 2005

Mensajepor puch666 02 Feb 2012 15:33

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 :\


¿Probaste ésto?

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.


En éste hilo hay más información. Incluso comentan de unos drivers open source. Ya tiene unos años esa información pero quizá sirva.

Saludos.

Guybrush
Avatar de usuario
Molo oficialmente
 
Mensajes: 9465
Registrado: 01 Nov 2001
Ubicación: Huesca

Mensajepor Guybrush 02 Feb 2012 16:00

Mejor todavía, soy tan inútil que no había probado la última versión (144, tenía la 141) y aquí SI pilla la cruz digital al remapear, y como pones tu efectivamente la toma como J1_Hat_Switch_X


1000 gracias! :)
Imagen

puch666
Avatar de usuario
idle
 
Mensajes: 1723
Registrado: 10 Nov 2005

Mensajepor puch666 02 Feb 2012 16:22

Me alegro de que funcione :)


Volver a Consolas clásicas

¿Quién está conectado?

Usuarios navegando por este foro: No hay usuarios registrados visitando el foro y 1 invitado