LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2017, 12:26 PM   #1
Spike8605
LQ Newbie
 
Registered: Apr 2017
Posts: 13

Rep: Reputation: Disabled
[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!
 
Old 04-16-2017, 05:02 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,416

Rep: Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770
This is fixed in PPSSPP 1.4.

Use my SlackBuild:

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

Note: my SlackBuild requires Qt 5.

Last edited by dugan; 04-16-2017 at 05:03 PM.
 
Old 04-16-2017, 05:30 PM   #3
spike86
LQ Newbie
 
Registered: May 2004
Distribution: Arch
Posts: 12

Rep: Reputation: 2
Quote:
Originally Posted by dugan View Post
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!
 
Old 04-16-2017, 05:50 PM   #4
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,044

Rep: Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033
Quote:
Originally Posted by spike86 View Post
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.
 
1 members found this post helpful.
Old 04-16-2017, 07:55 PM   #5
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 653

Rep: Reputation: Disabled
qt5 is not a required dependency for ppsspp, it also has a SDL2 frontend.
 
1 members found this post helpful.
Old 04-16-2017, 08:18 PM   #6
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,044

Rep: Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033Reputation: 2033
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)
 
Old 04-18-2017, 08:22 AM   #7
Spike8605
LQ Newbie
 
Registered: Apr 2017
Posts: 13

Original Poster
Rep: Reputation: Disabled
well i do have sdl2 so i may give it a try

thanks!
 
Old 04-18-2017, 09:00 AM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,416

Rep: Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about lilo.conf with generic kernel(solved) itsgregman Slackware 8 02-02-2017 08:24 PM
kdm fails to auto-boot (SOLVED) rbees Debian 5 07-21-2010 06:58 AM
Trash KDE4 Question - Auto purge? Oops - SOLVED ;-) jcllings Linux - General 0 01-17-2010 11:44 PM
Generic USB joypad rumble support? JorisBurger Linux - Hardware 1 09-26-2006 06:58 AM
USB Joypad not working in apps - Saitek P3000 nwhite Linux - Hardware 3 03-16-2005 02:23 PM


All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration