Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP for Pi
#46
Hello all,

First of let me just say why I think it should work.

I just installed ppsspp on my sumsung galaxy S, and i could actually run a couple of games.
Since the pi (1ghz overclocked) has about the same cpu power as the sgs (1 ghz) and a much more powerfull gpu, it should also allow these games to run.
Also the pi has the same ram (512mb) than the sgs

Now we just need someone to manage to compile it and get it working.

If you guys could just make it a version that runs on the pi would be great
Reply
#47
Merged.
♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Reply
#48
I leave here a guide to successfully compile ppsspp on the pi

http://blog.petrockblock.com/forums/topi...le-ppsspp/
Reply
#49
whise: https://github.com/hrydgard/ppsspp/issue...t-32724524

It looks like you just need to add bcm_host_init(), maybe. I don't have a device to tell if that's true. Do you know if there's any Raspberry Pi specific compile defines? Note that ARM is NOT the same. Most Android and iOS devices are ARM and will not compile successfully with bcm_host_init().

-[Unknown]
Reply
#50
Thanks for your help

where should i add this?
Reply
#51
I'm not really sure. Probably around the call to NativeInit(), before it I guess:
https://github.com/hrydgard/native/blob/...n.cpp#L550

-[Unknown]
Reply
#52
After adding this i get undefined reference to `bcm_host_init' when linking binary

I just read that adding -lbcm_host to the make flags may resolve this issue, going to try it
Reply
#53
Yes i did it by adding -L/opt/vc/lib -lbcm_host to link.txt

Lets see what it says now
Reply
#54
still the same error
Reply
#55
so any luck in gettin ppsspp working on pi?
Reply
#56
Is that even possible? If yes then please tell me how to install.
Reply
#57
Merged.
♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Reply
#58
PPSSPPSDL build on Raspbian on Pi2B is consistently failing with

Quote:/usr/bin/ld: cannot find -lavformat
/usr/bin/ld: cannot find -lavcodec
/usr/bin/ld: cannot find -lavutil
/usr/bin/ld: cannot find -lswresample
/usr/bin/ld: cannot find -lswscale

What am I missing?
Reply
#59
@arutema, You forgot to compile FFMPEG libraries included with PPSSPP

Also, sorry guys for not responding for... nearly 2 years now
In December 2014 I've managed to compile (somewhat) functional version of PPSSPP, but since then, I couldn't get myself together to write some kind of guide on how to. In the meantime my Rpi1 died, my bro bought me rpi2b, recently hdmi went dead, etc., etc.

The thing is, if I won't forget, I'll post what I needed to change in PPSSPP's code to make it run.
Reply
#60
(10-02-2015, 06:57 PM)Sim_Piko Wrote: @arutema, You forgot to compile FFMPEG libraries included with PPSSPP

Also, sorry guys for not responding for... nearly 2 years now
In December 2014 I've managed to compile (somewhat) functional version of PPSSPP, but since then, I couldn't get myself together to write some kind of guide on how to. In the meantime my Rpi1 died, my bro bought me rpi2b, recently hdmi went dead, etc., etc.

The thing is, if I won't forget, I'll post what I needed to change in PPSSPP's code to make it run.

I just realized i had them in the ppsspp-ffmpeg subdirectory instead of ffmpeg.

Unfortunately, now it's erroring out earlier with a "Can't find SDL" error. I think I may have done something stupid to SDL with the package manager. Will probably re-install Rapsbian this weekend and try on a clean OS install.
(10-02-2015, 10:37 PM)arutema Wrote: Unfortunately, now it's erroring out earlier with a "Can't find SDL" error. I think I may have done something stupid to SDL with the package manager. Will probably re-install Rapsbian this weekend and try on a clean OS install.

So it was looking for SDL 2.0.x, and I only had SDL 1.2.x installed. Just built SDL 2.0.3 from source and trying the PPSSPP build again.

Taking careful notes, and will share my build process if it goes well.
Reply


Forum Jump: