maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Preenv webOS games compatibility list (https://talk.maemo.org/showthread.php?t=64392)

N900L 2011-08-28 18:42

Re: Preenv webOS games compatibility list
 
how do i get cosmic nitro into portrait mode?
i dont want to play it in landscape.
(installed from deb)

btw there are new hp touchpad games someone tested them?

Brian_7 2011-08-28 18:45

Re: Preenv webOS games compatibility list
 
Is there anyway to use the levels from angrybirds rio HD for angrybirds rio V1.00 ?

N900L 2011-08-29 03:48

Re: Preenv webOS games compatibility list
 
how do i get cosmic nitro into portrait mode?
i dont want to play it in landscape.
(installed from deb)

btw there are new hp touchpad games someone tested them?

Games not in the compatibility list:
Supersonic
Slice It!
Heroes of Kalevala
Anyone know if those are working or not working.?

Boemien 2011-08-29 09:32

Re: Preenv webOS games compatibility list
 
these games must be converted into deb before i test them! i don't want to mess with ipk files....

trisha02 2011-08-29 11:47

Re: Preenv webOS games compatibility list
 
ok.desperately waiting for new games.:D

jflatt 2011-08-30 03:56

Re: Preenv webOS games compatibility list
 
Many new games are out now, if you want to test out some TouchPad games, you can grab
http://members.cox.net/jflatt/libsdlpre-tab.so
And put that in place of your /opt/preenv/lib/libsdlpre.so Symlink it or swap them around for now, this one is hardcoded for TouchPad size and orientation. I don't have my N900 with me now, so I can't test. If you can update the wiki
http://wiki.maemo.org/Preenv/Game_Compatibility
it would be helpful, and maybe we can get some of these running

N900L 2011-08-30 05:04

Re: Preenv webOS games compatibility list
 
the other games didnt work anymore after copying the libsdlpre.so
of the touchpad so i renamed it to libsdlpre.

StocChr 2011-08-30 05:34

Re: Preenv webOS games compatibility list
 
hi guys,
i replaced the libsdlpre.so for the tab games with the old one for the pre.
i installed angry birds rio hd, but when i start the game with pressing the programm icon, the game seems to be loading, after a few seconds peenv shutdown :/ any help?
cheers

EDIT:

attached the xterm output. the problem is that he will load images from a folder that not exist!

Code:

PDL: Init: Preenv 0.1.7
PDL: Init: Service name is com.javispedro.preenv.angrybirdsriohd
PDL: You are root. Don't do this unless you know what you're doing!
PDL: Main thread created
PDL: Application tries to enable gesture area
PDL: Application asked for calling path, giving './'
PDL: Application asked for calling path, giving './'
PDL: Application asks for screen metrics; giving true ones
SDLGL: Called sdl_init with flags = 0x100030
SDLGL: Number of joysticks 1
SDLGL: Joystick 0 named Accelerometer
X11: PID is 2260
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring color buffer red size 5
SDLGL: Ignoring color buffer green size 6
SDLGL: Ignoring color buffer blue size 5
SDLGL: Requested depth buffer size 0
SDLGL: Requested stencil buffer size 0
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (flags=0x80000000) is ok
SDLGL: Creating shadow surface (w=1024, h=768)
PDL: Switch UI orientation to 270°
EXCEPTION: Failed to open data/images/864x480/SPLASHES_SHEET_1.dat
PDL: Waiting for main loop thread to die
PDL: Main loop thread died
SDLGL: Called SDL_Quit

hmm? maybe rename the folder?

EDIT2: i renamed an copied all folders and now the game starts
now i have the problem, that the orientation is incorrect!
how to fix this?

OperationNT 2011-08-30 11:52

Re: Preenv webOS games compatibility list
 
With jflatt's library and gconftools, you can try to force an orientation change. I think it's something like :

Code:

gconftools-2 --set -type int /apps/preenv/<Name_of_executable>/screen_rotation <X>
Replace <Name_of_executable> by "angrybirdsrio" and <X> with diffrent values from 0 to 3.

Also, don't forget to set proper permissions on your "settings.lua" and "highscore.lua" files (created inside your Angry Birds directory) because you will have surprises when you will add it to your desktop :

Code:

PDL: You are root. Don't do this unless you know what you're doing!

StocChr 2011-08-30 11:59

Re: Preenv webOS games compatibility list
 
i use jflatt tab library!
after gconf screen rotate the orientation is correct!
the game and also the touchscreen works, but now i have a very bad scaling!! see attached pictures...

http://id-t.at/data/image01.png

http://id-t.at/data/image02.png

http://id-t.at/data/image03.png

OperationNT 2011-08-30 12:02

Re: Preenv webOS games compatibility list
 
I am sorry, I did not read well your post before and I changed mine while you were posting :P.

Now, you can also play with "screen_height" and "screen_width" : sometimes, it brings back a good scaling but with black parts in the image. Try for exemple with "640x480" or "320x480".

StocChr 2011-08-30 12:32

Re: Preenv webOS games compatibility list
 
i suppose it's a problem with the libsdlpre-tab.so
the hd games also run with the std libsdlpre.so for the palmpre,
but check the attached pics...

libsdlpre-tab.so, 800x480
http://id-t.at/data/image02.png

libsdlpre-tab.so, 640x480, nothing else than a smaller screen
http://id-t.at/data/image04.png

libsdlpre.so, the standard one for palmpre games
http://id-t.at/data/image05.png

jflatt 2011-08-30 14:27

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by StocChr (Post 1078791)
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
...
EXCEPTION: Failed to open data/images/864x480/SPLASHES_SHEET_1.dat[/CODE]

That's interesting, it's calling SetVideoMode without specifying screen resolution, like they're supposed to do now. It looks like it queried for the screen height and got 480 from somewhere other than the preenv libs.

StocChr 2011-08-30 14:47

Re: Preenv webOS games compatibility list
 
hmm i installed it with an self compiled .deb file
maybe the calling SetVideoMode come from there?

EDIT: i checked the compile procedure and i don't think this is an reason for this issue

startup code from xterm:

Code:

PDL: Init: Preenv 0.1.7
PDL: Init: Service name is com.javispedro.preenv.angrybirdsriohd
PDL: Main thread created
PDL: Application tries to enable gesture area
PDL: Application asked for calling path, giving './'
PDL: Application asked for calling path, giving './'
PDL: Application asks for screen metrics; giving true ones
SDLGL: Called sdl_init with flags = 0x100030
SDLGL: Number of joysticks 1
SDLGL: Joystick 0 named Accelerometer
X11: PID is 3396
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring color buffer red size 5
SDLGL: Ignoring color buffer green size 6
SDLGL: Ignoring color buffer blue size 5
SDLGL: Requested depth buffer size 0
SDLGL: Requested stencil buffer size 0
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (flags=0x80000000) is ok
SDLGL: Creating shadow surface (w=1024, h=768)
PDL: Switch UI orientation to 270°
SDLGL: Sending lose focus event
PDL: Waiting for main loop thread to die
PDL: Main loop thread died
SDLGL: Called SDL_Quit


jflatt 2011-08-30 16:05

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by StocChr (Post 1079038)
Code:

PDL: Application asks for screen metrics; giving true ones

I missed seeing this line the first time. It is hardcoded for N900 resolution, this should be an easy fix

N900L 2011-08-30 16:12

Re: Preenv webOS games compatibility list
 
hey i tried :
1. slice it hd for touchpad and it runs but the screen was too big
and it worked with the non touchpad libsdlpre

2.Glow hockey hd and it looks like it have the same problem as the palm pre version. But im not sure because the resolution was higher than 800x480. but im not sure.

ill try out more games as soon i have time.

StocChr 2011-08-31 06:19

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 1079064)
I missed seeing this line the first time. It is hardcoded for N900 resolution, this should be an easy fix

