PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
Other
10.61k stars 1.54k forks source link

[BUG]: Can't get the tilt function in Guitar Hero to work by moving the X-Plorer wired Xbox 360 guitar (auto-mapping or manual mapping) #10906

Open Gagert opened 3 months ago

Gagert commented 3 months ago

Describe the Bug

I have PCSX2 pre-configured to work as expected with my X-Plorer wired guitars on a previous build of PCSX2, in other words one of the latest versions of the old and deprecated wxWidgets builds of PCSX2 (v1.7.2804-windows-64bit-AVX2-wxWidgets).

Here's my setup for the guitar mappings in this old build:

Guitar Hero wgwidgets mapping

It took some time for the Qt builds of PCSX2 to incorporate guitar support, but to my knowledge this functionality did arrive quite some time ago. Not long ago I tried to fully migrate over to the Qt builds of PCSX2, with that configuring my X-Plorer wired guitars to PCSX2.

The auto-mapper settings did not get all the buttons mapped correctly on my X-Plorer guitar (as seen here #10905), but by either mapping the tilt function manually or using the results on the auto-mapper, I could not get to use the star powers in Guitar Hero at all by tilting the guitar controller in the Qt-builds of PCSX2. On the old wxWidgets builds of PCSX2, I have no issues of doing just that.

Here's the tilt mapping generated by the auto-mapper:

Guitar Auto mapped

Here's the user mappings made by me, with multiple mappings for the tilt function:

Guitar Hero user mapping

Here's my global settings for this controller profile:

Guitar auto mapped settings

I've even tried to manually override the guitar settings for a newer Qt build in PCSX2 with the tilt functionality mapped to Right Thumb Y+ (the name may differ a bit in the Qt builds) to have the same mappings for tilt in wxWidgets & Qt, but that didn't do anything either.

Reproduction Steps

I suppose all reproduction steps are listed in the section above.

Expected Behavior

No response

PCSX2 Revision

v1.7.5603

Operating System

Windows 11

If Linux - Specify Distro

No response

CPU

i7-12700KF

GPU

GTX 1080 Ti

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

No response

AtlasRedux commented 4 weeks ago

3 months later and this is still an issue. Tilt does simply not work still.

refractionpcsx2 commented 4 weeks ago

Your button seems to be mapped to two buttons at once, so you would need to do them both in combination. You might need to hold in the whammy bar when mapping it.

I've not heard anybody else having trouble with this.

AtlasRedux commented 4 weeks ago

Your button seems to be mapped to two buttons at once, so you would need to do them both in combination. You might need to hold in the whammy bar when mapping it.

I've not heard anybody else having trouble with this.

I've edited out the second input that it registers (it always registers both inputs no matter what, both in SDL and X-Input, and both "works" if edited in). The tilt still doesn't do anything 90% of the time, and even then you need to violently shake it. Then it randomly kicks in. My guitar is in pristine standing and works on Guitar Hero World Tour directly on PC.

refractionpcsx2 commented 4 weeks ago

I'm pretty sure it registers both because when the whammy bar is depressed (normal position) it's like you're holding an analog/trigger stick in a specific direction, so you have to hold the whammy bar down else it'll try to map that too, and it might not work because the button state doesn't change.

AtlasRedux commented 4 weeks ago

I'm pretty sure it registers both because when the whammy bar is depressed (normal position) it's like you're holding an analog/trigger stick in a specific direction, so you have to hold the whammy bar down else it'll try to map that too, and it might not work because the button state doesn't change.

It doesn't matter. Even if you hold it down, both are registered. AND AGAIN, AS I SAID, I've tried editing out either in the config file directly and it does absolutely nothing. It still doesn't kick in 90% of the time, and that even when violently shaking. ALSO, the whammy is on a different axis, it's not that one which is interfering. The whammy is on the X axis, the tilt is on the Y axis AND left trigger. And again, removing and keeping either one does no change.

Gagert commented 2 weeks ago

I've tested this again myself, and my results were pretty much what @AtlasRedux got.

My X-Plorer Guitars works flawlessly on Guitar Hero titles released on the Wii using the Dolphin emulator, as well as no issues found when using Clone Hero and the older wxWidgets builds of PCSX2 with the very same guitars. It looks like somethings must have got lost in translation in regards to guitar support after PCSX2 got guitar support re-implemented in the Qt-releases of PCSX2.

I have 4 X-Plorer Guitars (which I bought used online some time ago), and they all work excellent in the software as listed above, no issues using special powers with the Tilt functionality. Neither of my X-Plorers managed to successfully activate the special power all the time (maybe 10% of the time it randomly kicked in) while using the Tilt functionality when I originally created this bug-report. I also edited the input config file (mine is named Guitar Hero.ini) to get rid of double bindings initially, but that didn't have any effect at all.

Thus I tried unsuccessfully to map the Tilt function within the PCSX2 Controller Settings menu once more (got double bindings then and so on). That's why the double bindings can be found in the screenshot I posted at the beginning of this thread.