-
sdl12-compat
Cogmind-specific patches for: An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes. (by aronson)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
It was still 30 FPS at best though, in a game that could run on a potato. My new SDL.dll mystifyingly had no effect. After much research I stumbled upon a project called sdl12-compat which provided an SDL.dll that mapped everything to SDL2.dll, a modern version of the project. I built it and my heart soon sank. I got a glorious 60+ FPS experience for 10 seconds up until I fired a weapon, at which point the game crashed with a segmentation fault. It took me a month or two after that until I stumbled upon an ancient SDL mailing list post by the developer of Cogmind detailing a bug that looked exactly like my crash with a quick hack he found later to solve it. A maintainer of SDL strongly urged him not to use the hack and here we are a decade later with the reason why. I figured out the crash was a bad call to the wrong memory allocator in SDL_FreeWAV (called after, you guessed it, playing a weapon firing sound) and with a hack similar to the game developer’s the game no longer crashed! There was another problem with ear-splitting audio I solved with an SDL2 configuration, but for the most part the secret sauce was all in adapting this existing project to a specific game. The code lives here
https://github.com/ubenmackin/ACVM is a good free alternative, arguably better than utm. Parallels is unmatched though