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)

divan 2010-10-26 10:28

Re: Palm Pre gets SDL! native gaming
 
Quote:

I get error. The root partition is full. (40mb after, 0 before )
Root partition isn't used at all with this steps. Can you tell on which step you failed?

IzzehO 2010-10-26 10:57

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by divan (Post 851662)
Another quick copy-and-paste instruction for NFSU (needs preenv 1.1).
Game data files will be put on eMMC and binary onto /home/user

0.
Code:

root
apt-get install binutils tar-gnu preenv libgles1
exit
mkdir -p /home/user/MyDocs/Games/NFS

1. Download *.ipk file to /home/user/MyDocs/Games/NFS

2.
Code:

ar p /home/user/MyDocs/Games/NFS/com.ea.app.nfsuc_*.ipk data.tar.gz | /usr/bin/gnu/tar xz -C /home/user/MyDocs/Games/nfs
mkdir -p /home/user/Games/NFS
cp /home/user/MyDocs/Games/nfs/usr/palm/applications/com.ea.app.nfsuc/nfsuc /home/user/MyDocs/Games/nfs/usr/palm/applications/com.ea.app.nfsuc/appinfo.json /home/user/Games/NFS/
chmod +x /home/user/Games/NFS/nfsuc
ln -s /home/user/MyDocs/Games/nfs/usr/palm/applications/com.ea.app.nfsuc/res_nfsuc/ /home/user/Games/NFS/res_nfsuc
root
preenv
desktopgen /home/user/Games/NFS/appinfo.json
exit
exit

That's all. Please confirm if this manual works.

Can't say I tried it but there certainly seems nothing wrong with the code. I've gone a completely different route and just used an ext3 partitioned MicroSD, saves having to 'optify' the code and means I can just plug 'n' play without xterminal (almost).

jcm6084 2010-10-26 11:44

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by IzzehO (Post 851738)
Can't say I tried it but there certainly seems nothing wrong with the code. I've gone a completely different route and just used an ext3 partitioned MicroSD, saves having to 'optify' the code and means I can just plug 'n' play without xterminal (almost).

could you maybe post a tutorial on this method you speak of? :)

LucianoBraga 2010-10-26 11:49

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 851779)
lucky for you mate, monopoly works. I also got NFL2010 to work (which is suppeerrr sweet)

now i couldn't get tw09 to work, it says symbol lookup error glGenFramebuffersOES .. any suggestions ??

Just wait updates.

Art.M 2010-10-26 12:33

Re: Palm Pre gets SDL! native gaming
 
./nfsuc: error while loading shared libraries: libSDL_cinema.so: cannot open shared object file: No such file or directory

hesham 2010-10-26 12:40

Re: Palm Pre gets SDL! native gaming
 
this Games Tested and Working so good After PR 1.3

http://img641.imageshack.us/img641/9...0102616035.png

http://img301.imageshack.us/img301/3...0102616062.png

http://img19.imageshack.us/img19/149...0102615231.png

Critical_Impact 2010-10-26 13:25

Re: Palm Pre gets SDL! native gaming
 
Alright so it turns out the first error I had with the libpdl.so is because I didnt run preenv before hand.
I got The Sims 3 to run but The Settlers tells me this(just pasted the bits that seemed like they were erroring)

Failed to initialize libosso
Home Directory /home/user not ours
PDL:Application asked for device ID, giving 0000
SDLGL: Called SDL_Quit

mele 2010-10-26 13:34

Re: Palm Pre gets SDL! native gaming
 
btw can i/we do something to the sounds...they are lagging

cpt.bert 2010-10-26 13:47

Re: Palm Pre gets SDL! native gaming
 
Could someone post a tutorial how to install The Sims game?

I cant get the NFS script to work for The Sims...

Bratag 2010-10-26 14:15

Re: Palm Pre gets SDL! native gaming
 
Lol - love how engadget are like "You have to root your N900". Seriously that website hasn't got a techy on staff. It's pitiful.

osama 2010-10-26 14:18

Re: Palm Pre gets SDL! native gaming
 
Hero Of Sparta on N900

http://www.youtube.com/watch?v=6WuY6fgA3LM

dekin 2010-10-26 15:06

Re: Palm Pre gets SDL! native gaming
 
can th OP or any other person please upload the first page with a break-down tutorial on how to install or get this games working?????
i have been able to download some games (thanks to google)

jcm6084 2010-10-26 15:07

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by dekin (Post 851927)
can th OP or any other person please upload the first page with a break-down tutorial on how to install or get this games working?????
i have been able to download some games (thanks to google)

I second this request! I am a bit of a noob but would love to get things working, I can follow script if it is given to me.

The Arsonist 2010-10-26 15:07

Re: Palm Pre gets SDL! native gaming
 
