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)

aligoodidea 2010-12-13 08:02

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 895424)
It's a debug package; you should not install it unless I ask you or you want to use gdb (to create more meaningful stack traces). The missing dependencies are in the Nokia repos (like gdb)..

You will notice the errors on the this page happened because of this.(gdb or dbg:confused:)


Quote:

Originally Posted by javispedro (Post 895424)
I mean that what you're telling makes no sense to me

Easy Now! It is a suggestion and not a criticize, you should not lose your temper.
Quote:

Originally Posted by javispedro (Post 895424)
(possibly because I'm not a native speaker, who knows)

I have noticed, In user details, you have assigned that you are spanish, use the google translitration next time.
Quote:

Originally Posted by javispedro (Post 895424)
if you want, you can send code instead.

Will do!
static void make_box(struct box *b, const struct point *p1, const struct point *p2)
{
b->x = mini(p1->x, p2->x);
b->y = mini(p1->y, p2->y);
b->w = absi(p1->x - p2->x);
b->h = absi(p1->y - p2->y);
}

static void p_scale(struct point *p)
{
const int ox = p->x, oy = p->y;
switch (s_rotate) {
case PDL_ORIENTATION_0:
p->x = ox * s_scale.x;
p->y = oy * s_scale.y;
break;
case PDL_ORIENTATION_270:
p->x = r_size.w - oy * s_scale.x;
p->y = ox * s_scale.y;
break;
default:
break;
}
}
here, are you sure this automatic orientation works correctly? maybe manual would be better
switch (attr) {
case SDL_GL_CONTEXT_MAJOR_VERSION:
TRACE("Requested GL major version %d", value);
switch (value) {
case 1:
desired_version = SDL_GLES_VERSION_1_1;
return 0;
case 2:
desired_version = SDL_GLES_VERSION_2_0;
return 0;
default:
SDL_SetError("Invalid GLES major version: %d", value);
return -1;
}
break;
case SDL_GL_CONTEXT_MINOR_VERSION:
TRACE("Requested GL minor version %d (ignored)", value);
return 0;
case SDL_GL_RED_SIZE:
case SDL_GL_GREEN_SIZE:
case SDL_GL_BLUE_SIZE:
case SDL_GL_ALPHA_SIZE:
TRACE("Ignoring color buffer size");
You can also try opengles 1.0,for the buffer:
You need to do a simple loop for each pixel, split the RGB components, shift them to the new bit depth ( get these from the DDPIXELFORMAT structure or whatever your API provides, just remember, they may be anything). Now recombine them and you have your 16bit pixel.
png_ptr, info_ptr,
# toWidth, toHeight,
# 8, PNG_COLOR_TYPE_RGB,
# PNG_INTERLACE_NONE,
# PNG_COMPRESSION_TYPE_DEFAULT,
# PNG_FILTER_TYPE_DEFAULT
# );
# png_write_info( png_ptr, info_ptr );
#
# // Prepare to handle the input data
# switch( fromFormat )
# {
# case BGR16 : {
# // Set up the bit shifts
# png_color_8 sig_bit;
# sig_bit.red = 5;
# sig_bit.green = 6;
# sig_bit.blue = 5;
# png_set_shift( png_ptr, &sig_bit );
# break;
# }
#
# case BGRA16 : {
# // Set up the bit shifts and strip the alpha
# png_color_8 sig_bit;
# sig_bit.red = 5;
# sig_bit.green = 5;
# sig_bit.blue = 5;
# sig_bit.alpha = 1;
# png_set_shift( png_ptr, &sig_bit );
# png_set_filler( png_ptr, 0, PNG_FILLER_AFTER );
# break;
# }
#
# case BGR24: break; // No conversion necessary
#
# case BGRA32: {
# // Strip the alpha
# png_set_filler( png_ptr, 0, PNG_FILLER_AFTER );
# break;
# }
# }
#
# // Swap B and R
# png_set_bgr( png_ptr );



Quote:

Originally Posted by javispedro (Post 895424)
They're GStreamer codecs, MAFW uses GStreamer. What codec are we talking about (and what game?).

what game!? well , we are talking about external .Ogg and .m4v support that provided by the 3rd party applications (repos)attaching themselves to the MAFW, Please do a test and you will see this is true

jedi 2010-12-13 11:06

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 895793)
Excuse me ,a noob question. How can I get preenv games to MyDocs?

http://www.google.com/search?q=site:...reenv%20mydocs

Welcome to the forums :)

