Post Reply 
 
Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP for Pi
06-01-2016, 12:07 AM
Post: #71
RE: PPSSPP for Pi
Alright, update time with a new Raspberry Pi 3 on hand.

It builds with less tweaking, and runs at least some games decently. It is, however very particular about the build process and dependency order.

Here's my build instructions for those having trouble.

Code:
$ sudo apt-get install libudev-dev cmake libsdl1.2-dev
libudev-dev is required for keyboard and mouse
libsdl1.2-dev is required for sound
cmake is required to compile

Then you need to build SDL2 to fairly exact specifications. First get the source tarball from the SDL2 site.
Code:
$ tar xvzf SDL2-2.0.4.tar.gz
$ cd SDL2-2.0.4/
$ ./configure --prefix=/usr \
    --enable-sdl-dlopen \
    --disable-arts --disable-esd --disable-nas \
    --enable-alsa \
    --disable-pulseaudio \
    --disable-video-wayland \
    --without-x --disable-video-x11 --disable-x11-shared \
    --disable-video-x11-xcursor --disable-video-x11-xinerama \
    --disable-video-x11-xinput --disable-video-x11-xrandr \
    --disable-video-x11-scrnsaver --disable-video-x11-xshape \
    --disable-video-x11-vm --disable-video-opengl \
    --disable-video-directfb --disable-rpath \
    --enable-video-opengles --host=arm-raspberry-linux-gnueabihf
$ make -j4
$ sudo make install

Now you have the libraries PPSSPP needs built, next: git clone ppsspp into a local directory. cd into that directory and:
Code:
$ git submodule update --init
$ cd SDL
$ ./buildassets.sh
$ cd ..
$ cmake -DRASPBIAN=ON .

Now, to fix an issue with the keyboard locking up, edit ext/native/base/PCMain.cpp and comment out (add "//" before) the following lines near the end of the file:
Code:
#ifndef MOBILE_DEVICE
      exit(0);
#endif

finally, make -j4 and run.

