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)

anpaza 2010-10-30 17:51

Re: Palm Pre gets SDL! native gaming
 
I made a set of scripts:

http://cs.ozerki.net/zap/pub/pre-hel...ckager.tar.bz2

which can be used to convert WebOS .ipk files to N900 .deb files.
The scripts are designed to run in Scratchbox. There's a short doc inside the archive.

The script has been successfully used to build .deb files for following working games (where 'working' means more or less playable):

com-ea-app-battleship-pre-en_1.0.60_armel.deb
com-ea-app-monopoly_20.0.35_armel.deb
com-ea-app-nfsuc_20.0.28_armel.deb
com-ea-app-sims_20.0.22_armel.deb
com-ea-app-tetristouch_1.3.8_armel.deb
com-gameloft-app-asphalt5_1.1.4_armel.deb
com-gameloft-app-assassins_1.0.6_armel.deb
com-gameloft-app-brainchallenge_1.1.1_armel.deb
com-gameloft-app-brothersinarms_1.0.9_armel.deb
com-gameloft-app-castleofmagic_1.0.3_armel.deb
com-gameloft-app-driver_1.1.7_armel.deb
com-gameloft-app-earthwormjim_1.0.3_armel.deb
com-gameloft-app-hawx_1.1.5_armel.deb
com-gameloft-app-heroofsparta_1.0.4_armel.deb
com-gameloft-app-nfl2010_1.0.0_armel.deb
com-gameloft-app-nova_1.0.9_armel.deb
com-gameloft-app-oregontrail_1.0.7_armel.deb
com-gameloft-app-shrekkarting_1.1.1_armel.deb
com-jakyl-gepro_1.0.0_armel.deb
com-laminar-research-app-xplane-default_9.5.0_armel.deb
net-hexage-buka_2.22.327_armel.deb
net-hexage-radiant_2.11.383_armel.deb

The resulting .deb file doesn't require anything except preenv (and sometimes auxiliary libs like libavcodec52, libsdl-net etc, the usual stuff, dependencies are declared in the .deb file). It contains a .desktop file and icons, e.g. it's a complete end-user installable .deb file, without any tricks and/or manual work required. The only problem is that the icon appears as a blue square until reboot (or untill 'killall hildon-desktop'), but this is a well-known Maemo bug.

mido.fayad 2010-10-30 17:59

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Leon4 (Post 857608)
ey guys, i have installed asphalt5 1.0.3 and it runs but when i tap the race button it crashes, does anyone know this problem if so how ti fix it? thx in advance :)

remove data.sav file and it will works fine

ironm8 2010-10-30 18:12

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by anpaza (Post 857714)
I made a set of scripts:

http://cs.ozerki.net/zap/pub/pre-hel...ckager.tar.bz2

which can be used to convert WebOS .ipk files to N900 .deb files.
The scripts are designed to run in Scratchbox. There's a short doc inside the archive.

The script has been successfully used to build .deb files for following working games (where 'working' means more or less playable):

com-ea-app-battleship-pre-en_1.0.60_armel.deb
com-ea-app-monopoly_20.0.35_armel.deb
com-ea-app-nfsuc_20.0.28_armel.deb
com-ea-app-sims_20.0.22_armel.deb
com-ea-app-tetristouch_1.3.8_armel.deb
com-gameloft-app-asphalt5_1.1.4_armel.deb
com-gameloft-app-assassins_1.0.6_armel.deb
com-gameloft-app-brainchallenge_1.1.1_armel.deb
com-gameloft-app-brothersinarms_1.0.9_armel.deb
com-gameloft-app-castleofmagic_1.0.3_armel.deb
com-gameloft-app-driver_1.1.7_armel.deb
com-gameloft-app-earthwormjim_1.0.3_armel.deb
com-gameloft-app-hawx_1.1.5_armel.deb
com-gameloft-app-heroofsparta_1.0.4_armel.deb
com-gameloft-app-nfl2010_1.0.0_armel.deb
com-gameloft-app-nova_1.0.9_armel.deb
com-gameloft-app-oregontrail_1.0.7_armel.deb
com-gameloft-app-shrekkarting_1.1.1_armel.deb
com-jakyl-gepro_1.0.0_armel.deb
com-laminar-research-app-xplane-default_9.5.0_armel.deb
net-hexage-buka_2.22.327_armel.deb
net-hexage-radiant_2.11.383_armel.deb

The resulting .deb file doesn't require anything except preenv (and sometimes auxiliary libs like libavcodec52, libsdl-net etc, the usual stuff, dependencies are declared in the .deb file). It contains a .desktop file and icons, e.g. it's a complete end-user installable .deb file, without any tricks and/or manual work required. The only problem is that the icon appears as a blue square until reboot (or untill 'killall hildon-desktop'), but this is a well-known Maemo bug.

thanks alot for making those, however i dont use linux.
is it possible to do this inside maemo?
also, does the deb install the game into home/user or to the emmc?

Flandry 2010-10-30 18:16

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by anpaza (Post 857714)
I made a set of scripts:

http://cs.ozerki.net/zap/pub/pre-hel...ckager.tar.bz2

which can be used to convert WebOS .ipk files to N900 .deb files.
The scripts are designed to run in Scratchbox. There's a short doc inside the archive.

The script has been successfully used to build .deb files for following working games (where 'working' means more or less playable):