javispedro 2010-12-13 14:31

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Andy1210 (Post 895486)
(Blades) what is this error? This game worked with previous preenv version!

That is not an error -- And I've got reports saying it still works...

Quote:

Originally Posted by Andy1210 (Post 895486)
Driver crashed too after i tried skip the intro video, worked on previous version too.

Should be fixed in 0.1.3 :)

Quote:

Originally Posted by Andy1210 (Post 895486)
PlasmaCannon frozen on loading(?) screen. (yes, i deleted the music file) and worked on previous version too.

No idea, what you're quoting is not an error message either.


Quote:

Originally Posted by aligoodidea (Post 895692)
You will notice the errors on the this page happened because of this.(gdb or dbg:confused:)

That would surprise me....

Quote:

Originally Posted by aligoodidea (Post 895692)
here, are you sure this automatic orientation works correctly? maybe manual would be better

What's the difference between "manual"/"automatic" orientation?
Either way, that code is nearly never used yet as I do not call xrandr and thus orientations are fixed (to PDL_ORIENTATION_270). In the future I might actually use it.

Quote:

Originally Posted by aligoodidea (Post 895692)
You can also try opengles 1.0,for the buffer:
You need to do a simple loop for each pixel, split the RGB components, shift them to the new bit depth ( get these from the DDPIXELFORMAT structure or whatever your API provides, just remember, they may be anything). Now recombine them and you have your 16bit pixel.

I do not know why you'd do that, but either way, that would kill performance. Also, default is rgb565 already. Anything higher would cause slowdowns on the N900, and I don't see the need for that _unless_ a game tries to do both a rgba8888 surface AND writes directly to it (using gl*Pixels).

Quote:

Originally Posted by aligoodidea (Post 895692)
what game!? well , we are talking about external .Ogg and .m4v support that provided by the 3rd party applications (repos)attaching themselves to the MAFW, Please do a test and you will see this is true

I mean what game uses a codec that is not available. Both .ogg (I guess you mean Vorbis) and .m4v (I guess you mean H.264 and AAC on a MP4 container) are available, the former using Palm's libsdl-mixer, and the latter using GStreamer and thus Nokia codecs.

aligoodidea 2010-12-13 18:39

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 895918)
That would surprise me.....

Me too. It was just a guess

Quote:

Originally Posted by javispedro (Post 895918)
What's the difference between "manual"/"automatic" orientation?
Either way, that code is nearly never used yet as I do not call xrandr and thus orientations are fixed (to PDL_ORIENTATION_270). In the future I might actually use it.

Not as long as guitar hero is out there,because it suffers from both bad scaling and bad graphics.
Quote:

Originally Posted by javispedro (Post 895918)
I do not know why you'd do that, but either way, that would kill performance. Also, default is rgb565 already. Anything higher would cause slowdowns on the N900, and I don't see the need for that _unless_ a game tries to do both a rgba8888 surface AND writes directly to it (using gl*Pixels).

some games are flexible, but in other hand, some companies force it and in case, a conversion is really needed.
Quote:

Originally Posted by javispedro (Post 895918)
I mean what game uses a codec that is not available. Both .ogg (I guess you mean Vorbis) and .m4v (I guess you mean H.264 and AAC on a MP4 container) are available, the former using Palm's libsdl-mixer, and the latter using GStreamer and thus Nokia codecs.

Well, consider using HAWX first. using .m4v video that will get blank in the intro. then use the let's golf that's using .mp4 video and working(consider using MPlayer for this problem.)
and, what is this message telling SetVideoMode(0,0,0,0x2) (strange zeros in ancient frog).
P.S:Please note that 12 games are unplayable because of bad scaling/bad buffering, this should be fixed soon.

jflatt 2010-12-13 20:55

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 896047)
Well, consider using HAWX first. using .m4v video that will get blank in the intro. then use the let's golf that's using .mp4 video and working(consider using MPlayer for this problem.)

Are you suggesting executing mplayer to run some games video? That sounds a bit ridiculous

Quote:

Originally Posted by aligoodidea (Post 896047)
P.S:Please note that 12 games ae unplayable because of bad scaling/bad buffering, this should be fixed soon.

