SDL 2 sources and progress
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    Hi all !

    I work on many ports specifically on SDL 2.0.
    But I encounter a lot of bug on version 2.03 of Itix.
    Is it possible to make the source codes of SDL 2.0.3 public in order to debug it?
    Does anyone know Itix, it does not respond to any email.

    Thank you so much.
    BeWorld


    SDL2 Package Libraries available here.

    [ Edité par beworld 14.03.2020 - 22:24 ]
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »17.02.20 - 20:33
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 536 from 2012/6/8
    From: Hungary
    Itix kindly shared the sources of his SDL2 port, which is now being merged by beworld into the AmigaPorts SDL repo. It's work in progress, currently available in this fork for those who would like to contribute.
    https://github.com/BSzili/SDL/tree/mos-sdl2

    [ Edited by BSzili 04.03.2020 - 14:05 ]
    I see the jimmies have been rustled.
  • »04.03.20 - 09:24
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 335 from 2013/5/29
    great news! thanks to al involved.
    PowerMac G5 - PowerBook G4 - MacMini with MorphOS. Amiga 1200/060 AmigaOS 3.x
  • »04.03.20 - 12:13
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 568 from 2011/11/30
    Finally! Can't wait till this gets finished / fixed. Will the current ports released need to be recompiled?
    Amiga gaming Tribute: Watch, rate, comment :)
  • »04.03.20 - 18:20
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 536 from 2012/6/8
    From: Hungary
    In theory not, but all the current ports were made with the unfinished SDL 2.03, so they include a lot of workarounds, and many things couldn't be tested (full screen, joystick support, the scancode keyboard events, etc). Since 99.9% of these ports were done by BeWorld, I'm sure he is going to redo them once SDL2 is finished.

    [ Edited by BSzili 05.03.2020 - 09:14 ]
    I see the jimmies have been rustled.
  • »05.03.20 - 06:04
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    I merge current SDL 2.03 with last SDL 2.0 (in progress)
    It's a hard work !!!! ouf....

    In deed, all system specific, it's hard to me to fix that, but i try...

    PS: My IMac G5 is running at full speed to compile it !!! :-)
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »05.03.20 - 07:24
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 568 from 2011/11/30
    @beworld, since you are at it, apart from Gloom, recently Alien Breed 3D has been totally converted under gzdoom as well. More can be read, here. Finished again Gloom quadralogy on MorphOS and I am itching for some AB3D, can you do a dirty port pls? <3
    Amiga gaming Tribute: Watch, rate, comment :)
  • »05.03.20 - 11:22
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    lol

    SDL 2 port in progress...

    Plz wait
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »05.03.20 - 13:57
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 568 from 2011/11/30
    Heh, getting anxious by opening a whole new door to porting apps. Anyway, on full screen will it take advantage of hardware acceleration?
    Amiga gaming Tribute: Watch, rate, comment :)
  • »05.03.20 - 18:04
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    Yes i know that, i have a lot of games and anothers apps to port on our favorite OS !!,

    I work with SDL 2.0.3 and i know somes limitation on it : ZGloom, Hode, NX-Engine, RE-miniscence
    I plan to port ScummVM SDL1 to SDL2 for example. And I'm sur ohter developers are waiting this port !

    This is why we working on it !

    And i hope all confirmed developers can help us if necessary and all can contribute.

    Thanks Youu
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »05.03.20 - 20:48
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    Somes news :

    - SDL2, now update with last 2.0.10 version
    - support joystick with lowlevel (same as SDL1) and in futur fix version with sensors
    - fix jump window to fullscreen
    - fix keymap

    There are somes issues with window resizing, mouse Lock in window (wrap) for example.

    - https://github.com/BSzili/SDL/blob/mos-sdl2

    Ports of my first SDL2 games on MorphOS are better !
    Hode 0.2.8 working in fullscreen :-)
    ZGlooom 0.2, toggle fullscreen, play with mouse
    I think i recompiled all games in futur.

    I port ScummVM to SDL2 for example...it's working at 99%

    And i full update SDL2_image library in last version : https://github.com/BeWorld2018/SDL-mos-sdl2_image

    SDL2_mixer : https://github.com/BeWorld2018/SDL-mos-sdl2_mixer


    BeWorld

    [ Edité par beworld 14.03.2020 - 22:24 ]

    [ Edité par beworld 03.04.2020 - 12:52 ]
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »14.03.20 - 22:19
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 335 from 2013/5/29
    Nice update report.
    Thanks Beworld and BSzili!
    PowerMac G5 - PowerBook G4 - MacMini with MorphOS. Amiga 1200/060 AmigaOS 3.x
  • »15.03.20 - 12:48
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 536 from 2012/6/8
    From: Hungary
    The resize and input grabbing issues were solved in the meantime.
    I see the jimmies have been rustled.
  • »16.03.20 - 10:59
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    kriz
    Posts: 245 from 2005/10/18
    From: No(R)way
    AHh this is great work all !!
    -- Amiga 1200/4000 - Pegasos2 - MacMiniG4 / PowerBookG4 -- Horrordelic Records - Darkpsy Psychedelic Label - Based in Norway (Hell) --
  • »16.03.20 - 22:41
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 536 from 2012/6/8
    From: Hungary
    TinyGL support is now in, OpenGL contexts can be created with SDL2.
    I see the jimmies have been rustled.
  • »19.03.20 - 19:11
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Doffo
    Posts: 475 from 2010/10/14
    From: Nevada
    Quote:

    BSzili wrote:
    TinyGL support is now in, OpenGL contexts can be created with SDL2.


    Baaaaaaaaaaaaaam! :)
    -=-=-=-
    YUUUP!
  • »19.03.20 - 19:17
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    And The first tests are incredible!

    scummvm_sdl2_opengl.png

    ScummVM with SDL2 and OpenGL !


    BeWorld
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »20.03.20 - 16:50
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    ernsteiswuerfel
    Posts: 373 from 2015/6/18
    From: Funeralopolis
    Quote:

    beworld schrieb:
    ScummVM with SDL2 and OpenGL !


    Nice work! Are there other advantages of the OpenGL scaler besides using less CPU power? I prefer simple x2/x3 scalers where you can count the pixels. ;-)
    Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.13 / Void Linux / Gentoo Linux] | A1200. ACA-1233, Indivision AGA Mk2. [Amiga OS 3.2]
  • »20.03.20 - 19:51
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 536 from 2012/6/8
    From: Hungary
    The main advantage is freeing up the CPU to do other tasks, and of course it's faster. Bilinear filtering is not forced on you, in fact it's turned off by default in ScummVM's built-in GL renderer.

    [ Edited by BSzili 21.03.2020 - 05:42 ]
    I see the jimmies have been rustled.
  • »21.03.20 - 05:36
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    ernsteiswuerfel
    Posts: 373 from 2015/6/18
    From: Funeralopolis
    Ah I see. Thanks for the update! Will be a good thing then for slower machines actually. Running x3 scaler needs about 20 % cpu on my PowerBook. If the OpenGL renderer looks similar to x2/x3 and uses less cycles that's a good improvement!
    Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.13 / Void Linux / Gentoo Linux] | A1200. ACA-1233, Indivision AGA Mk2. [Amiga OS 3.2]
  • »21.03.20 - 18:10
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 536 from 2012/6/8
    From: Hungary
    You can achieve the same exact look with OpenGL, just without wasting precious CPU cycles.
    I see the jimmies have been rustled.
  • »21.03.20 - 19:07
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    First beta version of library SDL2.library (2.0.11) and SDL2_image.library (2.0.5)

    I upload somes games ports :-)

    BeWorld


    Game recompiled with last SDL2 :
    - Hode 0.2.8 rebuild : https://www.morphos-storage.net/?page=Games%2FAdventure&file=Hode_0.2.8.lha
    - ZGloom 0.2 rebuild last git : https://www.morphos-storage.net/?page=Games%2FShoot+3D&file=ZGloom_0.2.0.lha
    ....

    [ Edité par beworld 31.03.2020 - 23:00 ]

    [ Edité par beworld 01.04.2020 - 09:58 ]
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »31.03.20 - 21:34
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 335 from 2013/5/29
    Great mates!

    I have a problem. I have downloaded SDL, copy to libs: , version sdl2.library show 53.0.
    Then I install Hode and when I try to execute it shows a requester "Need version 53 of sd2.library"
    Snoopium finds the lib but seem it refuses to load/open it.
    PowerMac G5 - PowerBook G4 - MacMini with MorphOS. Amiga 1200/060 AmigaOS 3.x
  • »01.04.20 - 09:06
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 367 from 2010/2/10
    From: FRANCE
    ok redownload libraries archive, first archive as corrupt.

    [ Edité par beworld 01.04.2020 - 10:10 ]
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »01.04.20 - 09:09
    Profile Visit Website