maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Palm Pre gets SDL! native gaming (https://talk.maemo.org/showthread.php?t=39809)

Bundyo 2010-10-24 19:20

Re: Palm Pre gets SDL! native gaming
 
Okay, one problem fixed - glGenFramebufferOES in gles1.c looks like a typo, should be glGenFramebuffersOES (note the s :)

SSLMM 2010-10-24 19:27

Re: Palm Pre gets SDL! native gaming
 
I've got it working with need for speed and sims.

Is there any way to run the games from MyDocs? i dont have more space left in user folder (??) so i can't test more games...

Thanks for all this :D

javispedro 2010-10-24 19:31

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by SSLMM (Post 849783)
Is there any way to run the games from MyDocs? i dont have more space left in user folder (??) so i can't test more games...

Yes, but it's not easy. MyDocs should be mounted without noexec.

SSLMM 2010-10-24 19:37

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by javispedro (Post 849787)
Yes, but it's not easy. MyDocs should be mounted without noexec.

Nice...so... i'me going to try to empty some space in my user directory :p

Bundyo 2010-10-24 19:40

Re: Palm Pre gets SDL! native gaming
 
Btw, seems Palm has its internal 8/16GB memory mounted as /media/internal. I'm pretty sure we should have that symlinked to somewhere in MyDocs since some software uses it.

pantera1989 2010-10-24 20:22

Re: Palm Pre gets SDL! native gaming
 
Since PR 1.3 is close, you might want to consider when reflashing everything to edit the eMMC image so that you will have a bigger /home/ partition. Something like 6GB should be enough. I already did this although I used my own method which is long and complicated. If you are willing, you can reflash now. Don't forget to backup of course. It is solution #5 in the wiki: http://wiki.maemo.org/Repartitioning...y_globalbus.29

Here it is:

Solution #5: Edit eMMC image (works on PR1.2, by globalbus)

Backup MyDocs, we need to flash device. Open eMMC image in hex editor, go to 0xcb, you will see this
Code:

partition {size = 2048;fs_type = "ext3";prefix = "home";}
Edit size parameter (do not change the size of file! The number must be from 1000 to 9999) Flash it now.

If MyDocs have incorrect size or it's not mounting automatically you need to format it and paste files from backup.

Code:

umount /dev/mmcblk0p1
mkfs.vfat -F32 -s64 /dev/mmcblk0p1
mount /dev/mmcblk0p1

If you have problems with this methd ask around in this thread: http://talk.maemo.org/showthread.php?t=35122

BTW a big thanks to Javi for this great find. Incredible that developers haven't noticed this (or did and decided to ignore it). Anyway thank you very much. I wish this gets noticed by EA, Gameloft and others.

asinus 2010-10-24 20:29

Re: Palm Pre gets SDL! native gaming
 
This is great! I have successfully run NFSU and Let's Golf. Thank you javispedro!

When can we expect a new version in Extras-devel? I need glBindFramebufferOES and PDL_SetFirewallPortStatus which seems to be implemented in git. The games I try to run is Glyder 2 and The Giant Fighting Robots.

zehjotkah 2010-10-24 20:40

Re: Palm Pre gets SDL! native gaming
 
I've made a video: maemo Games: Sims 3 on N900
Watch it on our youtube channel, on meetmeego.org or directly on the youtube page!

Have fun!

NOMOS 2010-10-24 21:55

Re: Palm Pre gets SDL! native gaming
 
Sorry for the noob question, but would it in theory be also possible to get other apps than games to work on the N900 in the same way?

arcean 2010-10-24 22:06

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by NOMOS (Post 849889)
Sorry for the noob question, but would it in theory be also possible to get other apps than games to work on the N900 in the same way?

Quote:

Originally Posted by javispedro (Post 849023)
Remember that this only runs "Native" applications. If an application makes use of the Mojo framework (javascript, html widgets, ...) it's no longer native. ALL OpenGL games are "native" applications, though.

As long as they don't use Mojo it would be possible.


All times are GMT. The time now is 15:21.

vBulletin® Version 3.8.8