Are you going to fix them?

SSLMM 2010-12-14 00:56

Re: Preenv webOS games compatibility list
 
Gangstar still with:

"PDL: application asked for lang, giving pt_PT
Segmentation fault"

after update to preenv 0.1.3 :/

Keep up the good work ;)

javispedro 2010-12-14 01:01

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 896047)
Not as long as guitar hero is out there,because it suffers from both bad scaling and bad graphics.
some games are flexible, but in other hand, some companies force it and in case, a conversion to is really needed.
P.S:Please note that 12 games ae unplayable because of bad scaling/bad buffering, this should be fixed soon

Remember: I own only 3 Pre games. Either someone provides more detailed information or I'm not going to be able to fix them. :rolleyes:

Quote:

Originally Posted by aligoodidea (Post 896047)
Well, consider using HAWX first. using .m4v video that will get blank in the intro. then use the let's golf that's using .mp4 video and working

Two things: a) Are you sure they're not the same codec (because I believe with a 99% certainty that they are...) b) Are you sure it is a codec issue? It could very well be due to the way the game composites video with GL.

Quote:

Originally Posted by aligoodidea (Post 896047)
and, what is this message telling SetVideoMode(0,0,0,0x2) (strange zeros in ancient frog).
.

That's not an error actually, but a game following the Palm guidelines (those games are rare!).

SSLMM 2010-12-14 01:25

Re: Preenv webOS games compatibility list
 
Sorry to bother you javispedro but can't you test some other games thant those 3 without buying them (you know what i mean :p ) just for tests? It is obvious that you are not going to buy all the games (or most of them) just to try to fix them for us.

I'm just asking ;)

aligoodidea 2010-12-14 10:27

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 896283)
Remember: I own only 3 Pre games. Either someone provides more detailed information or I'm not going to be able to fix them. :rolleyes:

Don't worry. I will send you the debug info 1 by 1. I also found perhaps it would be wiser if preenv let the application decide about buffering instead of forcing it(although the applications won't decide and just request.) or let the users decide about it.
Application1:
basic information:
appname:Guitar Hero 5 Mobile
real appname:glu.app.ghero5
executable filename:ghero5/ghero5.exe
app assigned to skip unhandled errors.
debug info:
version:0.1.3
SDLGL:called sdl_init with flags=0x100231
Home directory /home/user not ours
PDL: Init: Service name is com;javispedro.preenv.ghero5_exe
"PDL:Failed to initialize libosso"
ACCEL:Opening
PDL: Init: Service name is com;javispedro.preenv.ghero5_exe
"PDL:Failed to initialize libosso"(for second time)
CINEMA:Init; window xid is 0x0
(maybe CINEMA skipped)
SDLGL:Requested GL major version 1
(continued):SDL_GLES initialized (res=0)
Ignoring doublebuffer preference
Requested GL minor version 1 (ignored)
Requested depth buffer size 16
(color buffer size Ignored)
(Ignored even after 3 retries)
asked if video mode 2x2x16 (0x2) is ok
Called SetVideoMode(2,2,16,0x2)
Asked if video mode 800x480x16 (0x80000000) is ok
(Application faces loop)
Ignoring doublebuffer perference
...
Asked if video mode 0x0x16 (0x2) is ok.
Results:Resolution: 800x800x16
Application can't continue.
Hope that helps.
also created a thread for this:http://talk.maemo.org/showthread.php?t=66984
Quote:

Originally Posted by javispedro (Post 896283)
Two things: a) Are you sure they're not the same codec (because I believe with a 99% certainty that they are...) b) Are you sure it is a codec issue? It could very well be due to the way the game composites video with GL.

