kodi-game / game.libretro.pcsx-rearmed

PCSX ReARMed game client for XBMC
https://github.com/libretro/pcsx_rearmed
4 stars 11 forks source link

Analog mode not enabling in some games #25

Open pierre-quelin opened 2 years ago

pierre-quelin commented 2 years ago

I can't play to Gran Tourismo 2 in analog mode. I love this game but it is unfortunately not usable only because the controller remains in digital mode. With the real console, it is necessary to press the "analog" button after starting the game to switch to analog mode.

To reproduce, it's very easy just start the game ;-) but you need the rom.

Screenshots PCSX-Options GT2-Options

Used Operating system:

Operating System 1 :

or Operating System 2 :

I don't know if it's similar but I found this: https://github.com/stenzek/duckstation/issues/382

garbear commented 2 years ago

Thanks for reporting the issue. Is this the same problem as https://github.com/kodi-game/game.libretro.pcsx-rearmed/issues/22?

Recently I merged a new feature, the Port Dialog, that should resolve this issue: https://github.com/xbmc/xbmc/pull/20505

Unfortunately, I think an unrelated change in master broke the dialog, but if so it should have been fixed recently. My holiday break ends tomorrow, so I'll see if I can do some testing today.

If you're using Kodi 18, you can try my test builds based on Kodi 18. I do RetroPlayer-based LibreELEC builds on request. You can find my last round of LE builds if you visit https://github.com/garbear/xbmc/releases/ and scroll back a few releases (expand "Assets").

pierre-quelin commented 2 years ago

Thanks for your help but I think the problem is different. In my case, the controller works correctly but in digital mode (legacy mode). The game seems to have to be informed when the analog mode is activated. I will try your evolution anyway. T.Y.

There's no addon for LibreElec. How to Build ? I don't have a lot of time. sry.

pierre-quelin commented 2 years ago

No news? Am I the only one concerned?

garbear commented 2 years ago

I fixed (https://github.com/xbmc/xbmc/pull/20812) the port dialog problem and now the dialog works flawlessly, so that's progress. When I get a chance, maybe this weekend, I'll see if I can get Gran Tourismo 2 working. I'm not really sure about the analog/digital stuff you mention but you were very descriptive so once I sit down and experiment I should learn everything I need to get it working.

I can do LE builds. I'll ask in their slack about the status of the PCSX core.

pierre-quelin commented 2 years ago

Hello. Sorry, is there some news? May be just confirm? TY

pierre-quelin commented 2 years ago

I select Dualshock again and it's solved ??? Thank you

pierre-quelin commented 2 years ago

I understood what happened. In order to obtain a functional analog mode, it is necessary to perform the following procedure every time you want to play:

Now I have to understand why there's no vibration and why the dead zone is much bigger than on the original. ;-)

garbear commented 2 years ago

Kodi does deadzone compensation, and my guess is that the emulator is applying even more. You can disable or reduce zeadzones at Settings -> System settings -> Input -> Peripherals (it's a setting of peripheral.joystick).

Deadzone should be handled by the frontend not the emulator, so if you verify that the emulator is doubling the deadzone we can patch that out and maybe upstream.

pierre-quelin commented 2 years ago

TK a lot !!! You're great for the dead zone ! The last :