(I know I'm probably going to get shot down for this) But any help for our non-Pre owners? I had a Sprint Pixi on Ebay, but unfortunately it, didn't have Wifi, so I resold it. I would buy these apps from the Devs, but it just isn't possible. Is there possibly any other methods? Any recommended Palm app threads?

niqbal 2010-10-26 15:13

Re: Palm Pre gets SDL! native gaming
 
STEPS
This was posted earlier by the developer http://my-maemo.com/software/applica...to=1954&faq=46

Code:

$ sudo gainroot
$ apt-get install preenv libgles1

use 7-zip to extract -> game-folder

copy game folder to /home/user/[webOS-games]

Code:

$ sudo gainiroot
$ cd game-folder
$ chmod +rwx filename

e.g. nfsuc in need for speed case or sims in case of sims3

Code:

$ preenv
$ ./filename

once you know file plays properly. you can add the menu button

Code:

$ cd game-folder
$ desktopgen appinfo.json

if you have say a games folder in menu, you need to edit /etc/xdg/menus/hildon.menu

go1dfish 2010-10-26 15:17

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by The Arsonist (Post 851929)
(I know I'm probably going to get shot down for this) But any help for our non-Pre owners? I had a Sprint Pixi on Ebay, but unfortunately it, didn't have Wifi, so I resold it. I would buy these apps from the Devs, but it just isn't possible. Is there possibly any other methods? Any recommended Palm app threads?

Anyone want to resell some Pre games under first sale doctrine?

http://www.osnews.com/story/4450%253E

Will the pre store allow you to purchase the same app multiple times?

Bratag 2010-10-26 15:20

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by dekin (Post 851927)
can th OP or any other person please upload the first page with a break-down tutorial on how to install or get this games working?????
i have been able to download some games (thanks to google)

Lets not even get a whiff of this kind of thing if we can avoid it. The pre is cheap and it would be best if people bought one and used it to get the games.

adhrie 2010-10-26 15:24

Re: Palm Pre gets SDL! native gaming
 
oregon trail works, no cinematic & the graphic are a scratchy but quite playable

super ko boxing 2, not working (having wrong screen orientation & stuck at the opening screen)

pharaoh92 2010-10-26 15:25

Re: Palm Pre gets SDL! native gaming
 
Does anybody know if it is possible to run webos apps also? For example 'tweed'.

Thanks in advance

midflow 2010-10-26 15:36

Re: Palm Pre gets SDL! native gaming
 
When I run ./nfsuc. There is an error message: "eror while loading shared libraries:libSDL_cinema.so: cannot open shared object file: no such file or directory".
How to solve this problem?

dh3x 2010-10-26 16:05

Re: Palm Pre gets SDL! native gaming
 
uhmm i'm sorry if i missed this, but how do i remove icons created by desktopgen? I accidentally created icons for some nonworking games and want to remove them... Thanks

LucianoBraga 2010-10-26 16:41

Re: Palm Pre gets SDL! native gaming
 
Read the thread. javispedro posted instruction for removing icons.

brunoscopel 2010-10-26 17:00

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 851939)
STEPS
This was posted earlier by the developer http://my-maemo.com/software/applica...to=1954&faq=46

Code:

$ sudo gainroot
$ apt-get install preenv libgles1

use 7-zip to extract -> game-folder

copy game folder to /home/user/[webOS-games]

Code:

$ sudo gainiroot
$ cd game-folder
$ chmod +rwx filename

e.g. nfsuc in need for speed case or sims in case of sims3

Code:

$ preenv
$ ./filename

once you know file plays properly. you can add the menu button

Code:

$ cd game-folder
$ desktopgen appinfo.json

if you have say a games folder in menu, you need to edit /etc/xdg/menus/hildon.menu

Perfect tutorial, thanks!

but...
if i want remove a icon from the desktop, how procced?

brunoscopel 2010-10-26 17:01

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by LucianoBraga (Post 852042)
Read the thread. javispedro posted instruction for removing icons.

nice help









not

mele 2010-10-26 17:03

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 851925)
Games Working (so far)

NFL 2010
Need for Speed Undercover
Sims 3
Hero of Sparta

Not working

Monopoly (dies loading board)
Assassin's Creed (died when pressed play)
Uno
Scrabble
Tiger Woods 09
Real Tennis

I played one full game of monopoly...worked great. I owned the cpu :P

Also Assassins Creed worked for me, only sound was kinda bad.

Brothers In Arms...worked also, but you need multitouch to play

brunoscopel 2010-10-26 17:35

Re: Palm Pre gets SDL! native gaming
 
I've tested Fifa 10 ( EA ) and not working too... =(

he's close after load the game

javispedro 2010-10-26 18:09

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by brunoscopel (Post 852047)
nice help

I really did post the instructions, they're on a previous page.


Everyone who is getting that libSDL_cinema.so does not exist: you are doing it wrong. You're not running Preenv at all. You also should not run Pre applications as root (only desktopgen needs root!).

Possibly one of those tutorials over the web is wrong, or not emphasizing some step enough.

niqbal 2010-10-26 18:18

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by brunoscopel (Post 852046)
Perfect tutorial, thanks!

but...
if i want remove a icon from the desktop, how procced?

in order to uninstall a game, delete the folder

Code:

$ sudo gainroot
$ rm -r game-folder

