terran
January 24th, 2004, 05:09
I'm having trouble with analog control. I'm using ammoQ's padJoy plugin, which is the only one I've found which supports analog input at all. The plugin works just fine until I check the "analog" box, and then it starts having problems.
I've tried it with two games, Gauntlet and Chrono Cross, and both have had trouble of one sort or another. Gauntlet tends to hang on the initial splash screen, but if I reboot enough times, it will eventually load (race condition of some sort?). Chrono Cross, on the other hand, will start up fine, but won't recognize any input whatsoever. Rebooting it lots of times didn't ever cause it to get lucky. Both games work normally with the analog input turned off.
To try to ascertain whether the problem was in the plugin or PCSX, I edited plugins.c in PCSX and hacked the ID byte for the analog pad from 0x73 to 0x41, falsely identifying it as a normal pad. Everything worked. (without analog functionality, of course).
I'm using PCSX version 1.5, and the padJoy plugin version is 0.8.2 (identifies as 1.0.8 in plugin select box). The kernel version is 2.4.22, and I've tried a couple of different USB joypads with identical results. I tried different BIOSes with no improvement. I also tried identifying the input device as the analog joystick and a couple of others, and everything that was NOT the standard pad had the same problems.
I have no idea how to trace the problem further. Could anyone point me in the right direction about how to debug this? I know only a couple of assembly languages, and R3000 isn't one of them, so tracing through the disassembled game to figure out what's going on is not a viable option for me.
:hdbash:
I've tried it with two games, Gauntlet and Chrono Cross, and both have had trouble of one sort or another. Gauntlet tends to hang on the initial splash screen, but if I reboot enough times, it will eventually load (race condition of some sort?). Chrono Cross, on the other hand, will start up fine, but won't recognize any input whatsoever. Rebooting it lots of times didn't ever cause it to get lucky. Both games work normally with the analog input turned off.
To try to ascertain whether the problem was in the plugin or PCSX, I edited plugins.c in PCSX and hacked the ID byte for the analog pad from 0x73 to 0x41, falsely identifying it as a normal pad. Everything worked. (without analog functionality, of course).
I'm using PCSX version 1.5, and the padJoy plugin version is 0.8.2 (identifies as 1.0.8 in plugin select box). The kernel version is 2.4.22, and I've tried a couple of different USB joypads with identical results. I tried different BIOSes with no improvement. I also tried identifying the input device as the analog joystick and a couple of others, and everything that was NOT the standard pad had the same problems.
I have no idea how to trace the problem further. Could anyone point me in the right direction about how to debug this? I know only a couple of assembly languages, and R3000 isn't one of them, so tracing through the disassembled game to figure out what's going on is not a viable option for me.
:hdbash: