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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5584
  • Karma: +141/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #120 on: September 27, 2025, 05:05:43 am »
Hi David

SDL is buffered (dive) and so the picture isn't on the screen in the classic sense. The black screen in Gotcha and other screen capture app is expected as they would need to read the dive buffer to get the image.

Gregg

OK, thanks for the explanation.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5497
  • Karma: +49/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #121 on: September 27, 2025, 05:54:11 pm »
Thanks Dave

It is working fine here now.

I upload the package on github, since I have a problems uploading bigger files on these forum. (I'm checking on that, since we updated PHP, maybe there is a setting that needs to be set).

Can you please update any change to the makefile to this repo? Let me know if you are ok with the readme.
- https://github.com/OS2World/GAME-SDL-EDUCATIONAL-Marryampic2

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

Wim Brul

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +26/-0
    • View Profile
    • Wim's home page
Re: Games with older SDL and FSLIB
« Reply #122 on: September 28, 2025, 10:23:45 am »
There is DIVECapt_2002-03-13.zip on hobbes which captures the full OS/2 desktop.

DIVECAPT /H shows help information. Alas not readable on my system...

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5584
  • Karma: +141/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #123 on: September 28, 2025, 07:11:09 pm »
Thanks Dave

It is working fine here now.

I upload the package on github, since I have a problems uploading bigger files on these forum. (I'm checking on that, since we updated PHP, maybe there is a setting that needs to be set).

Can you please update any change to the makefile to this repo? Let me know if you are ok with the readme.
- https://github.com/OS2World/GAME-SDL-EDUCATIONAL-Marryampic2

Regards

The readme looks fine though I did link to Digi's SDL12.dll rather then the RPM, at least I meant to.
I'm having a problem pushing my change, which is basically just a new Makefile.os2. I've tried a bunch of times including cloning the repository 3 times and last I tried simply rm Makefile.os2 and pushing that. Always get this error,
Code: [Select]
C:\...\GAME-SDL-EDUCATIONAL-Marryampic2>git push
Username for 'https://github.com':
Password for 'https://dryeo@github.com':
fatal: protocol error: bad line length character: ^14a
fatal: bad revision '1247678318bec94f1f3533514230f35ce3997'
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
error: failed to push some refs to 'https://github.com/OS2World/GAME-SDL-EDUCATIONAL-Marryampic2'
Makefile attached if you want to try pushing it.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5584
  • Karma: +141/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #124 on: September 28, 2025, 07:18:23 pm »
There is DIVECapt_2002-03-13.zip on hobbes which captures the full OS/2 desktop.

DIVECAPT /H shows help information. Alas not readable on my system...

Thanks, that does work. Having a hard time translating the Japanese. When you run DIVECAPT /h, a directory is created, DIVECAPT with the help in text and html, the html displays fine in SeaMonkey and looks like japanese but Google says it can't translate it. Closing the editor also deletes the directory so keep the editor open to play with the HTML.
Perhaps Google hates,
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//Microsoft//DTD Internet Explorer 3.0 HTML//EN">

When the text is mostly Japanese.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5497
  • Karma: +49/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #125 on: September 29, 2025, 05:34:02 am »
Thanks Dave

I updated the makefile on "https://github.com/OS2World/GAME-SDL-EDUCATIONAL-Marryampic2".

Can you please now check Pingus:
- https://github.com/Pingus/pingus

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5584
  • Karma: +141/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #126 on: October 04, 2025, 06:26:35 am »
Can you please now check Pingus:
- https://github.com/Pingus/pingus

Hi Martin, I've given up on Pingus. The latest has a hard requirement of OpenGL, went back a couple of versions to before they used OpenGL. It has a dependency on Boost, https://www.boost.org/ which does claim to support OS/2 and likely did at one point. I can build it but it crashes with a sigabort. Using the latest GCC and a debug build the problem is clear and I can't see how to fix.
Code: [Select]
src/engine/jamgram.cpp: In function 'int yyparse()':
src/engine/jamgram.cpp:2282:18: warning: 'void free(void*)' called on unallocated object 'yyssa' [-Wfree-nonheap-object]
src/engine/jamgram.cpp:1152:16: note: declared here

Building is done. To install, run:

    ./b2 install --prefix=<DIR>


[H:\tmp\boost_1_89_0\tools\build]b2
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string: construction from null is not valid

Killed by SIGABRT
pid=0x4442 ppid=0x3226 tid=0x0001 slot=0x0011 pri=0x0200 mc=0x0001 ps=0x0010
H:\TMP\BOOST_1_89_0\TOOLS\BUILD\B2.EXE
Creating 4442_01.TRP
Moved 4442_01.TRP to W:\var\log\app\68e0392b-4442_01-B2-exceptq.txt

The trp does point to jamgram.cpp being the issue. Even tried an earlier version, same problem.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5497
  • Karma: +49/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #127 on: October 06, 2025, 11:46:12 pm »
Thanks Dave for looking at it.

Can you please check SDLInvaders?
-- https://github.com/OSSGames/GAME-SDL-ACTION-SDLInvaders

Regards
« Last Edit: October 06, 2025, 11:50:41 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.