com-ea-app-battleship-pre-en_1.0.60_armel.deb
com-ea-app-monopoly_20.0.35_armel.deb
com-ea-app-nfsuc_20.0.28_armel.deb
com-ea-app-sims_20.0.22_armel.deb
com-ea-app-tetristouch_1.3.8_armel.deb
com-gameloft-app-asphalt5_1.1.4_armel.deb
com-gameloft-app-assassins_1.0.6_armel.deb
com-gameloft-app-brainchallenge_1.1.1_armel.deb
com-gameloft-app-brothersinarms_1.0.9_armel.deb
com-gameloft-app-castleofmagic_1.0.3_armel.deb
com-gameloft-app-driver_1.1.7_armel.deb
com-gameloft-app-earthwormjim_1.0.3_armel.deb
com-gameloft-app-hawx_1.1.5_armel.deb
com-gameloft-app-heroofsparta_1.0.4_armel.deb
com-gameloft-app-nfl2010_1.0.0_armel.deb
com-gameloft-app-nova_1.0.9_armel.deb
com-gameloft-app-oregontrail_1.0.7_armel.deb
com-gameloft-app-shrekkarting_1.1.1_armel.deb
com-jakyl-gepro_1.0.0_armel.deb
com-laminar-research-app-xplane-default_9.5.0_armel.deb
net-hexage-buka_2.22.327_armel.deb
net-hexage-radiant_2.11.383_armel.deb

The resulting .deb file doesn't require anything except preenv (and sometimes auxiliary libs like libavcodec52, libsdl-net etc, the usual stuff, dependencies are declared in the .deb file). It contains a .desktop file and icons, e.g. it's a complete end-user installable .deb file, without any tricks and/or manual work required. The only problem is that the icon appears as a blue square until reboot (or untill 'killall hildon-desktop'), but this is a well-known Maemo bug.

Just a note with mod hat to say that this kind of post is fine: you are providing tools without distributing or linking to copyrighted material. I have banned, temp-banned, blacklisted IP and/or deleted a handful of threads/posts/accounts in the last few days because people couldn't be bothered to read or play by the rules.

This PalmOS compatibility detective work by javispedro is awesome, but i'm taking a no-tolerance approach to moderating the resulting traffic to prevent it from becoming a huge headache. So in addition to the existing rules, please also keep the discussion in the two existing threads as appropriate, and be sure to search the threads before posting questions.

Thanks for your help keeping t.m.o on legal solid ground.

anpaza 2010-10-30 21:14

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by ironm8 (Post 857734)
is it possible to do this inside maemo?
also, does the deb install the game into home/user or to the emmc?

The scripts are designed to run within Maemo SDK. I run it inside a virtual machine; although my host is also Linux, but in fact the host OS doesn't matter.

realmic 2010-10-30 23:09

Re: Palm Pre gets SDL! native gaming
 
Hi @all,

i have 100% CPU utilization in the game Need For Speed Undercover. The game sounds stuttering and game graphics has low-rate fps. When I overclock my N900 to 950Mhz, the issues don't go away (and a reboot doesn't help)!

With htop utility, I see two "./nfsuc" processes, both have identical CPU utilization (in total there are five "./nfsuc" processes).

Now, if i kill one of the "/usr/bin/pulseaudio --system --high-priority" processes with "kill -9"... in this case, you have no game sound, but CPU utilization is go to normal (total "./nfsuc" processes are four), and the game graphic fps performance is also better!

My question: Has anyone the same problem?! I updated my N900 with Nokia Software Updater (NSU).

Thx.
Mic

Specs: Nokia N900 Maemo5 PR1.3 (Update via NSU)

Nseries900 2010-10-31 01:20

Re: Palm Pre gets SDL! native gaming
 
I somehow deleted the asphalt5 or the gamefolder but the icon is still there and i dont know how to delete it.
help me pls

RenaldoTT 2010-10-31 01:59

Re: Palm Pre gets SDL! native gaming
 
Hey, I tried extracting the nfsuc ipk file with dpkg -X in x term and my phone froze up and i rebooted and now there's a usr file in MyDocs that won't delete saying it's read only, I did chmod -R 777 to the res_nfsuc folder but the broken/damaged files inside won't comply and I can't get them off, I made a thread
http://talk.maemo.org/showthread.php...055#post858055

Thanks for any help in advance

Leon4 2010-10-31 11:30

Re: Palm Pre gets SDL! native gaming
 
haha i LOL-ed when i saw asphalt 5 on n8 it laggs like hell :D the game runs like 100x better on n900!

windows7 2010-10-31 11:40

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by realmic (Post 857983)
Hi @all,

i have 100% CPU utilization in the game Need For Speed Undercover. The game sounds stuttering and game graphics has low-rate fps. When I overclock my N900 to 950Mhz, the issues don't go away (and a reboot doesn't help)!

With htop utility, I see two "./nfsuc" processes, both have identical CPU utilization (in total there are five "./nfsuc" processes).

Now, if i kill one of the "/usr/bin/pulseaudio --system --high-priority" processes with "kill -9"... in this case, you have no game sound, but CPU utilization is go to normal (total "./nfsuc" processes are four), and the game graphic fps performance is also better!

My question: Has anyone the same problem?! I updated my N900 with Nokia Software Updater (NSU).

Thx.
Mic

Specs: Nokia N900 Maemo5 PR1.3 (Update via NSU)

is your power cable connected? if yes try without it


All times are GMT. The time now is 05:45.

vBulletin® Version 3.8.8