If the video was composited with GL then it would not be playable with MPlayer(But it is) If they were the same codecs then gstreamer shall play it(but it won't) also I should say the screen goes blank on intro but still plays audio.
Quote:

Originally Posted by SSLMM (Post 896296)
Sorry to bother you javispedro but can't you test some other games thant those 3 without buying them (you know what i mean :p ) just for tests? It is obvious that you are not going to buy all the games (or most of them) just to try to fix them for us.

I'm just asking ;)

No SSLMM; It is an official forum and pirated softwares can not be mentioned here, I myself has bought some of them(Although I have ... in order to uncompress them)
Quote:

Originally Posted by jflatt (Post 896127)
Are you suggesting executing mplayer to run some games video? That sounds a bit ridiculous
?

A bit ridiculous but it counts as a bug too,Why shouldn't we fix such an easy bug
Quote:

Originally Posted by jflatt (Post 896127)
Are you going to fix them?

No, Since I don't have partnership in this application; All I can do is helping the developer with suggestion codes and debugging info.

222 2010-12-14 12:32

Re: Preenv webOS games compatibility list
 
5 Attachment(s)
http://talk.maemo.org/attachment.php...1&d=1292329177http://talk.maemo.org/attachment.php...1&d=1292329205

http://talk.maemo.org/attachment.php...1&d=1292329467http://talk.maemo.org/attachment.php...1&d=1292329505

http://talk.maemo.org/attachment.php...1&d=1292329533

what's the problem ?

Code:

PDL: Init: Service name is com.javispedro.preenv.angrybirds
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 './'
SDLGL: called sdl_init with flags = 0x100030
X11: PID is 12411
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring color buffer size
SDLGL: Ignoring color buffer size
SDLGL: Ignoring color buffer size
SDLGL: Requested depth buffer size 0
SDLGL: Application asks for unknown GL attribute 7, value 0
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
PDL: Switch orientation to 3
SDLGL: Sending lose focus event
^CPDL: Waiting for main loop thread to die
PDL: Main loop thread died
SDLGL: Called SDL_Quit


hawaii 2010-12-14 12:59

Re: Preenv webOS games compatibility list
 
Angry Birds Seasons works just fine.

http://www.knownokia.ca/2010/12/angr...r-maemo-5.html

Graphics are not scaled. I *may* build my own iPhone 4 + Palm Pre package. - if Rovio doesn't release an official one.

aligoodidea 2010-12-14 13:21

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by 222 (Post 896568)
http://talk.maemo.org/attachment.php...1&d=1292329177http://talk.maemo.org/attachment.php...1&d=1292329205

http://talk.maemo.org/attachment.php...1&d=1292329467http://talk.maemo.org/attachment.php...1&d=1292329505

http://talk.maemo.org/attachment.php...1&d=1292329533

what's the problem ?

Code:

PDL: Init: Service name is com.javispedro.preenv.angrybirds
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 './'
SDLGL: called sdl_init with flags = 0x100030
X11: PID is 12411
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring color buffer size
SDLGL: Ignoring color buffer size
SDLGL: Ignoring color buffer size
SDLGL: Requested depth buffer size 0
SDLGL: Application asks for unknown GL attribute 7, value 0
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
PDL: Switch orientation to 3
SDLGL: Sending lose focus event
^CPDL: Waiting for main loop thread to die
PDL: Main loop thread died
SDLGL: Called SDL_Quit


It is the bad scaling problem again, because the orientation is fixed to 270 degrees by default, but it should be 0 in some games

222 2010-12-14 13:28

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 896592)
It is the bad scaling problem again, because the orientation if fixed to 270 degrees by default, but it should be 0 in some games

is this solvable ? if yes, then how ?

vir3us 2010-12-14 13:40

Re: Preenv webOS games compatibility list
 
You know what i type to get asphalt5 to save. I have the deb version and the 5gb modified emmc. Cheers

aligoodidea 2010-12-14 14:00

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by 222 (Post 896594)
is this solvable ? if yes, then how ?

Yes,but by developer! just wait for the new version and it maybe fixed

aligoodidea 2010-12-14 14:06

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by vir3us (Post 896598)
You know what i type to get asphalt5 to save. I have the deb version and the 5gb modified emmc. Cheers

do the trick mentioned on Preenv FAQ but just write /home/opt/ (or /home/opt/preenv/) instead of /home/user/

