![]() |
Re: Preenv webOS games compatibility list
Quote:
Quote:
Quote:
Quote:
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:
|
Re: Preenv webOS games compatibility list
Quote:
Welcome to the forums :) |
Re: Preenv webOS games compatibility list
Quote:
Quote:
Quote:
Quote:
Quote:
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:
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
Quote:
Quote:
Quote:
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. |
Re: Preenv webOS games compatibility list
Quote:
Quote:
|
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 ;) |
Re: Preenv webOS games compatibility list
Quote:
Quote:
Quote:
|
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 ;) |
Re: Preenv webOS games compatibility list
Quote:
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:
Quote:
Quote:
Quote:
|
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 |
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. |
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
|
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
|
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
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... |
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 |
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 ? |
Re: Preenv webOS games compatibility list
1 Attachment(s)
Driver has graphical problem on preenv 0.1.3
no any error in terminal... |
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
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. |
Re: Preenv webOS games compatibility list
Quote:
Code:
file:sdlgl.c (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 ); 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 */ 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 |
Re: Preenv webOS games compatibility list
did the new update fix shrek kerting graphical problems ?
|
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
How to get NFL 2010 save game work?
Thanks. |
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. |
Re: Preenv webOS games compatibility list
Quote:
|
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.
|
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.
|
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
Quote:
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). |
Re: Preenv webOS games compatibility list
Quote:
|
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
|
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
3 Attachment(s)
Fifa10 works but in bad orientation.
Code:
FUSELOG: >PAudioDeviceWaveOut::Open |
Re: Preenv webOS games compatibility list
Quote:
Quote:
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:
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
|
Re: Preenv webOS games compatibility list
Quote:
|
All times are GMT. The time now is 16:21. |
vBulletin® Version 3.8.8