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)

kumarsiyer 2010-11-02 09:53

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Kenny1001 (Post 860281)
I cant install nfsu
Tried it with the autoinstaller, and the ipk file, and he blocks on allready the first step.
Did I not read a step?

hey you can find the instalation guide on www.techoinfo.com

impeham 2010-11-02 11:50

Re: Palm Pre gets SDL! native gaming
 
i am trying to play monopoly but i get an error when i disable the shake to roll feature and press the back button - when i run from the console i get this:

SDLGL: Requested GL minor version 0 (ignored)
SDLGL: Requested GL major version 1
SDLGL: Called SetVideoMode(320, 480, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
PDL: Init: Service name is com.ea.app.monopoly
PDL: Screen dimming prevention ON
PDL: Application handles pause events
PDL: Switch orientation to 3
ACCEL: Opening accelerometer
PDL: Application asked for lang, giving en_GB
Segmentation fault

anyone knows why?

all the files in the monopolyclassic folder are symlinks to a folder in mydocs, except for the executable one (all the games are working this way).


Thanks.

jaimex2 2010-11-02 12:02

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by maxximuscool (Post 860181)
Anyway Asphalt5 cannot play it's own movie.

I can get Asphalt to do everything except play the in game movies.I've seen demo videos of them working though, I'm thinking its a codec issue?

I get black screens and can hear sound but i cant see anything during videos.

travla 2010-11-02 12:10

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by impeham (Post 860829)
i am trying to play monopoly but i get an error when i disable the shake to roll feature and press the back button - when i run from the console i get this:

SDLGL: Requested GL minor version 0 (ignored)
SDLGL: Requested GL major version 1
SDLGL: Called SetVideoMode(320, 480, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
PDL: Init: Service name is com.ea.app.monopoly
PDL: Screen dimming prevention ON
PDL: Application handles pause events
PDL: Switch orientation to 3
ACCEL: Opening accelerometer
PDL: Application asked for lang, giving en_GB
Segmentation fault

anyone knows why?

all the files in the monopolyclassic folder are symlinks to a folder in mydocs, except for the executable one (all the games are working this way).


Thanks.

Hi there,
I was struggling with the very same problem for the past couple of nights, and just resolved it. The problem was the the save folder and it's contents are not writeable, and when you change an option, the app needs to make a change to some of the files and can't. So the solution is:

chmod -R 777 monopolyclassic/save

This will recursively give write access to everyone (i.e. user), and all works well. I've updated the Wiki (http://wiki.maemo.org/Preenv/FAQ#How...ith_an_icon.3F).

Now I'm trying to move it to MyDocs to save some space, problem is you can't change ownership in MyDocs (I think because it is NTFS fs). But I moved NFSUC in to MyDocs and game saves are working fine, so I'm hoping Monopoly will be fine too.

Cheers,

travla

EDIT: I just created symlinks to all directories under monopolyclassic, and it is working a treat - no crash on changing settings and game saves working. This saved 45mb of space, had to leave all files under monopolyclassic in /home/user/. I may have been able to create symlinks to each one of those (I saw someone had written a simple loop for this) but couldn't be bothered, only 15 mb...

Airtux 2010-11-02 12:52

Re: Palm Pre gets SDL! native gaming
 
it's possible to play Gangstar on N900 one day?

aligatro 2010-11-02 12:58

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by jaimex2 (Post 860835)
I can get Asphalt to do everything except play the in game movies.I've seen demo videos of them working though, I'm thinking its a codec issue?

I get black screens and can hear sound but i cant see anything during videos.

It only shows on tv-out screen for some reason.

Bratag 2010-11-02 13:05

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by travla (Post 860846)
Hi there,
I was struggling with the very same problem for the past couple of nights, and just resolved it. The problem was the the save folder and it's contents are not writeable, and when you change an option, the app needs to make a change to some of the files and can't. So the solution is:

chmod -R 777 monopolyclassic/save

This will recursively give write access to everyone (i.e. user), and all works well. I've updated the Wiki (http://wiki.maemo.org/Preenv/FAQ#How...ith_an_icon.3F).

Now I'm trying to move it to MyDocs to save some space, problem is you can't change ownership in MyDocs (I think because it is NTFS fs). But I moved NFSUC in to MyDocs and game saves are working fine, so I'm hoping Monopoly will be fine too.

Cheers,

travla

EDIT: I just created symlinks to all directories under monopolyclassic, and it is working a treat - no crash on changing settings and game saves working. This saved 45mb of space, had to leave all files under monopolyclassic in /home/user/. I may have been able to create symlinks to each one of those (I saw someone had written a simple loop for this) but couldn't be bothered, only 15 mb...

Once again. This is wrong. Yes it will work , but no its not correct. It is much better to do a chown -R user:users on the game folder. This changes ownership of the folder to be owned by user who runs the app rather than just giving everyone write access to the folder.

aligatro 2010-11-02 14:05

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Bratag (Post 860903)
Once again. This is wrong. Yes it will work , but no its not correct. It is much better to do a chown -R user:users on the game folder. This changes ownership of the folder to be owned by user who runs the app rather than just giving everyone write access to the folder.

I don't think it matters that much on the mobile system. There is only one user. But on overall, you are right.

travla 2010-11-02 14:48

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Bratag (Post 860903)
Once again. This is wrong. Yes it will work , but no its not correct. It is much better to do a chown -R user:users on the game folder. This changes ownership of the folder to be owned by user who runs the app rather than just giving everyone write access to the folder.

Thanks for the tip Bratag, learning as I go. Do you recommend that I chown the top level game folder recursively (that has multiple games), or just the folders that a particular game needs to write to?

Bratag 2010-11-02 15:09

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by travla (Post 861012)
Thanks for the tip Bratag, learning as I go. Do you recommend that I chown the top level game folder recursively (that has multiple games), or just the folders that a particular game needs to write to?

That would work - I generally do each game folder as I install it but recursive from the applications (or wherever you have your palm games installed - mine is /home/user/applications) would work.


All times are GMT. The time now is 07:27.

vBulletin® Version 3.8.8