maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] ppsspp (psp-emulator) for maemo5 (https://talk.maemo.org/showthread.php?t=89576)

AapoRantalainen 2013-03-23 19:01

[Announce] ppsspp (psp-emulator) for maemo5
 
1 Attachment(s)
PPSSPP is psp-emulator, upstream: http://www.ppsspp.org/

Discussion started here (but I wanted my own announcement-thread):
http://talk.maemo.org/showthread.php?t=87812

You need libstdc++6 (>= 4.7.2-0+cssu0) installed on device to use ppsspp. You can get it from here:
Ppsspp can't be pushed to the extras-devel because it needs new cmake (2.8.8) and new gcc (4.7), which are not available on autobuilder. I have cooperated with ppsspp-authors (upstream) and maemo modifications are now merged in.

Here are optified debs http://www.cs.helsinki.fi/u/rantalai/ppsspp/


Video running "cube-test": http://youtu.be/NMwtiBAsoDk


----
If you want build ppsspp yourself, you need scratchbox with:
*gcc-4.7 (instructions: http://wiki.maemo.org/CSSU-thumb_too....7.2-linaro%29)
*newer cmake (e.g. 2.8.9 from http://www.cs.helsinki.fi/u/rantalai/ppsspp/)
*debianization for ppsspp (from:http://www.cs.helsinki.fi/u/rantalai/ppsspp/)
*maybe some trivial packages (from nokia, extras, extras-devel)


Then run:
Code:

git clone https://github.com/hrydgard/ppsspp.git
cp -r debian ppsspp
cd ppsspp
git submodule update --init

fakeroot dpkg-buildpackage

**************
If you want build your own cmake:
Code:

dget https://launchpad.net/ubuntu/+archiv...9-0ubuntu1.dsc
tar xvf cmake_2.8.9.orig.tar.gz
tar xvf cmake_2.8.9-0ubuntu1.debian.tar.gz
mv debian/ cmake-2.8.9
cd cmake-2.8.9

Patch these:
Code:

debian/rules
-        $(call $(flag_action),CTEST_USE_XMLRPC,ON)

override_dh_auto_test:
        -HOME="`pwd`/Build" dh_auto_test -- ARGS="-E CTestTestUpload"
        +#HOME="`pwd`/Build" dh_auto_test -- ARGS="-E CTestTestUpload"

debian/control
-debhelper (>= 9), libcurl4-gnutls-dev,
+debhelper (>= 7), libcurl4-openssl-dev,
-libxmlrpc-core-c3-dev | libxmlrpc-c3-dev

debian/compat
-9
+7

debian/cmake.postinst
-dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@"

debian/cmake.postrm
-dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@"

debian/cmake.preinst
-dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50cmake.el 2.8.9~rc3-1~ cmake -- "$@"

run:
Code:

fakeroot dpkg build-package

bandora 2013-03-23 19:32

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
We need one for Harmattan too!!! :)

EDIT: It seems that libstdc is missing.. :/

kownas 2013-03-23 21:33

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
crash when i chose cube test

Code:

Nokia-N900:~# ppsspp.sh
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : assets/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : /root/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/NativeApp.cpp:195: I: Logman: 0x1b7ed0
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:232: I: Prefix match:  (ui_atlas.zim) -> ui_atlas.zim
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:202: I: ZIM loaded: 1 levels
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:233: I: Gen-binding texture
Pixels: 800 x 480
Virtual pixels: 800 x 480
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //floppy
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home/user
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home/user/MyDocs
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:477: I: //home/user/MyDocs/instalki
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:482: I: Selected: 5 : //home/user/MyDocs/instalki/cube.elf
MemoryMap_Setup: Failed finding a memory base.


same crash as user
Code:

$ ppsspp.sh
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : assets/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:215: I: Registered VFS for prefix : /home/user/
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/NativeApp.cpp:195: I: Logman: 0x1b7f18
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/file/zip_read.cpp:232: I: Prefix match:  (ui_atlas.zim) -> ui_atlas.zim
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:202: I: ZIM loaded: 1 levels
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/gfx/texture.cpp:233: I: Gen-binding texture
Pixels: 800 x 480
Virtual pixels: 800 x 480
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/native/ui/screen.cpp:35: I: Screen switch! Top of the stack switches.
I: /home/aapo/ppsspp/upstream_merged/ppsspp/android/jni/MenuScreens.cpp:482: I: Selected: 5 : /home/user/MyDocs/instalki/cube.elf
MemoryMap_Setup: Failed finding a memory base.


AapoRantalainen 2013-03-24 06:33

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
Quote:

Originally Posted by bandora (Post 1331187)
We need one for Harmattan too!!! :)

EDIT: It seems that libstdc is missing.. :/

It is compiled with g++-4.7.2 so you need libstdc++6_4.7.2 from here:
http://maemo.merlin1991.at/cssu/deve...rmel/packages/

Quote:

Originally Posted by kownas (Post 1331214)
crash when i chose cube test

Code:

MemoryMap_Setup: Failed finding a memory base.
same crash as user

I can't reproduce it.

I found row in source code: Common/MemArena.cpp:390 but I don't have any idea about it.

I suggest to not run applications with root-access (unless there are reason). I tested root-access and cube test works with it too.

panjgoori 2013-03-24 06:44

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
AapoRantalainen you are awesome. Anyone tried playing games with it ?

kownas 2013-03-24 08:50

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
works cube test to anybody else?

ace1000 2013-03-24 10:37

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I just installed and tried running the cube demo and I get the same memorymap error as kownas.

guilledoc 2013-03-24 11:26

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
I don't find even the cube test don't have the /home/user/ppsspp directory :(

kownas 2013-03-24 11:57

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
you have to download cube.elf file from ppsspp.org and then load this file via ppsspp emulator

guilledoc 2013-03-24 13:20

Re: [Announce] ppsspp (psp-emulator) for maemo5
 
downloaded the cube.elf same problem here


All times are GMT. The time now is 22:26.

vBulletin® Version 3.8.8