Performance and compatibility reports in my next post.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
PPSSPP for Pi - porkness - 03-27-2013, 12:15 PM
RE: PPSSPP for Pi - Apology11 - 03-27-2013, 12:17 PM
RE: PPSSPP for Pi - [Unknown] - 03-27-2013, 01:43 PM
RE: PPSSPP for Pi - porkness - 03-27-2013, 02:08 PM
RE: PPSSPP for Pi - porkness - 03-28-2013, 04:01 AM
RE: PPSSPP for Pi - [Unknown] - 03-28-2013, 04:44 AM
RE: PPSSPP for Pi - xsacha - 03-28-2013, 05:11 AM
RE: PPSSPP for Pi - porkness - 03-28-2013, 09:21 AM
RE: PPSSPP for Pi - xsacha - 03-28-2013, 10:20 AM
RE: PPSSPP for Pi - porkness - 03-28-2013, 11:56 AM
RE: PPSSPP for Pi - xsacha - 03-29-2013, 12:08 AM
RE: PPSSPP for Pi - porkness - 04-01-2013, 08:29 AM
RE: PPSSPP for Pi - xsacha - 04-01-2013, 10:33 AM
RE: PPSSPP for Pi - porkness - 04-03-2013, 04:44 AM
RE: PPSSPP for Pi - xsacha - 04-03-2013, 05:37 AM
RE: PPSSPP for Pi - porkness - 04-03-2013, 07:24 AM
RE: PPSSPP for Pi - xsacha - 04-08-2013, 12:03 AM
RE: PPSSPP for Pi - BubblegumBalloon - 04-18-2013, 12:45 PM
RE: PPSSPP for Pi - xsacha - 04-21-2013, 10:18 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-21-2013, 10:25 PM
RE: PPSSPP for Pi - xsacha - 04-21-2013, 11:35 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 11:05 AM
RE: PPSSPP for Pi - xsacha - 04-22-2013, 12:38 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 12:44 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 02:49 PM
RE: PPSSPP for Pi - MaXiMu - 04-22-2013, 02:49 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 04:18 PM
RE: PPSSPP for Pi - [Unknown] - 04-22-2013, 04:44 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 05:00 PM
RE: PPSSPP for Pi - MaXiMu - 04-22-2013, 06:30 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 08:00 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 10:04 PM
RE: PPSSPP for Pi - porkness - 04-23-2013, 10:24 AM
RE: PPSSPP for Pi - BubblegumBalloon - 04-23-2013, 10:56 AM
RE: PPSSPP for Pi - xsacha - 04-22-2013, 10:55 PM
RE: PPSSPP for Pi - BubblegumBalloon - 04-22-2013, 11:11 PM
RE: PPSSPP for Pi - xsacha - 04-23-2013, 09:19 AM
RE: PPSSPP for Pi - Sim_Piko - 08-14-2013, 08:43 PM
RE: PPSSPP for Pi - [Unknown] - 09-02-2013, 05:07 PM
RE: PPSSPP for Pi - Henrik - 09-03-2013, 10:23 AM
RE: PPSSPP for Pi - Sim_Piko - 09-12-2013, 06:37 PM
RE: PPSSPP for Pi - Uszasty - 10-08-2013, 07:11 PM
RE: PPSSPP for Pi - Sim_Piko - 10-21-2013, 03:12 PM
RE: PPSSPP for Pi - Sim_Piko - 12-01-2013, 07:37 PM
RE: PPSSPP for Pi - Sim_Piko - 12-17-2013, 05:27 PM
RE: PPSSPP for Pi - vnctdj - 02-05-2014, 08:16 PM
RE: PPSSPP for Pi - whise - 02-07-2014, 06:32 PM
RE: PPSSPP for Pi - [Unknown] - 02-07-2014, 09:33 PM
RE: PPSSPP for Pi - whise - 02-07-2014, 11:09 PM
RE: PPSSPP for Pi - [Unknown] - 02-08-2014, 02:02 AM
RE: PPSSPP for Pi - whise - 02-08-2014, 11:38 AM
RE: PPSSPP for Pi - whise - 02-08-2014, 02:08 PM
RE: PPSSPP for Pi - whise - 02-08-2014, 03:36 PM
RE: PPSSPP for Pi - nex86 - 05-29-2014, 09:29 PM
RE: PPSSPP for Pi - vnctdj - 08-25-2014, 06:33 AM
RE: PPSSPP for Pi - arutema - 10-02-2015, 08:51 AM
RE: PPSSPP for Pi - Sim_Piko - 10-02-2015, 06:57 PM
RE: PPSSPP for Pi - arutema - 10-02-2015, 10:37 PM
RE: PPSSPP for Pi - arutema - 10-03-2015, 07:41 AM
RE: PPSSPP for Pi - arutema - 10-04-2015, 08:46 PM
RE: PPSSPP for Pi - arutema - 10-24-2015, 09:03 AM
RE: PPSSPP for Pi - arutema - 10-24-2015, 04:33 PM
RE: PPSSPP for Pi - Sim_Piko - 10-24-2015, 05:51 PM
RE: PPSSPP for Pi - arutema - 10-24-2015, 06:34 PM
RE: PPSSPP for Pi - Sim_Piko - 10-24-2015, 06:52 PM
RE: PPSSPP for Pi - arutema - 10-25-2015, 05:55 AM
RE: PPSSPP for Pi - arutema - 10-25-2015, 09:22 AM
RE: PPSSPP for Pi - Sim_Piko - 10-25-2015, 01:19 PM
RE: PPSSPP for Pi - arutema - 06-01-2016 12:07 AM
RE: PPSSPP for Pi - arutema - 06-01-2016, 01:43 AM
RE: PPSSPP for Pi - [Unknown] - 06-01-2016, 02:39 AM
RE: PPSSPP for Pi - arutema - 06-01-2016, 02:49 AM
RE: PPSSPP for Pi - arutema - 06-01-2016, 04:12 AM
RE: PPSSPP for Pi - arutema - 06-03-2016, 01:09 AM
RE: PPSSPP for Pi - [Unknown] - 06-01-2016, 05:48 AM
RE: PPSSPP for Pi - arutema - 06-02-2016, 01:59 AM
RE: PPSSPP for Pi - arutema - 06-05-2016, 05:17 PM
RE: PPSSPP for Pi - ravid1323 - 06-11-2016, 02:09 PM
ppsspp & Raspberry Pi - akela - 08-24-2014, 09:03 AM

Forum Jump: