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)

Bratag 2010-10-27 05:43

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by porselinaheart (Post 852750)
have u tried this?? seems like a better solution.

Yep - works just fine. Obviously though if you use up all your nitdroid disk then you cant install stuff when booted into android. ":)

osama 2010-10-27 06:34

Re: Palm Pre gets SDL! native gaming
 
Assassins on N900

http://www.youtube.com/watch?v=PyxQwPr-usU

lexboy85 2010-10-27 06:43

Re: Palm Pre gets SDL! native gaming
 
help.
i run the chmod -rwx sims and create the desktop icon but after the EA logo came out it close the program.
Quote:

SDLGL: called sdl_init with flags = 0x100231
Home directory /home/user not ours.
X11: PID is 2453
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Requested GL minor version 0 (ignored)
PDL: Init: Service name is com.javispedro.preenv.sims
PDL: Failed to initialize libosso
PDL: Init: Service name is com.javispedro.preenv.sims
PDL: Failed to initialize libosso
PDL: Switch orientation to 3
PDL: Application handles pause events
PDL: Init: Service name is com.javispedro.preenv.sims
PDL: Failed to initialize libosso
SDLGL: Called SetVideoMode(320, 480, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
SDLGL: called sdl_init with flags = 0x200
ACCEL: Opening accelerometer
ACCEL: Application will poll accelerometer by itself
ACCEL: Opening accelerometer
ACCEL: Application will poll accelerometer by itself
Home directory /home/user not ours.
SDLGL: Called SDL_Quit
Segmentation fault

niqbal 2010-10-27 07:07

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Bratag (Post 852607)
Monopoly runs for me - but I am damned if I can figure out how to put down a house ... Any suggestions?

once you have the full set (all three house for example), click on them and it will zoom in. Once zoomed in, it will show House button and Delete button in front of every home

cheers mate

Turkishflavor 2010-10-27 07:21

Re: Palm Pre gets SDL! native gaming
 
first queston:

can somebody tell me how to save? :)
when i terminate the game via power button and "end current task" the game won't save :(

second question:
the mp3-files and videos are now in my media player! how do i remove them from the default media player? :confused:

fpp 2010-10-27 09:38

Re: Palm Pre gets SDL! native gaming
 
Stupid question I guess... but what is the "normal" way to exit one of these games... like NFSu ? :-)

niqbal 2010-10-27 09:39

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by fpp (Post 853018)
Stupid question I guess... but what is the "normal" way to exit one of these games... like NFSu ? :-)

lol good question actually. I asked myself the same question. All i am doing is put it back to main menu and Ctrl+Esc to be in the dashboard and kill it

iDont 2010-10-27 09:54

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by maxximuscool (Post 852579)
Is it possible to load it from eMMC instead and also use Keyboard as replacement of on screen buttons?

It's virtually impossible to play game that requires multitouch. :(

/home/opt = (part of) eMMC :rolleyes:

Anyway, it has already been described in this very thread how to setup a loopback file, which then can be placed in the MyDocs folder so the games won't take up your precious home partition space.

You can also repartition the flash, though this isn't what the common user wants to do.

fpp 2010-10-27 10:15

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 853023)
lol good question actually. I asked myself the same question. All i am doing is put it back to main menu and Ctrl+Esc to be in the dashboard and kill it

Right, but maybe this is why it doesn't save state ?...

badboyuk 2010-10-27 10:23

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by brunoscopel (Post 852601)
Try: chmod +x nfsuc

I keep getting the permission denied error with other games. Ive tried the suggested commands you have mentioned and others but still the same. I even updated libGLES and still the same thing.
Any idea why the other games such as assassins creed etc wont work?
Nfsuc runs fine, infact ive completed the 1st few races on it and unlocked a track! So that game is fine.

Please help someone :-(

vivek5000 2010-10-27 10:30

Beginners Guide to Install WebOS games?
 
Hi,

Recently I have seen many videos showing N900 running webOS games. Please help :

1. What is webOS & how do we port it to N900?
2. How do we install webos games such a Need for Speed Underground to N900?

I saw a video of Need for Speed Underground being played on N900 without a single lag:

http://www.youtube.com/watch?v=EoBe4fqL8No

Do we need to overclock N900 to play the above games.

Please clarify & help with step by step instruction on how to get this done.

Thanks.

maxximuscool 2010-10-27 10:32

Re: Palm Pre gets SDL! native gaming
 
Monopoly crashed when running it from the icon.

I made the icon: desktopgen monopolyclassic

and got the icon but whenit reached the game play area the game crashed. The game did not crash from command line.

How do i remove the icon? Where is the icon symlink installed?

maxximuscool 2010-10-27 10:33

Re: Palm Pre gets SDL! native gaming
 
We need to be able to play with the Keyboard or even better the PS3 controller. Is there a future plan for Keyboard usage? We don't have multi touch!!!! we can't play multi touch games

vivek5000 2010-10-27 10:38

Re: Palm Pre gets SDL! native gaming
 
Can please some really help by giving step by step instructions on how to install webos to N900 & most importantly how to install NFS Underground of webos version to N900. Thanks.

andrewfblack 2010-10-27 10:41

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by vivek5000 (Post 853131)
Can please some really help by giving step by step instructions on how to install webos to N900 & most importantly how to install NFS Underground of webos version to N900. Thanks.

Your not installing WebOS to your n900. Your running WebOS games on Maemo. Check out wiki for instructions.

vivek5000 2010-10-27 10:43

Re: Palm Pre gets SDL! native gaming
 
Cant find the instructions anywhere?? can u pls post the links?? tnx..

badboyuk 2010-10-27 10:46

Re: Palm Pre gets SDL! native gaming
 
ok ive rebooted the n900 and tried to run assassins creed from terminal again and im still getting the same error "Permission Denied" why is that happening? Am i missing something? is something locked? Do I need to update Preenv? if so then how do i? please help

andrewfblack 2010-10-27 10:54

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by vivek5000 (Post 853145)
Cant find the instructions anywhere?? can u pls post the links?? tnx..

http://wiki.maemo.org/Preenv/FAQ#How...FPU_Working.3F

maxximuscool 2010-10-27 10:55

Re: Beginners Guide to Install WebOS games
 
install preenv from terminal
Enable Extra-devel

xterminal:
root
apt-get update
apt-get install preenv

extract the webOS game.ipk and you'll get two tar files.
Control.tar.gz and Data.tar.gz,

extract Data.tar.gz and you'll get:
data.tar ->extract it and you'll get :

usr
data

Go into usr and inside you'll find an applications folder.

Copy what's inside the folder (a folder called com.ea.xx.xxx.xx or com.gameloft.xx.xxx)

create a folder called "applications" in home/user/
copy the com.xxx.xxx.xxx to your /home/usr/applications via SSH
should looks like this: home/user/applications/com.xxx.xxx..xxx

run the following command:

xterminal: root
chmod +rwx /home/user/applications/com.xxx.xxx.xx/nfsuc
preenv
desktopgen /home/user/applications/com.xxx.xxx.xx/appinfo.json


some games gamefile is located inside the folder directory:
example: com.ea.xxx.xxx/monopoly/monopolyclassic
done.
Go to appl list and you should see an icon of the game

Look for the file without extension and has the name of the game then chmod it.

Maxx

maxximuscool 2010-10-27 10:56

Re: Beginners Guide to Install WebOS games
 
No need OC. Games run like a native Pre OS.

jajajim 2010-10-27 10:56

Re: Palm Pre gets SDL! native gaming
 
sorry for my bad english

question: if there `so easy` to run webos games on n900 maemo, there should also be a way on desktop linux systems like kubuntu and co?!

EA games, the next step for the linux desktop breakthrough ?! :D

jedi 2010-10-27 10:58

Re: Beginners Guide to Install WebOS games
 
Also: http://wiki.maemo.org/Preenv

Mr.Rent 2010-10-27 10:59

Re: Beginners Guide to Install WebOS games
 
Quote:

Originally Posted by vivek5000 (Post 853118)
Hi,

Recently I have seen many videos showing N900 running webOS games. Please help :

1. What is webOS & how do we port it to N900?
2. How do we install webos games such a Need for Speed Underground to N900?


.

3) how to get these games? (legal or illegal for testing purposes of course)

bchliu 2010-10-27 11:04

Re: Palm Pre gets SDL! native gaming
 
Help! I have updated to PR1.3 and have installed PREENV (latest). Extracted Sims 3 onto my /home/user/applications folder and did the chmod +x on the sims file. when I execute it (./sims), I get an error saying "./sims: error while loading shared libraries: libpd1.so: cannot open shared object file: No such file or directory"