javispedro 2010-12-14 14:10

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 896520)
I also found perhaps it would be wiser if preenv let the application decide about buffering instead of forcing it(although the applications won't decide and just request.) or let the users decide about it.

I do not think this causes what you think it causes....

Quote:

Originally Posted by aligoodidea (Post 896520)
Home directory /home/user not ours
PDL: Init: Service name is com;javispedro.preenv.ghero5_exe
"PDL:Failed to initialize libosso"

DO NOT RUN GAMES AS ROOT!!!!

Quote:

Originally Posted by aligoodidea (Post 896520)
CINEMA:Init; window xid is 0x0

This will eventually fail if it tries to play a video.

Quote:

Originally Posted by aligoodidea (Post 896520)
(color buffer size Ignored)

As I was saying, unless it tries to directly access the surface bits, nothing to worry about.


Quote:

Originally Posted by aligoodidea (Post 896520)
If the video was composited with GL then it would not be playable with MPlayer(But it is) If they were the same codecs then gstreamer shall play it(but it won't) also I should say the screen goes blank on intro but still plays audio.

Now I'm 100% sure it is not a codec issue. See above error message.

Quote:

Originally Posted by aligoodidea (Post 896520)
No, Since I don't have partnership in this application; All I can do is helping the developer with suggestion codes and debugging info.

I've said it many times: patches welcome. In fact, I want _you_ (or someone else) to do the hard work of trying to understand what causes a game to fail, as I have virtually no interest in running all of the other games (and no time).

javispedro 2010-12-14 14:17

Re: Preenv webOS games compatibility list
 
Btw, there are typos in the log. As a suggestion, you can copy & paste stuff that comes from Terminal, then to the Notes application, and then use USB to transfer the file.

Or you can just run preenv via ssh...

aligoodidea 2010-12-14 15:24

Re: Preenv webOS games compatibility list
 
except for libosso problem, I am getting same results(In HAWX and Guitar Hero 5)
And ... how can I upload patches anyway

Arif 2010-12-14 19:51

Re: Preenv webOS games compatibility list
 
I have a weird issue.
When I start Ground Effect Pro in XTerm>preenv it works, but if I use the desktopgen icon it crashes when poking start game.
What is the problem and how can I possibly fix this ?

Andy1210 2010-12-14 20:37

Re: Preenv webOS games compatibility list
 
1 Attachment(s)
Driver has graphical problem on preenv 0.1.3
no any error in terminal...

javispedro 2010-12-14 21:18

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 896660)
And ... how can I upload patches anyway

Send them to Gitorious, to me ( maemo at javispedro dot com ) or attach them here.

travla 2010-12-14 21:41

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Andy1210 (Post 896859)
Driver has graphical problem on preenv 0.1.3
no any error in terminal...

Did you try the driver.ini workaround per the wiki?

http://wiki.maemo.org/Preenv/FAQ#How...Driver_working

I only have driver working with Preenv 0.1.1, but had to add a driver.ini file (with extra linefeed) to eliminate corrupted gaphics issue.

aligoodidea 2010-12-15 10:34

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 896896)
Send them to Gitorious, to me ( maemo at javispedro dot com ) or attach them here.

I am not sure but you might find this code useful
Code:

