OS/2, eCS & ArcaOS - Technical > Programming
[SDL2] SDL_ListModes and emulation
David McKenna:
Pete,
You could try Digi's SDL ports found here: http://os2.snc.ru/product-SDL.html. Pretty sure they use the DLL names you list...
Regards,
Pete:
Hi David
Yes, have the latest of those already, Thanks. They work.
Regards
Pete
Lars:
--- Quote from: Pete on October 31, 2024, 08:28:45 pm ---Hi Lars
I deleted the sdl2*.dll files that starfighter definitely uses and updated SDL2 to 2.28.1-1 then tried running Starfighter.
Result: Error window displayed stating Cannot start J:\Games.eCS\StarFighter\starfighter.exe ...
Dropped starfighter.exe onto the PMdll object which shows starfighter needs the following files to run
sdl2.dll
sdl2mix.dll
sdl2img.dll
The above are not included in SDL2 2.28.1-1
Maybe you already have those somewhere on the libpath? - Or am I missing some sort of "forwarder" dll file where calls to sdl2*.dll files get passed to sdl2200.dll?
Regards
Pete
--- End quote ---
Ah, ok. I was mislead by you stating that the SDL2 package installed by ANPM "does not work". I thought that that would trap your system or some such.
Now I see that the game uses a completely different SDL2 implementation (thanks OS/2 for being such a mess).
I found the mentioned SDL2 files in my \ecs\dll directory and they are from 2016. Likely the package that you also have installed. So no, you are not missing anything.
By the way, I find this newer package:
http://www.hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/dev/libraries/graphics/SDL2_2-0-4_2020-09-07.zip
Have you tried that or is it better to stick to the package from 2016 ?
Pete:
Hi Lars
Installed the sdl2*.dll files from SDL2_2-0-4_2020-09-07 which work at least as well as the SDL2_2-0-4_20160225 files they replaced.
Going by file sizes and dates only sdl2.dll has changed.
Regards
Pete
Mentore:
--- Quote from: Dave Yeo on October 31, 2024, 01:20:03 am ---Looking at your package, fuse.exe uses SDL120.DLL
--- End quote ---
Checked. Indeed it is as you say.
Funnily, I tried to re-configure and make and, lo and behold, the configure script expects SDL 1.2.4 and reports an error. So it seems I can't compile it this time (the only difference being trying to include network support).
Mentore
Navigation
[0] Message Index
[*] Previous page
Go to full version