the game itself works like a charme ( gameplay, touchscreen, ... )
but the biggest issue is the bad scaling
the hd version is not only distorted, it has also a different zoom, it's weird, see attached...

Angry Birds Rio HD, libsdlpre-tab.so
http://id-t.at/data/image06.png

Angry Birds Rio, libsdlpre.so
http://id-t.at/data/image07.png

jflatt 2011-08-31 06:33

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by StocChr (Post 1079350)
the game itself works like a charme ( gameplay, touchscreen, ... )
but the biggest issue is the bad scaling
the hd version is not only distorted, it has also a different zoom, it's weird, see attached...

Yeah, don't mess with the screen dimensions, webos 3.0+ PDK apps are supposed to figure out their own dimensions. If you grab libsdlpre-tab.so again, rio hd should be all fixed. You should only have to mess with the screen dimensions if you want a 4:3 ratio
http://members.cox.net/jflatt/screen.png

StocChr 2011-08-31 08:09

Re: Preenv webOS games compatibility list
 
after updating the libsdlpre-tab.so and screen_rotation 0, screen_width 800 and screen_height 480

the game works like a charme!!

jflatt, you are the man!! thanks for your hard work! where to donate?

i will test more hd games soon.. cheers

trisha02 2011-08-31 08:28

Re: Preenv webOS games compatibility list
 