NFSUC comes up with the libSDL_cinema.so error similar to Sims3.

Has anyone had this error? Thanks...

vivek5000 2010-10-27 11:11

Re: Beginners Guide to Install WebOS games
 
Thanks maxximuscool..

Can you pls clarify how to:

"extract Data.tar.gz and you'll get:
data.tar ->extract it and you'll get :

usr
data

Go into usr and inside you'll find an applications folder.

Copy what's inside the folder (a folder called com.ea.xx.xxx.xx or com.gameloft.xx.xxx)

create a folder called "applications" in home/user/
copy the com.xxx.xxx.xxx to your /home/usr/applications via SSH
should looks like this: home/user/applications/com.xxx.xxx..xxx"


Pls clarify so that I can try installing it..

Thanks a ton once again..

toxaris 2010-10-27 11:15

Re: Beginners Guide to Install WebOS games
 
Quote:

Originally Posted by Mr.Rent (Post 853184)
3) how to get these games? (legal or illegal for testing purposes of course)

I think you can buy them from EA and get the installation package that you are supposed to import with Palm Suit in someway.

Else you can "root" and Palm Pre and get the files from there.

Or look for it on the dark pages of internet (I didnt say that!).

maxximuscool 2010-10-27 11:21

Re: Beginners Guide to Install WebOS games
 
Quote:

Originally Posted by vivek5000 (Post 853211)
Thanks maxximuscool..

Can you pls clarify how to:

"extract Data.tar.gz and you'll get:
data.tar ->extract it and you'll get :

usr
data

Go into usr and inside you'll find an applications folder.

Copy what's inside the folder (a folder called com.ea.xx.xxx.xx or com.gameloft.xx.xxx)

create a folder called "applications" in home/user/
copy the com.xxx.xxx.xxx to your /home/usr/applications via SSH
should looks like this: home/user/applications/com.xxx.xxx..xxx"


Pls clarify so that I can try installing it..

Thanks a ton once again..

just unzip it with 7zip or something. if you got the game file .ipk then simply right click and select 7zip (assumed you got windows) you'll get two zipped packages in tar.gz format. unzip it again using 7zip and again until no more .tar file left.

Then copy the folder call com.xxx.xxx.xx to home/user/applications (assuming you got WinSCP and SSH installed) drag the folder to your N900.

that's it.

Just do it and you'll see what i mean. Very simple and easy to do.

maxximuscool 2010-10-27 11:23

Re: Beginners Guide to Install WebOS games
 
Quote:

Originally Posted by Mr.Rent (Post 853184)
3) how to get these games? (legal or illegal for testing purposes of course)

Why don't you ask Mr. Google about this? I am sure he knows everything you want to know.

badboyuk 2010-10-27 11:23

Re: Palm Pre gets SDL! native gaming
 
its okay i got it working, i figured it out. I don't know why none of the tutorials or people knew about it.

niqbal 2010-10-27 11:32

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by badboyuk (Post 853236)
its okay i got it working, i figured it out. I don't know why none of the tutorials or people knew about it.

i am glad you got it working but sorry to be a heartbreaker here but it requires multitouch which n900 does not support. There is a jump in the very first level where you will get stuck

badboyuk 2010-10-27 11:35

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 853248)
i am glad you got it working but sorry to be a heartbreaker here but it requires multitouch which n900 does not support. There is a jump in the very first level where you will get stuck

haha yeah i realised it. I just wanted to get it working as others had no problems. Im trying out Gangstar now.

Anyone where i can get N.O.V.A ? would like to see how that 1 is.

mankir 2010-10-27 11:49

Re: Palm Pre gets SDL! native gaming
 
When i try to run preenv, i get following error: "sh: error while loading shared libraries: libsdl_gles-1.2.so.0: cannot open shared object file: No such file or directory"
I have all the libgles-packages installed, but in usr/lib/ there are only libSDL_gles and libSDL-1.2 files...
Which package am i missing?
Edit: Seems to be fixed with reinstall of libsdl-gles1.2-1 from PR1.3-repo...

AgogData 2010-10-27 11:55

Re: Palm Pre gets SDL! native gaming
 
how do you exit games ? everytime i just press ctrl + backspace and click on the X , but isn't there any other way ?
and how can i get these games to try it ?

JMacalinao 2010-10-27 12:01

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by AgogData (Post 853289)
how do you exit games ? everytime i just press ctrl + backspace and click on the X , but isn't there any other way ?
and how can i get these games to try it ?

You can press the Power button and tap "End current task" to exit the game. :)

cddiede 2010-10-27 12:07

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by AgogData (Post 853289)
how do you exit games ? everytime i just press ctrl + backspace and click on the X , but isn't there any other way ?
and how can i get these games to try it ?

That seems the easiest way to exit any Maemo app that hasen't been properly hildonized (which I prefer since the upper left corner window button and upper right corner close buttons waste screen space.)

To get the games, get a WebOS device (or borrow a friend's) and BUY the game on the phone's app catalog. Then, after "rooting" the webOS device, transfer the game's .ipk file to your N900.

cedlmw 2010-10-27 12:13

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 853248)
i am glad you got it working but sorry to be a heartbreaker here but it requires multitouch which n900 does not support. There is a jump in the very first level where you will get stuck

hmm i found a way to bypass the jump part in mission 1. just move forward and u should be fine. the character will 'run' through the rocks :D

badboyuk 2010-10-27 12:25

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by cedlmw (Post 853326)
hmm i found a way to bypass the jump part in mission 1. just move forward and u should be fine. the character will 'run' through the rocks :D

lol ive deleted it now but i already tried that before you even mentioned it, dont work! lol Its ashame we cant play that game, it looks good as well. Kind of reminds of prince of persia a bit looking at it in that small display an graphics.

Mr.Rent 2010-10-27 12:29

Re: Beginners Guide to Install WebOS games
 
Quote:

Originally Posted by maxximuscool (Post 853233)
Why don't you ask Mr. Google about this? I am sure he knows everything you want to know.

i asked already but i wasn't lucky... i should dig more.. maybe...

Nseries900 2010-10-27 12:34

Re: Palm Pre gets SDL! native gaming
 
Well i also installed Assassins creed but after i press play it shutdown
so i cant really play anyone got an idea?
Im not sure if i have to install a package

Leachim 2010-10-27 12:44

Re: Palm Pre gets SDL! native gaming
 
4 mee actually all 3d one person games like assasins ore N.O.V.A are completle useless, becouse they need multitouch to play fast.

But i think Asphalt 5 will bee interesting, but at the time it did not work :-(
Quote:

Nokia-N900:/home/user/asphalt5# "/opt/preenv/wrapper.sh" "com.gameloft.app.asphalt5" "/home/user/asphalt5/Asphalt5/Asphalt5"
MAIN START /home/user/asphalt5/Asphalt5/Asphalt5
SDLGL: called sdl_init with flags = 0x100230
PDL: Init: Service name is com.gameloft.app.asphalt5
PDL: Screen dimming prevention ON
PDL: Switch orientation to 3
SDLGL: Going for a 270 deg rotation
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Application asks for unknown GL attribute 5, value 1
SDLGL: Requested GL minor version 1
SDLGL: Called SetVideoMode(320, 480, 0, 0x80000002)
SDLGL: Requested OpenGL video mode
SDLGL: Going for a 270 deg rotation
ACCEL: Opening accelerometer
PDL: Music is playing
m_recorderReplay.Init(MAX_SIZE_REPLAY_RECORD_SIZE, false, NULL);
StartGame
Load VIDEO /home/user/asphalt5/Asphalt5
CINEMA: Init; window xid is 0x400000c
CINEMA: Will play "file:///home/user/asphalt5/Asphalt5/A5_Ultimate_VNFS_2.m4v"
----PlayMovie
CINEMA: Start playing now
StartGame2
----StopMovie()
CINEMA: Stop playing now
CINEMA: DeInit
PDL: Music is playing

SetMusicVolume (0.850000)
SetSfxVolume (0.700000)
releaseBuffers
SetMusicVolume (1.000000)
SetMusicVolume (0.850000)
SetMusicVolume (1.000000)
SetMusicVolume (0.850000)
SetSfxVolume (0.700000)
SetEngineVolume (0.480000)touch
apllysettings
Segmentation fault
Another question is.
Dos anybody know how to save in sims 3 and nfsu?


Mfg Michael


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

vBulletin® Version 3.8.8