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.
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.
Quoting: Purple Library GuyI wonder also if there's anything out there to do similar compatibility tricks with old Linux sound stuff, you know like OSS and Alsa and whatever.
osspd, padsp, alsa-oss (aoss)?
Quoting: rea987Well, there's already SDLCL that's exactly do it.I've no doubt Mr Gordon is aware of this, there will likely be enough differences to warrant a new project. After all, Mr Gordon is one of the main SDL people...
https://github.com/MrAlert/sdlcl
I'm using it daily to force ETQW, Prey (2006) and UT2k4 to use SDL2.
Quoting: liamdaweI've no doubt Mr Gordon is aware of this, there will likely be enough differences to warrant a new project. After all, Mr Gordon is one of the main SDL people...
Yeah, surely. Besides, SDLCL isn't perfect; it tends to crash on much older games like UT99, Rune; and has unsolved bugs which are recognized by dev but it has been a looong time since the last update. Having a more widely recognized and more actively supported library would be much much better.
Quoting: GuestI wouldn't doubt that he'll be browsing through sdlcl as well though, because open source is awesome that way.
Indeed it is. :-D
Quoting: GuestThank you very much this clarify the thing.
Now I'm also hyped by this project :D
I do remember the old days where Alt+Tab not working in games :D (Open Arena for example) Very annoying indeed.
Or applications moving my desktop containers/widgets when changing resolution. Never knew this was caused by SLD
There exists a SDL2 branch of OpenArena that you need to compile yourself. It works like a charm.
https://www.reddit.com/r/linux_gaming/comments/2xklb4/psa_you_can_build_openarena_with_sdl2_new_libs/
Quoting: GuestQuoting: ShmerlIsn't AGS using Allegro still? So I don't think it's going to help.Oh, you’re right, my mistake. I was a while ago that I tried to make AGS games work correctly. Now I just avoid them like the plague.
They really should have switched to SDL 2 a long time ago, and they even planned, but nothing came out of it so far.
See more from me