LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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: 20

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: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
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
Member
 
Registered: May 2004
Distribution: Arch
Posts: 61

Rep: Reputation: 15
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
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

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
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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: 20

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: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:27 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
Open Source Consulting | Domain Registration