where to get this game? ANY DEB? i have the first two levels of rio.i want to get more.great work.thanks a lot.EID MUBARAK

ivgalvez 2011-08-31 10:43

Re: Preenv webOS games compatibility list
 
I must say it's not a good solution having these patched libsdlpre floating around.

So this is a question to both Javispedtro a Jflatt.

Is there any technical reason for not merging Jflatt's changes (i.e. multitouch mapping) into official preenv? Even WebOS Games Manager is using a patched library which is also not a good solution.

djdas 2011-08-31 11:20

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by ivgalvez (Post 1079449)
I must say it's not a good solution having these patched libsdlpre floating around.

So this is a question to both Javispedtro a Jflatt.

Is there any technical reason for not merging Jflatt's changes (i.e. multitouch mapping) into official preenv? Even WebOS Games Manager is using a patched library which is also not a good solution.

I agree, and add a suggestion: would it be possible to customize the linking of the library "per-game"? So if a single library is not achievable almost configure the correct library in the preenv script (or the launcher for WGM) so users won't need to copy/move the correct library for any game.
Thank you in advance

patlak 2011-08-31 12:40

Re: Preenv webOS games compatibility list
 
Tested Aftermath XHD, but with no success. Segmentation fault.

Code:

./aftermathxhd
SDLGL: Called sdl_init with flags = 0x100231
SDLGL: Number of joysticks 1
SDLGL: Joystick 0 named Accelerometer
X11: PID is 4911
PDL: Init: Preenv 0.1.7
PDL: Init: Service name is com.javispedro.preenv.aftermathxhd
PDL: Main thread created
PDL: Application asks for screen metrics; giving true ones
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Requested depth buffer size 24
SDLGL: Reporting video information width=1024, height=768
SDLGL: Called SetVideoMode(0, 0, 0, 0x40)
SDLGL: Asked if video mode 800x480x16 (flags=0x90000040) is ok
SetDpi act 132.000000 132.000000 eff 158.399994 176.000000 act 800 480 orig 960 640
Segmentation fault


jflatt 2011-08-31 13:24

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by patlak (Post 1079512)
Tested Aftermath XHD, but with no success. Segmentation fault.

Code:

SetDpi act 132.000000 132.000000 eff 158.399994 176.000000 act 800 480 orig 960 640
Segmentation fault


Looks like this one still knows the actual resolution is 800x480. In regards to merging changes, its coming. The change I made to get rio hd scaled correctly may not work with all the other games out there, it would need extensive testing. There are still some weird issues with original Pre games that could be fixed. Any kind of per-game code path would be a pain to manage. Consider any modified library a preview or test version.