further to remove the icon, you need to delete three files

Code:

$ cd /usr/share/applications/hildon
$ rm filename.desktop
$ cd /usr/share/dbus-1/services
$ rm filename.service
$ cd /usr/share/icons/hicolor/scalable/hildon
$ rm filename.png

towards the end, refresh your menu

Code:

$ killall hildon-desktop
that should do it

Hariainm 2010-10-26 19:09

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by mele (Post 852050)
Brothers In Arms...worked also, but you need multitouch to play

How you get Brother in Arms to work? with version and firmware you have? Mine is v1.0.7 in PR1.2 and i get
Code:

SDLGL: CalledSDL_Quit
Segmentation fault


brunoscopel 2010-10-26 19:13

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by niqbal (Post 852098)
in order to uninstall a game, delete the folder

Code:

$ sudo gainroot
$ rm -r game-folder

further to remove the icon, you need to delete three files

Code:

$ cd /usr/share/applications/hildon
$ rm filename.desktop
$ cd /usr/share/dbus-1/services
$ rm filename.service
$ cd /usr/share/icons/hicolor/scalable/hildon
$ rm filename.png

towards the end, refresh your menu

Code:

$ killall hildon-desktop
that should do it

omg!

Now the tutorial is trully complete! :D

thanks a lot!

Nseries900 2010-10-26 19:15

Re: Palm Pre gets SDL! native gaming
 
Hello.
I succesfully installed NFS and Sims 3 but i got a problem at installing Assassins creed. I hope you can help me.
Here are my steps:

sudo gainroot
cd com.gameloft.app.assassins
chmod +rwx assassins
preenv
./assassins (here i get an error message)
sh:./assassins : Permission denied

please help me

Bundyo 2010-10-26 19:26

Re: Palm Pre gets SDL! native gaming
 
1 Attachment(s)
@javispedro:

Its truly hard to get to Talk today :)

I'm attaching some patches, I hope you didn't do them already in the mean time. I found something else too, but I want to test it first.

ma-3x 2010-10-26 19:28

Re: Palm Pre gets SDL! native gaming
 
Need help, I installed nfs and sims. They works perfect. But I cant install games like assassins creed or tetris. theirs runing files are in other folders.
sorry my bad english

badboyuk 2010-10-26 19:29

Re: Palm Pre gets SDL! native gaming
 
I followed this guide/tutorial http://www.youtube.com/watch?v=pGQwWZ_VriA
and got Need for speed to work but how did u get assassins creed to work? i couln't get it to work, got the same error message with Gangstar when I tried to install them. Something to do with it not being executable ( cant remember the exact error message) .

Any idea? And is assassins creed playable? ive heard because it has multi-touch controls it would be pointless on n900, dunno if this is true tho?

kinggo 2010-10-26 19:32

Re: Palm Pre gets SDL! native gaming
 
@ Nseries900
I think that you're not in the folder where the executable is so chmod doesn't change its permission and that's the fault you get.

badboyuk 2010-10-26 19:36

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by kinggo (Post 852187)
@ Nseries900
I think that you're not in the folder where the executable is so chmod doesn't change its permission and that's the fault you get.

im pretty sure I was in the right directory otherwise it would've said after the 1st command where I CD to the folder. I shall check it again.

badboyuk 2010-10-26 19:45

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by kinggo (Post 852187)
@ Nseries900
I think that you're not in the folder where the executable is so chmod doesn't change its permission and that's the fault you get.

ok just tried it again, and i am in the folder. I type in chmod.... command and it goes through fine no errors. Then when i try to generate the desktop icon that is where i get the error msg "Assassins is not executable"

any ideas?

Hariainm 2010-10-26 19:46

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Nseries900 (Post 852138)
Hello.
I succesfully installed NFS and Sims 3 but i got a problem at installing Assassins creed. I hope you can help me.
Here are my steps:

sudo gainroot
cd com.gameloft.app.assassins
chmod +rwx assassins
preenv
./assassins (here i get an error message)
sh:./assassins : Permission denied

please help me

you're not in right directory. you need to:
Code:

cd /home/user/com.gameloft.app.assassins/assassins
root
chmod 755 Assassins
exit #exits root, its not recommended run preenv in root
preenv
./Assassins


mele 2010-10-26 19:52

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Hariainm (Post 852124)
How you get Brother in Arms to work? with version and firmware you have? Mine is v1.0.7 in PR1.2 and i get
Code:

SDLGL: CalledSDL_Quit
Segmentation fault


PR1.3 and i believe it was 1.0.7, but it is unplayable, because of the controls.

badboyuk 2010-10-26 19:52

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Hariainm (Post 852210)
you're not in right directory. you need to:
Code:

cd /home/user/com.gameloft.app.assassins/assassins
root
chmod 755 Assassins
exit #exits root, its not recommended run preenv in root
preenv
./Assassins


I done what you mentioned and I now get the error "Permission Denied" , tried it in normal mode and done it whilst I had done Sudo Gainroot but still the same error whilst doing that


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

vBulletin® Version 3.8.8