PowerSDL 15.3 uploaded to Aminet
  • Moderator
    guruman
    Posts: 461 from 2003/7/21
    Thanks itix, Wesnoth now works on the PowerBook with PowerSDL 15.9 as well.

    Kind regards,
    Andrea
  • »02.01.13 - 23:02
    Profile
  • Butterfly
    Butterfly
    SixK
    Posts: 72 from 2004/11/16
    PowerSDL_ttf.library seem's to still crash with Flare 0.17 but since only PowerSDL.library has changed, it's not a surprise.

    This version may also introduce a regression on Unix file paths :
    FreedroidRPG 0.15.1 encountered a problem in function: load_image_surface
    Could not load image.
    File name: PROGDIR:graphics/tux_motion_parts/1hmelee/feet//iso_boots1/iso_boots1_1.png. IMG_GetError(): Error writing to datastream.
    If you encounter this message, please inform the FreedroidRPG developers about it
    You can
    send an e-mail to freedroid-discussion AT lists.sourceforge.net
    mention it on our IRC channel #freedroid on irc.freenode.net
    post on our forum at https://sourceforge.net/apps/phpbb/freedroid
    or report the bug on our tracker at http://bugs.freedroid.org/
    Thank you!
    The problem mentioned above is not fatal, we continue the execution.

    SixK

    [ Edited by SixK 03.01.2013 - 19:48 ]
  • »03.01.13 - 18:45
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Looks like I should start writing unit tests for PowerSDL. This was already fixed and it is broken again. I forgot that Flare 0.17 entirely... going to take a look now :)
    1 + 1 = 3 with very large values of 1
  • »03.01.13 - 20:19
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    @SixK

    Quote:


    V15.4 gives broken graphics un fullscreen with Flare 0.16.
    and crash in window mode with Flare 0.17.



    I compiled new SDL_ttf 2.0.11 and Flare 0.17. "Play Game" in main menu is ghosted and when entering configuration menu it crashes.

    Creating RGB surface is failing because surface width >= 16384 || height >= 65536.
    1 + 1 = 3 with very large values of 1
  • »08.01.13 - 19:27
    Profile
  • Butterfly
    Butterfly
    SixK
    Posts: 72 from 2004/11/16
    Here are know problems in Flare for Morphos :
    - Broken graphics when choosing Character or saved game
    - Black screen when leaving configuration menu (this may lead to force you to reboot). Try to click at bottom of the screen right in the middle....

    For this : "Creating RGB surface is failing because surface width >= 16384 || height >= 65536."
    I should have a look, It's probably a Lillte Endian to BE conversion missing ?

    SixK
  • »09.01.13 - 12:33
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    This is what I am getting in Flare 0.16:

    Pink rectangle on the right:
    Flare1.png

    Graphisc corruption around character:
    Flare2.png

    I dont know yet where this could be coming from.

    [ Edited by itix 11.01.2013 - 00:46 ]
    1 + 1 = 3 with very large values of 1
  • »10.01.13 - 21:46
    Profile
  • Butterfly
    Butterfly
    SixK
    Posts: 72 from 2004/11/16
    @itix,

    first picture was already like that with PowerSDL 14.
    2nd picture, There is no picture corruption like that with powerSDL 14.

    SixK
  • »11.01.13 - 22:08
    Profile Visit Website
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 464 from 2003/7/25
    From: Wroclaw/Poland
    I have compiled my application using PowerSDL 15.9 SDK and the application crashes when I use glGenTextures() function. If I back to PowerSDL 14.0, the application works well. Fortis game (compiled using PowerSDL SDK 14.0) crashes too when I have PowerSDL 15.9 libraries in SYS:LIbs. :(
    Do you know where is the problem?
    I use Pegasos 2 G4/1000 with MorphOS 3.1 and MOS SDK 3.1.

    [ Edited by MDW 12.01.2013 - 01:36 ]
  • »11.01.13 - 23:16
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    Is it just me, or SDL_MapRGB(A) incorrectly uses little endian packing? I recently ported two games, and I get wrong colors (white+red instead of black+white, etc).

    edit: Ah, never mind, it only happens with 16bit screens.

    [ Edited by BSzili 12.01.2013 - 11:41 ]
    This is just like television, only you can see much further.
  • »12.01.13 - 09:16
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:


    2nd picture, There is no picture corruption like that with powerSDL 14.



    Can you find out how this part of gfx is handled? How it is loaded, is it SW or HW surface, what is used for blitting?
    1 + 1 = 3 with very large values of 1
  • »12.01.13 - 09:58
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:


    I have compiled my application using PowerSDL 15.9 SDK and the application crashes when I use glGenTextures() function. If I back to PowerSDL 14.0, the application works well.



    I'll take a look.

    Quote:


    Fortis game (compiled using PowerSDL SDK 14.0) crashes too when I have PowerSDL 15.9 libraries in SYS:LIbs. :(
    Do you know where is the problem?



    Is it crashing with PowerSDL v14 libraries? I found out that it is making a SysV ABI call to offset -352 using NULL pointer. This call is made from Fortis.

    This could be SDL_GL_UpdateRects() in powersdl.library or Mix_PausedMusic() in powersdl_mixer.library but it could be also some other SDL library.
    1 + 1 = 3 with very large values of 1
  • »12.01.13 - 10:06
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:


    Is it just me, or SDL_MapRGB(A) incorrectly uses little endian packing? I recently ported two games, and I get wrong colors (white+red instead of black+white, etc).

    edit: Ah, never mind, it only happens with 16bit screens.



    It is possible I have made a mistake there. 16bit screens are little endian in MorphOS but SDL only supports big endian screens. It should work but could be I messed up something. 16bit screens are rarely used these days.
    1 + 1 = 3 with very large values of 1
  • »12.01.13 - 10:09
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:


    This could be SDL_GL_UpdateRects() in powersdl.library or Mix_PausedMusic() in powersdl_mixer.library but it could be also some other SDL library.



    When diffing V15 against V14 source code I found a bug from SDL_GL_UpdateRects() call in powersdl.library and this is probably cause of crash. Going to fix this today.
    1 + 1 = 3 with very large values of 1
  • »12.01.13 - 11:30
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 464 from 2003/7/25
    From: Wroclaw/Poland
    Each my application compiled using PowerSDL SDK 15.9 or 14.0 crashes if I have in SYS:Libs libraries from PowerSDL 15.9 archive.


    When diffing V15 against V14 source code I found a bug from SDL_GL_UpdateRects() call in powersdl.library and this is probably cause of crash. Going to fix this today.

    Great! Thank you for very fast investigation of the problem. Itix rules! :)
  • »12.01.13 - 12:26
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    I finally have got Fortis running. There were in fact two separate issues with it and second one was caused by yeat another third issue I have to fix in SDL library code.
    1 + 1 = 3 with very large values of 1
  • »12.01.13 - 20:10
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 464 from 2003/7/25
    From: Wroclaw/Poland
    itix,
    Quote:

    I finally have got Fortis running. There were in fact two separate issues with it and second one was caused by yeat another third issue I have to fix in SDL library code.


    It is very good and important news for me! Thank you.
    I have already said - Itix rules! :)
  • »12.01.13 - 20:25
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    I uploaded powersdl v15.10 to Aminet. It includes new powersdl_ttf.library and powersdl.library with OpenGL fixes.

    I still dont know where gfx corruption in Flare is coming from.
    1 + 1 = 3 with very large values of 1
  • »13.01.13 - 18:55
    Profile
  • Visitor
  • Yeeeaaahh! I will test it today. Thank you Itix!
  • »14.01.13 - 07:02
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    @itix:
    If you have some time, could you take a peek at NXEngine (Cave Story)? I can't get SDL color keying to work in fullscreen.
    This is just like television, only you can see much further.
  • »21.01.13 - 09:20
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    @BSzili

    Quote:


    Setting tick function to type 6 param 0
    Entering main loop...
    >> Entering stage 72: 'u'.
    error << NXSurface::LoadImage: load failed of 'data/Stage/PrtWhite.pbm'! >>

    ************************************************
    * An in-game error occurred. Game shutting down.
    ************************************************
    Setting tick function to type 1 param 0



    Any idea?

    [ Edited by itix 21.01.2013 - 19:03 ]
    1 + 1 = 3 with very large values of 1
  • »21.01.13 - 16:02
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    That file should be created during the extraction process. If it isn't there you can try a clean "install", and let the game extracts its stuff again.
    This is just like television, only you can see much further.
  • »21.01.13 - 19:45
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    It is there and according to Snoopium is accessed successfully. I have recently updated my SDL port to 1.2.15 so maybe it has something to do with this...
    1 + 1 = 3 with very large values of 1
  • »21.01.13 - 20:02
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Oh... found a problem. I have to rebuild all SDL libraries from scratch so this will be postponed tomorrow.
    1 + 1 = 3 with very large values of 1
  • »21.01.13 - 20:16
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    @SixK

    Quote:


    Flare 0.17 seem's to crash in powersdl_ttf.library when looking at logTool.
    Pingus is OK now as you said.



    It no longer crashes with my fixed SDL build and issues with insanly large surface allocations are gone. It was simply due to wrong endianess in SDL.
    1 + 1 = 3 with very large values of 1
  • »23.01.13 - 19:35
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    @BSzili

    It is indeed broken in full screen mode. Working on it...
    1 + 1 = 3 with very large values of 1
  • »23.01.13 - 19:41
    Profile