Development : : RebelSDL 1.0 released
Posted By: softwarefailure. on 2017/9/10 11:36:03
RebelSDL 1.0 released

Summer's over and Airsoft Softwair, the hardest working men in code business, are back on your screen with a brand-new plugin for Hollywood: RebelSDL. RebelSDL is a plugin for Hollywood that allows you to use SDL (Simple DirectMedia Layer) from Hollywood. This makes it possible to write scripts that utilize the host system's graphics hardware to create high-performance, butter-smooth 2D animation that is produced completely in hardware by the GPU of your graphics board. This leads to a huge performance boost over the classic Hollywood graphics API which is mostly implemented in software for maximum portability and compatibility. Especially systems with slower CPUs (like the Raspberry Pi) will benefit greatly from hardware-accelerated drawing, scaling, and transformation offered by SDL.

SDL is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games. More information about SDL can be obtained from http://www.libsdl.org. You can find good tutorials about learning SDL all over the web.

RebelSDL transparently replaces Hollywood's inbuilt display handler with its own display handler managed by SDL. Whenever RebelSDL is activated, Hollywood displays are automatically mapped to SDL windows and hardware brushes are mapped directly to SDL textures so that they can be drawn, scaled, and transformed in an extremely quick way on all supported systems. This is especially useful on Windows, Mac OS X, and Linux because Hollywood doesn't support hardware double buffers and hardware brushes on these platforms by default. With RebelSDL, however, hardware double buffers and hardware brushes can be used on these platforms now too. So RebelSDL can also act as a helper plugin here which adds this functionality to Hollywood without having you write a single line of SDL code to utilize it!

On top of that, RebelSDL offers wrapper functions for some useful commands of the SDL API, for example RebelSDL allows you to call SDL's joystick and game controller functions which are much more flexible than Hollywood's inbuilt joystick library. RebelSDL also allows you to access Hollywood hardware brushes as SDL textures and modify their properties via some dedicated SDL calls exposed by RebelSDL.

Finally, RebelSDL also replaces Hollywood's inbuilt audio driver with the audio driver offered by SDL. In contrast to the graphics driver SDL's audio driver probably doesn't have any advantage over Hollywood's inbuilt audio driver but by using it RebelSDL will turn your program into a complete SDL application which doesn't only use SDL for graphics output but also for audio output.

RebelSDL utilizes the new display adapter plugin interface introduced with Hollywood 6.0. It was actually written as a test case 3 years ago when Hollywood 6.0's display and audio adapter plugin interfaces were designed. Because RebelSDL uses these new Hollywood 6 plugin interfaces it will not work with any older versions of Hollywood. It requires at least Hollywood 6.0. Whenever RebelSDL is activated, all graphics and audio output will automatically be routed through SDL. To benefit from hardware-accelered drawing, however, Hollywood scripts have to follow some rules as described in the manual.

RebelSDL comes with extensive documentation in various formats like PDF, HTML, AmigaGuide, and CHM that contains information about how to use this plugin. The manual is also available online for quick access. On top of that, many example scripts are included in the distribution archive to get you started really quickly.

All of this makes RebelSDL the ultimate scripting experience for all you SDL rebels by combining the best of both worlds into one powerful plugin: Hollywood's extensive and convenient multimedia function set and SDL's raw graphics power!

Amiga users please note that currently only MorphOS is supported. There are no SDL2 ports for OS3 and AROS and the OS4 version of RebelSDL is currently on hold due to technical difficulties. The MorphOS version is also rather unstable but this is because MorphOS' SDL2 port seems to be in alpha state.

RebelSDL is now available for free download from the official Hollywood portal at http://www.hollywood-mal.com.

This release was brought to you by Airsoft Softwair, the hardest working men in code business.
 
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Joined: 2003/7/26
    Posts: 451
    From: Wroclaw/Poland
    Does someone develop SDL2 for MorphOS? Really? When could we expect final (or beta) version?
  • »2017/9/10 11:45
    Profile Visit Website
  • ASiegel
    Joined: 2003/2/15
    Posts: 1370
    From: Central Europe
    @ MDW

    It might be a good idea to drop the author an email. His email address is listed on Aminet, for instance.
  • »2017/9/10 12:06
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Joined: 2003/7/26
    Posts: 451
    From: Wroclaw/Poland
    It is good idea. :)

    I am not interested in RevelSDL but I am interested in SDL2 for MorphOS.

    [ Edited by MDW On 2017/9/10 13:34 ]
  • »2017/9/10 12:31
    Profile Visit Website
  • Caterpillar
    Caterpillar
    softwarefailure
    Joined: 2011/4/24
    Posts: 26
    From:
    @MDW: Best of luck, I've tried to contact itix several times in the course of RebelSDL development but neither my emails nor reports on the MorphOS bugtracker saw any replies. As it stands, there are several issues with MorphOS SDL2: fullscreen mode crashes instantly, minimizing windows also crashes instantly, there doesn't seem to be any hardware acceleration, the mouse pointer is always hidden, borderless windows don't work, and probably much more...
  • »2017/9/10 12:56
    Profile Visit Website
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Joined: 2003/7/26
    Posts: 451
    From: Wroclaw/Poland
    Quote:

    I've tried to contact itix several times in the course of RebelSDL development but neither my emails nor reports on the MorphOS bugtracker saw any replies.

    This is very bad news. SDL2 is very early alpha version. It can't be base of other projects. Maybe someone could get last version of the SDL2 for MOS sources and continue development...
  • »2017/9/10 13:06
    Profile Visit Website
  • MorphOS Developer
    itix
    Joined: 2003/2/24
    Posts: 1516
    From: Finland
    Hi :)

    I havent checked my emails in loooong time and bugtracker even less than that... I have been enjoying normal life for a while now. I am now trying to get me involved with MorphOS again and there has been many many requests to improve SDL 2.

    I'll give it a go next week.

    The problem with MorphOS is that since we moved my Mac Mini is no longer in living room and when using MorphOS I am away from my family. I have to negotiate with my wife how to fix that...
  • »2017/9/16 21:10
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Joined: 2003/6/4
    Posts: 2053
    From:
    Quote:

    Hi :)

    I havent checked my emails in loooong time and bugtracker even less than that... I have been enjoying normal life for a while now. I am now trying to get me involved with MorphOS again and there has been many many requests to improve SDL 2.

    I'll give it a go next week.

    The problem with MorphOS is that since we moved my Mac Mini is no longer in living room and when using MorphOS I am away from my family. I have to negotiate with my wife how to fix that...


    Get a powerbook (or ibook). Easiest fix in my experience ;-)
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »2017/9/16 23:03
    Profile Visit Website
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Joined: 2003/7/26
    Posts: 451
    From: Wroclaw/Poland
    Quote:

    I'll give it a go next week.

    Great news! Welcome back!

    I think you should change the MacMini to PowerBookG4. It should be very comfortable machine for you.
  • »2017/9/18 12:03
    Profile Visit Website
  • MorphOS Developer
    itix
    Joined: 2003/2/24
    Posts: 1516
    From: Finland
    I have PowerBook but its HD has been dead two years now... or maybe even three. Yes, replacing that one is on my todo list... =P
  • »2017/9/18 20:39
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Joined: 2003/7/26
    Posts: 451
    From: Wroclaw/Poland
    Replacing HD in PowerBookG4 is easy. I have replaced small and very very slow 80GB to better 160GB.
  • »2017/9/19 9:24
    Profile Visit Website