Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Flattr, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.

This is pretty fun! Game porter Ryan "Icculus" Gordon has announced that they've picked back up an older project called sdl12-compat, which provides SDL2 compatibility for older software stuck on SDL1.2.

Recently I started back up on an ancient project I never got too far with before, called sdl12-compat. The idea is to provide a binary that looks like SDL 1.2 to the legacy app, but behind the scenes, it loads a real build of SDL2 and lets that do all the hard work, just translating between what the app and SDL2 need.

There's plenty more to the post but that above seemed like a good intro…

An interesting project, one that could take some pain away from old games and applications that are no longer supported or updated. As Gordon notes, it would enable things like Wayland support without an X11 fallback, support other platforms due to the zlib license and so on. One bit that does sound quite exciting, is that it would get older games and applications that were software-rendered over onto the GPU and getting better performance, as well as better fullscreen support and more.

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

Love the Half-Life 3 folder there, blink and you will miss it.

While the use of it will obviously be quite limited, since most things are made with SDL2 now and you would be mad to use SDL1.2 it's still great to have projects like this so nothing is left behind.

See the full post on Patreon.

Article taken from
Tags: Game Dev, Misc
29 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
Page: 1/3»
  Go to:

stan 12 March 2019 at 7:47 pm UTC
  • Supporter
  • Top Supporter
Oh this is great, it might make some AGS games playable.
Vortex_Acherontic 12 March 2019 at 7:57 pm UTC
I'm a bit confused most likely because I'm very uneducated if it comes to SDL ^^"
Why is there any need for a compat tool? If I look up my package manager (YaST - Software Management) I can still install SLD 1.2 for older applications.

What is the exact benefit of a tool like this?
Is SDL2 faster or dose perform better? Or why I should use an SDL2 -> SLD 1.2 compat tool? What are the benefits?

Yes it's writen that the GPU performance might be better but do old games require that much power?
Dose it make any difference if it runs with 150 instead 200fps on a 60Hz Monitor?

I'd really like to know (yes I read the post )

Edit: Hahahah I really like the secret Half Life 3 folder on his desktop

Last edited by Vortex_Acherontic on 12 March 2019 at 8:01 pm UTC
Liam Dawe 12 March 2019 at 8:03 pm UTC
Vortex_AcheronticI'm a bit confused most likely because I'm very uneducated if it comes to SDL ^^"
Why is there any need for a compat tool? If I look up my package manager (YaST - Software Management) I can still install SLD 1.2 for older applications.
SDL1.2 hasn't been actively maintained for a long time, eventually with the switch over to Wayland and so on software using SDL1.2 might not even work.

Everything moves on, SDL2 for example has vastly better multi-monitor support, which is incredibly painful on SDL1.2 (and yes, some games do still use it - One Hour One Life for example).
dubigrasu 12 March 2019 at 8:09 pm UTC
A "Half Life 3" folder on his desktop
stan 12 March 2019 at 8:57 pm UTC
  • Supporter
  • Top Supporter
Vortex_AcheronticWhy is there any need for a compat tool?
SDL 1.2 has very bad fullscreen support, which will probably change your resolution and move all your windows, and block all keyboard shortcuts (so you can’t change your volume, alt-f4 or alt-tab).
Also SDL2 has much better gamepad support (although I’m not sure if that can be imported into the SDL 1 API…).
raneon 12 March 2019 at 9:23 pm UTC
Oh wow, this sounds really interesting. I use Plasma Wayland since a long time on all my machines so this effort is much appreciated. More or less only games do lack proper Wayland support.
Purple Library Guy 12 March 2019 at 9:28 pm UTC
Cool. I wonder if that's relevant to my old Loki games.
Dunc 12 March 2019 at 9:33 pm UTC
dubigrasuA "Half Life 3" folder on his desktop
That's what happened to it! Valve sent it to Ryan to port to Linux, and he forgot to give it back.
Shmerl 12 March 2019 at 9:40 pm UTC
stanOh this is great, it might make some AGS games playable.

Isn't AGS using Allegro still? So I don't think it's going to help.
Shmerl 12 March 2019 at 9:41 pm UTC
That's a great project, which will help quite a number of not very recent games that aren't updated anymore.
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Livestreams & Videos
None currently, submit yours here!
Popular this week
View by Category
Latest Comments
Latest Forum Posts