file:sdlgl.c
/* Including math.h is not bad. It may become useful somehow */
#include <math.h>
/* what about establishing a surface? */
SDL_Surface *surface;
/* variable context, better or worse? */
/* perspective replacement for opengles? */
void gluPerspective(double fovy,double aspect,double zNear,double zFar)
{
double xmin,xmax,ymin,ymax;
ymax = zNear * tan(fovy * M_PI / 360);
ymin=-ymax;
xmin=ymin*aspect;
xmax=ymax*aspect;
glFrustumf(xmin,xmax,ymin,ymax,zNear,zFar);
}
/* defining screen resolution? */
#define SCREEN_WIDTH 800
#define SCREEN_HEIGHT 480
#define SCREEN_BPP 16
int resizeWindow(int width,int height)
{
GLfloat ratio;
if(height==0)
height =1;
ratio=(GLfloat)width/(GLfloat)height;
glViewport(0,0,(GLsizei)width,(GLsizei)height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(45.0f,ratio,0.1f,100.0f);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
return(1);
}
/* a function for later use */
int initGL(GLvoid)
{
static int gles_init ...
SDL_GLES_MakeCurrent(context);
/* maybe some applications require background color and smoothing? */
glShadeModel(GL_SMOOTH);
glClearColor(0.0f,0.0f,0.0f,0.0f);
glHint(GL_PERSPECTIVE_CORRECTION,GL_NICEST);
glEnableClientState(GL_VERTEX_ARRAY);
return(1);
}
/* buffer cleaning might be needed */
glClear(GL_COLOR_BUFFER_BIT);

Also, it would be nice if the buffer size is set to rgba5551 instead of rgb565 because N900 has a native ALPHA Channel support.
(Set attribute has been disabled,maybe enabling it is useful(after getting the buffer size)Example after requested 16bit buffer size with alpha channel:
Code:

SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );

You have also skipped SetEventFilter programming in the description I must say:
void SDL_SetEventFilter(SDL_EventFilter filter);
This function sets up a filter to process all events before they are posted to the event queue. This is a very powerful and flexible feature. The filter is prototyped as:

typedef int (*SDL_EventFilter)(const SDL_Event *event);If the filter returns 1, then the event will be added to the internal queue. If it returns 0, then the event will be dropped from the queue. This allows dynamically-selective filtering of events.
There is one caveat when dealing with the SDL_QUITEVENT event type. The event filter is only called when the window manager desires to close the application window. If the event filter returns 1, then the window will be closed, otherwise the window will remain open if possible. If the quit event is generated by an interrupt signal, it will bypass the internal queue and be delivered to the application at the next event poll.
Example:
Code:

/* Using additional function */
int FilterEvents(const SDL_Event *event) {
    static int boycott = 1;

    /* This quit event signals the closing of the window */
    if ( (event->type == SDL_QUIT) && boycott ) {
        printf("Quit event filtered out -- try again.\n");
        boycott = 0;
        return(0);
    }
    if ( event->type == SDL_MOUSEMOTION ) {
        printf("Mouse moved to (%d,%d)\n",
                event->motion.x, event->motion.y);
        return(0);    /* Drop it, we've handled it */
    }
    return(1);
}

SDL_SetEventFilter(FilterEvents);

Are you sure GLES minor version not needed?:
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 1);
Here's a link for palm's opengl programming,you may find it useful:
http://www.webos-internals.org/wiki/...1_3D_Cube_Demo

AgogData 2010-12-15 11:11

Re: Preenv webOS games compatibility list
 
did the new update fix shrek kerting graphical problems ?

Andy1210 2010-12-15 14:28

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 896917)
Did you try the driver.ini workaround per the wiki?

http://wiki.maemo.org/Preenv/FAQ#How...Driver_working

I only have driver working with Preenv 0.1.1, but had to add a driver.ini file (with extra linefeed) to eliminate corrupted gaphics issue.

Oh damn :D i forgot that day before yesterday reflased my N900.. Thx and sorry for my stupidity

lubabula 2010-12-15 16:04

Re: Preenv webOS games compatibility list
 
How to get NFL 2010 save game work?

Thanks.

OperationNT 2010-12-15 20:35

Re: Preenv webOS games compatibility list
 
Raging Thunder 2 N/A Not Working (undefined symbol SDL_HapticOpen???)Fixed,should be tested again

I try to run it with Preenv 0.1.3 but it crashes. I didn't see any problem on the console output about "undefined symbol SDL_HapticOpen", only a segmentation fault.

RenaldoTT 2010-12-15 21:17

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Tiptronic (Post 893710)
is there gonna be an update soon? I really wanna play that gangsta game :D

The gangstar game isn't that hot on the iPhone

RenaldoTT 2010-12-15 21:19

Re: Preenv webOS games compatibility list
 
This has little to do with this project but N.O.V.A. 2 is out downloading it now.

Arif 2010-12-15 22:21

Re: Preenv webOS games compatibility list
 
I've tried com-gameloft-app-castleofmagic_1.0.3, but I get a segmentation fault on preenv 0.1.1. What could be the problem? And I still have the crashing problem in GE Pro when using the icon.

RenaldoTT 2010-12-15 22:24

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Arif (Post 897694)
I've tried com-gameloft-app-castleofmagic_1.0.3, but I get a segmentation fault on preenv 0.1.1. What could be the problem? And I still have the crashing problem in GE Pro when using the icon.

Just wondering why you want to play those games? In my opinion they are not worth the trouble, I've played them before

javispedro 2010-12-15 23:20

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 897231)
I am not sure but you might find this code useful

Unfortunately, that is hardly a patch but rather looks like some random application's GL initialization code. It would be more useful if it was tested...

Quote:

Originally Posted by aligoodidea (Post 897231)
Also, it would be nice if the buffer size is set to rgba5551 instead of rgb565 because N900 has a native ALPHA Channel support.

Why? You lose one bit of green, which is way more useful than one bit of alpha (_unless_ we're talking about compositing).

And I know what SetEventFilter is, but not implementing could at most cause a game to hang and/or not receive input, not to crash.

And yes, the minor version is not needed because there's only GL ES 1.1 and GL ES 2.0 on the N900 (and on the Pre 1).

Acidspunk 2010-12-15 23:43

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by OperationNT (Post 897614)
Raging Thunder 2 N/A Not Working (undefined symbol SDL_HapticOpen???)Fixed,should be tested again

I try to run it with Preenv 0.1.3 but it crashes. I didn't see any problem on the console output about "undefined symbol SDL_HapticOpen", only a segmentation fault.

I just watched a video of this game on youtube. It looks like something you'd have to go to an arcade to play in the 90's. So cool. Hope we can play it with preenv someday.

RenaldoTT 2010-12-15 23:50

Re: Preenv webOS games compatibility list
 
I played Ranging Thunder on iPhone and to me it sucks, no touch controls just gyro and that's annoying to drive with

luiscesjr 2010-12-16 00:02

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Arif (Post 897694)
I've tried com-gameloft-app-castleofmagic_1.0.3, but I get a segmentation fault on preenv 0.1.1. What could be the problem?

I am not really into preenv, but looks that by the wiki, castle of magic works, as it's a seg fault on a game that was reported working, try reinstalling it, or changing it's version.

Andy1210 2010-12-16 00:09

Re: Preenv webOS games compatibility list
 
3 Attachment(s)
Fifa10 works but in bad orientation.
Code:

FUSELOG: >PAudioDeviceWaveOut::Open
FUSELOG: <PAudioDeviceWaveOut::Open!
FUSELOG: <PAudioDeviceWaveOut::Open
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teams.dat.zl
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teamnames.dat.zl
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/Saves/Rosters.dat
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/Saves/Rosters.dat
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teams.dat.zl
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teams.dat.zl


aligoodidea 2010-12-16 06:21

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 897717)
Unfortunately, that is hardly a patch but rather looks like some random application's GL initialization code. It would be more useful if it was tested...

Well, I don't have the sdk so somebody else should do it.
Quote:

Originally Posted by javispedro (Post 897717)
Why? You lose one bit of green, which is way more useful than one bit of alpha (_unless_ we're talking about compositing).

Then we should poll a voting for this! the subject is:
How many times do you see the message "ignoring colorbuffer size" in the corrupted/black graphics game (in a row)
a)3
b)4
I am sure the answer would be b (in most) then I should say it's way better if you reset the buffer and set the alpha channel for it upon its request.(already did) link:http://talk.maemo.org/showthread.php?t=66984
Quote:

Originally Posted by javispedro (Post 897717)
And I know what SetEventFilter is, but not implementing could at most cause a game to hang and/or not receive input, not to crash.

Try it.As only one game actually uses it, it won't cause much damage to the others,but don't skip it.
Quote:

Originally Posted by javispedro (Post 897717)
And yes, the minor version is not needed because there's only GL ES 1.1 and GL ES 2.0 on the N900 (and on the Pre 1).

And opengles 1.0 limited(minor)

aligoodidea 2010-12-16 06:26

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Andy1210 (Post 897754)
Fifa10 works but in bad orientation.
Code:

FUSELOG: >PAudioDeviceWaveOut::Open
FUSELOG: <PAudioDeviceWaveOut::Open!
FUSELOG: <PAudioDeviceWaveOut::Open
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teams.dat.zl
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teamnames.dat.zl
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/Saves/Rosters.dat
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/Saves/Rosters.dat
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teams.dat.zl
FUSELOG: open file error: pathfile=/home/preenv/applications/com.eamobile.fifa/vfs/DATA/teams.dat.zl


How did you managed to run it? because I am facing the application crash after the first message.

ivgalvez 2010-12-16 07:48

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aligoodidea (Post 897879)
Then we should poll a voting for this! the subject is:

I don't want to start a discussion but your messages seem a bit rude to me. Javispedro is doing it for free in his spare time, please don't bother him and be polite.


All times are GMT. The time now is 16:21.

vBulletin® Version 3.8.8