xxxxts 2011-08-31 15:35

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 1079353)
Yeah, don't mess with the screen dimensions, webos 3.0+ PDK apps are supposed to figure out their own dimensions. If you grab libsdlpre-tab.so again, rio hd should be all fixed. You should only have to mess with the screen dimensions if you want a 4:3 ratio
http://members.cox.net/jflatt/screen.png

Where can I get the updated libsdlpre-tab.so?

aanckar 2011-08-31 15:41

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by xxxxts (Post 1079596)
Where can I get the updated libsdlpre-tab.so?

A couple of pages back, here.

trisha02 2011-08-31 15:46

Re: Preenv webOS games compatibility list
 
can anyone upload the deb with more levels of angrybirds rio

Brian_7 2011-08-31 16:41

Re: Preenv webOS games compatibility list
 
Thank you so much. Now i can play the new levels of angrybids rio. But now the webos games has bad orientation and scalling. It will be good to be able to play both webos and touch pad games.

I tried the sh file of angrybirdsrio for be able to zoom in and zoom out, but it doesn't work in angrybirds rio hd. Please could someone make a sh file or post the commands for the keyboard mapping?

Thanks in advance.

trisha02 2011-08-31 17:23

Re: Preenv webOS games compatibility list
 
i want the angrybirds rio next levels too.i hav libsdlpre.so which is required to play multitouch games i suppose.but what is this new libsdlpre?

jflatt 2011-08-31 17:27

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Brian_7 (Post 1079621)
I tried the sh file of angrybirdsrio for be able to zoom in and zoom out, but it doesn't work in angrybirds rio hd. Please could someone make a sh file or post the commands for the keyboard mapping?

The executable name is angrybirdsriohd. You can just search/replace inside the sh file and run it again

Brian_7 2011-08-31 18:02

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 1079654)
The executable name is angrybirdsriohd. You can just search/replace inside the sh file and run it again

Thanks. It worked :)

laith.m.y 2011-08-31 18:53

Re: Preenv webOS games compatibility list
 
I tried slice it hd and it launch fine and scaled but when I choose a level to play it close by itself

any solution ??

Brian_7 2011-08-31 19:21

Re: Preenv webOS games compatibility list
 
It works fine for me and i got perfect at level 10 :)

laith.m.y 2011-08-31 19:26

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Brian_7 (Post 1079686)
It works fine for me and i got perfect at level 10 :)

can you give me instructions for how to install it from ipk ??

Brian_7 2011-08-31 19:35

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by laith.m.y (Post 1079690)
can you give me instructions for how to install it from ipk ??

Here: http://wiki.maemo.org/Preenv/FAQ

laith.m.y 2011-08-31 19:55

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Brian_7 (Post 1079695)

thanx it work now :)

laith.m.y 2011-08-31 21:54

Re: Preenv webOS games compatibility list
 
I tried buka HD , same as pre's buka Incorrect touch screen mapping :(

Brian_7 2011-08-31 22:00

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Brian_7 (Post 1079621)
Thank you so much. Now i can play the new levels of angrybids rio. But now the webos games has bad orientation and scalling. It will be good to be able to play both webos and touch pad games.

Nevermind. I have made a sh file to swap the files and i execute it via desktop command execution widget.

How can i attach the file here?

laith.m.y 2011-08-31 22:25

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Brian_7 (Post 1079748)
Nevermind. I have made a sh file to swap the files and i execute it via desktop command execution widget.

How can i attach the file here?

click on (go Advanced) then click on (manage Attachment)



I tried galcon fusion hd , the onscreen buttons are very small but clickable and the planets are big enough to click it , overall it is playable :)

Brian_7 2011-08-31 23:21

Re: Preenv webOS games compatibility list
 
I uploaded it to megaupload.

You need suduser and you also need to have libsdlpre.so and libsdlpre-tab.so at /opt/preenv/lib/

Don't forget to give it execution permission

Enjoy: http://www.megaupload.com/?d=F2OS8X5E


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

vBulletin® Version 3.8.8