Notices


Reply
Thread Tools
Posts: 75 | Thanked: 13 times | Joined on Oct 2010
#2411
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".
 
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#2412
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


libsdlpre-tab.so, 640x480, nothing else than a smaller screen


libsdlpre.so, the standard one for palmpre games
 

The Following User Says Thank You to StocChr For This Useful Post:
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#2413
Originally Posted by StocChr View Post
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.
 
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#2414
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

Last edited by StocChr; 2011-08-30 at 14:59.
 

The Following User Says Thank You to StocChr For This Useful Post:
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#2415
Originally Posted by StocChr View Post
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
 
Posts: 293 | Thanked: 81 times | Joined on Dec 2010 @ Al Quds, Isawiya
#2416
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.

Last edited by N900L; 2011-08-30 at 16:15.
 
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#2417
Originally Posted by jflatt View Post
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


Angry Birds Rio, libsdlpre.so
 
jflatt's Avatar
Posts: 534 | Thanked: 723 times | Joined on Oct 2009
#2418
Originally Posted by StocChr View Post
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

Last edited by jflatt; 2011-08-31 at 06:40.
 

The Following 4 Users Say Thank You to jflatt For This Useful Post:
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#2419
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
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#2420
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
 
Reply

Tags
games, multi touch, palm pre, preenv, profile, reach page 250?, speed, yesssss

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:37.