Author Topic: Games with older SDL and FSLIB  (Read 157966 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #165 on: January 16, 2026, 04:14:57 pm »
That is strange. Do you think it is a limitation of our git port? Or is some strange file on the repository.

This is the source I can get from Github desktop (Windows) attached.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +152/-1
Re: Games with older SDL and FSLIB
« Reply #166 on: January 16, 2026, 04:34:33 pm »
Not sure, perhaps some file combined with our port. After unzipping the source, I tried git pull and it still stalled.
Look at the source later

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #167 on: January 28, 2026, 02:54:20 am »
Hello Dave

Did you have any luck with the "snakeme" source code?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +152/-1
Re: Games with older SDL and FSLIB
« Reply #168 on: January 28, 2026, 05:19:25 am »
Been having problems with cmake, it produces makefiles that recurse and lock the system up.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #169 on: January 28, 2026, 03:49:11 pm »
Been having problems with cmake, it produces makefiles that recurse and lock the system up.
Do you think it is an issue with out cmake port? or some configuration change on your dev enviroment?
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +152/-1
Re: Games with older SDL and FSLIB
« Reply #170 on: January 28, 2026, 05:53:28 pm »
It seems to be a local problem. I should probably uninstall and reinstall cmake.
Often I can work around by using Ninja instead of make but am unsure how to add extra includes and libraries as we're using the OW SDL libs.


Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #171 on: April 21, 2026, 06:26:00 pm »
Hello Dave

Abusing of your time again  ;D , do you think you can take a looks at "still yet another sokoban" to see if it compiles?
-- https://github.com/OSSGames/GAME-SDL-PUZZLE-Still_Yet_Another_Sokoban_2

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +152/-1
Re: Games with older SDL and FSLIB
« Reply #172 on: April 21, 2026, 11:32:41 pm »
Sure, easy one with basically just needing .exe added. See attached.
Edit: Forgot the binary, only lightly tested
« Last Edit: April 21, 2026, 11:36:32 pm by Dave Yeo »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #173 on: Today at 03:24:50 am »
Thanks Dave.

It runs fine. Alt+Enter does full screen. The only issue I found is the mouse movement on full screen, but I guess this is an issue with SDL.

Here it is the game package.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +152/-1
Re: Games with older SDL and FSLIB
« Reply #174 on: Today at 04:53:11 am »
Which SDL are you using? It is compiled against the RPM version and the mouse doesn't seem too bad here, though keyboard seems better.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #175 on: Today at 04:55:54 pm »
Hello Dave

Thanks again for the help:

I'm using this one:
Code: [Select]
Directory of C:\usr\lib

 6-30-16  6:46a       301,035    124 a---  SDL120.dll

But maybe it is also the mouse driver on the VirtualBox. I will check it on real hardware.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5697
  • Karma: +50/-1
  • Your Friend Wil Declares...
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #176 on: Today at 05:18:39 pm »
Hello Dave

Can you please also check if Tile World 2 compiles too?
- https://github.com/OSSGames/GAME-SDL-PUZZLE-Tile-World
- https://tw2.bitbusters.club/

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +152/-1
Re: Games with older SDL and FSLIB
« Reply #177 on: Today at 06:38:46 pm »
Hello Dave

Can you please also check if Tile World 2 compiles too?
- https://github.com/OSSGames/GAME-SDL-PUZZLE-Tile-World
- https://tw2.bitbusters.club/

Regards

Not sure which version of Qt it uses. Trying Qt4, I get
Code: [Select]
In file included from ./oshwbind.h:15,
                 from ../generic/generic.h:10,
                 from ../generic/in.c:8,
                 from ../generic/_in.cpp:1:
W:/usr/include/Qt/qt_os2.h:61:10: fatal error: API_FPU_CW_Wrappers.h: No such file or directory
   61 | #include <API_FPU_CW_Wrappers.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
And qt_os2.h has,
Code: [Select]
// wrappers for each Win* and Gpi* call that restore the FPU Control Word
#include <API_FPU_CW_Wrappers.h>
but no API_FPU_CW_Wrappers.h to be found here.