SDL2 sources, progress and ports
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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


    New SDL2 Package Libraries available here.
    New Sources available here.

    [ Edité par beworld 14.03.2020 - 22:24 ]

    [ Edité par beworld 24.01.2021 - 07:21 ]


    [ Edité par beworld 27.08.2021 - 20:56 ]
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »17.02.20 - 19:33
    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
    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 ]
    This is just like television, only you can see much further.
  • »04.03.20 - 08:24
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 523 from 2013/5/29
    great news! thanks to al involved.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »04.03.20 - 11:13
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 761 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 - 17:20
    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
    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 ]
    This is just like television, only you can see much further.
  • »05.03.20 - 05:04
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »05.03.20 - 06:24
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 761 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 - 10:22
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 from 2010/2/10
    From: FRANCE
    lol

    SDL 2 port in progress...

    Plz wait
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »05.03.20 - 12:57
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 761 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 - 17:04
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »05.03.20 - 19:48
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »14.03.20 - 21:19
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 523 from 2013/5/29
    Nice update report.
    Thanks Beworld and BSzili!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »15.03.20 - 11:48
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    The resize and input grabbing issues were solved in the meantime.
    This is just like television, only you can see much further.
  • »16.03.20 - 09:59
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    kriz
    Posts: 309 from 2005/10/18
    From: No(R)way
    AHh this is great work all !!
    MacMiniG4 MOS 3.18 rulez ... For music check: Horrordelic Records - Dark Psychedelic Music Since 2011 -
  • »16.03.20 - 21:41
    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
    TinyGL support is now in, OpenGL contexts can be created with SDL2.
    This is just like television, only you can see much further.
  • »19.03.20 - 18:11
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Doffo
    Posts: 508 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 - 18:17
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »20.03.20 - 15:50
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ernsteiswuerfel
    Posts: 556 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.18 / Gentoo Linux] | A600GS
  • »20.03.20 - 18:51
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 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 ]
    This is just like television, only you can see much further.
  • »21.03.20 - 04:36
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ernsteiswuerfel
    Posts: 556 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.18 / Gentoo Linux] | A600GS
  • »21.03.20 - 17:10
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    You can achieve the same exact look with OpenGL, just without wasting precious CPU cycles.
    This is just like television, only you can see much further.
  • »21.03.20 - 18:07
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »31.03.20 - 20:34
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 523 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.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »01.04.20 - 08:06
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 608 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,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »01.04.20 - 08:09
    Profile Visit Website