LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [Auto-solved] Generic Joypad not working in PPSSPP (https://www.linuxquestions.org/questions/slackware-14/%5Bauto-solved%5D-generic-joypad-not-working-in-ppsspp-4175603958/)

Spike8605 04-16-2017 12:26 PM

[Auto-solved] Generic Joypad not working in PPSSPP
 
Hello to all slackers, I had a problem with my usb generic game controller and PPSSPP.
It was not reconized by the emulator. However it worked perfectly everywhere else including sdl-jstest and sdl2-jstest.

After launching it through a console it showed a "/usr/games/assets/gamecontrollerdb.txt: FAILED! Please place gamecontrollerdb.txt in your assets directory"

A locate gamecontrollerdb.txt showed it was in /usr/share/ppsspp/assets instead of the expected (by ppsspp engine) /user/games/assets together with a few other *.ini the console output showed missing.

Ofcourse copying the directory fixed the problem.

I'll leave that here for reference.

I don't know weather is a Slackbuild problem or a ppsspp problem.

Well that's that, happy Easter!

dugan 04-16-2017 05:02 PM

This is fixed in PPSSPP 1.4.

Use my SlackBuild:

https://raw.githubusercontent.com/du...spp.SlackBuild

Note: my SlackBuild requires Qt 5.

spike86 04-16-2017 05:30 PM

Quote:

Originally Posted by dugan (Post 5697799)
This is fixed in PPSSPP 1.4.

Use my SlackBuild:

https://raw.githubusercontent.com/du...spp.SlackBuild

Note: my SlackBuild requires Qt 5.


Thank you for the info, however I'm on 14.2 so until official update i'll stick to qt4.
The fix seems to work flawlessy and I don't think anything will ever use the /usr/games/assets folder so it's not a big issue.
I'll leave here the solution in case someone on 14.2 will find the same bug.

Happy Easter!

bassmadrigal 04-16-2017 05:50 PM

Quote:

Originally Posted by spike86 (Post 5697809)
Thank you for the info, however I'm on 14.2 so until official update i'll stick to qt4.

Just a note, both SlackBuilds and Eric's qt5 packages coexist with Slackware's qt4 package. This allows you to run both qt4 and qt5 packages.

orbea 04-16-2017 07:55 PM

qt5 is not a required dependency for ppsspp, it also has a SDL2 frontend.

bassmadrigal 04-16-2017 08:18 PM

If SDL2 isn't found, qt5 is used as an alternate. I guess it depends on the SlackBuild maintainer on what is "required".

Code:

    if(NOT SDL2_FOUND)
        find_package(Qt5 COMPONENTS Multimedia)


Spike8605 04-18-2017 08:22 AM

well i do have sdl2 so i may give it a try

thanks!

dugan 04-18-2017 09:00 AM

If you're doing your own builds, you choose whether to do an SDL2 build or a Qt 5 build, or both.

The SlackBuild on my GitHub page does both, and thus requires both SDL2 and Qt 5.

Yesterday, I sent in a 1.4 SlackBuild to SlackBuilds.org. That will do an SDL2 build, requiring only SDL2, and allow you to enable an additional Qt 5 build by passing in an option.


All times are GMT -5. The time now is 05:44 PM.