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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +46/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #60 on: July 28, 2025, 10:52:17 pm »
Hello Dave

Tellie made a port and shared the source code:
- https://rpm.netlabs.org/test/Martin/

There is still an issue that the compile exe gives you an issue the second time you run it because some path problems. But I think you can give it a try to see if it compiles in your environment.

It requires "yum install xerces-c libincov libcurl". But Tellie also includes XERCES33.DLL , LIBCURL.DLL and ICONV2.DLL on his test package.  (I don't know where LIBCURL.DLL comes from)

Regards

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5503
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #61 on: July 29, 2025, 02:28:01 am »
My build is now failing,
Code: [Select]
make[3]: Entering directory 'H:/tmp/Enigma/doc/reference/images'
convert -density 112x112 -units PixelsPerCentimeter -crop 60x60+0+0 H:/tmp/Enigma/doc/reference/images/../../../data/gfx48/ac_bug.png ac_bug.png
sh.exe: 0: Can't open convert
convert -density 112x112 -units PixelsPerCentimeter -crop 60x60+0+0 H:/tmp/Enigma/doc/reference/images/../../../data/gfx48/ac_horse.png ac_horse.png
sh.exe: 0: Can't open convert
make[3]: *** [Makefile:936: ac_bug.png] Error 127

IIRC, convert is part of Imagemagick. While poking around Paul's site for imagemagick, I notice that he already has a build of Enigma 1.3.0, https://os2ports.smedley.id.au/?page_id=79 to compare against.
With 2 ports already, I may not go any further.
BTW, libcurl comes from the libcurl RPM package and is just a DLL containing curl basically.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +46/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #62 on: July 30, 2025, 10:44:44 pm »
Hi Dave
With 2 ports already, I may not go any further.
But if you make it compile that will be great.  ;D Paul's version is older and dependent on FSLIB and Tellies port has this issue that does not loads from the second time.

The next in the list is Formido: https://www.mhgames.org/oldies/formido/
-- https://github.com/OSSGames/GAME-SDL-ACTION-Formido

Regards
« Last Edit: July 30, 2025, 10:47:45 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5503
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #63 on: August 01, 2025, 05:10:40 am »
The next in the list is Formido: https://www.mhgames.org/oldies/formido/
-- https://github.com/OSSGames/GAME-SDL-ACTION-Formido

Regards

Hi Martin, built formido.exe, seems to work though it did lock up my system at one point, perhaps due to SM limiting memory. On a freshly booted system it was fine.
Trying to push my changes results in,
Code: [Select]
H:\tmp\GAME-SDL-ACTION-Formido>git push
Username for 'https://github.com':
Password for 'https://dryeo@github.com':
remote: Permission to OSSGames/GAME-SDL-ACTION-Formido.git denied to dryeo.
fatal: unable to access 'https://github.com/OSSGames/GAME-SDL-ACTION-Formido/':
The requested URL returned error: 403

Here's the exe, need the data directory from https://www.mhgames.org/download.php?formido-1.0.1.tar.gz for it to run

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +46/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #64 on: August 01, 2025, 04:40:53 pm »
Thanks A lot Dave.

I forked the project into the OS2World github org so you can upload the code changes:
- https://github.com/OS2World/GAME-SDL-ACTION-Formido

I will try out the game and let you know.

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5503
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #65 on: August 01, 2025, 05:03:31 pm »
Must have been tired as I thought it was your fork :) I'll push soon.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +46/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #66 on: August 01, 2025, 05:07:56 pm »
Hello

I had tried it and works fine here. It lags a little bit when too many bugs shows on screen, but I guess we need to live with that limitation.

Here it is attached the release version that I plan to upload to hobbes.

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5503
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #67 on: August 02, 2025, 01:44:44 am »
Here it is attached the release version that I plan to upload to hobbes.

Looks good. Did you use the SDL RPM? I only tested with the SDL from SDL_1-2-15_2020-10-05.zip. Perhaps test to see if it is as laggy using that SDL DLL.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +46/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #68 on: August 02, 2025, 04:06:22 am »
Hi Dave

You are right, with the SDL12.DLL from "SDL_1-2-15_2020-10-05.zip" it works better.

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5503
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #69 on: August 02, 2025, 04:58:05 am »
Seems your readme should then be updated.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5400
  • Karma: +46/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #70 on: August 02, 2025, 06:26:05 am »
Thanks Dave. I already uploaded, but tomorrow I will change it at hobbes.

Abusing of your time again, (if possiblr) the next one is:
- https://github.com/OSSGames/GAME-SDL-ACTION-UHexen
- https://uhexen.sourceforge.net/
The shareware wad is here: https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/games/action/UHexen_0-601.zip

Regards

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

TeLLie

  • Sr. Member
  • ****
  • Posts: 280
  • Karma: +17/-0
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #71 on: August 02, 2025, 06:42:15 pm »
Hi Martin

Did you checked http://github.com/sezero/uhexen2

As this is even for os2.

This can be compiled with watcom.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5503
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #72 on: Today at 04:02:28 am »

Abusing of your time again, (if possiblr) the next one is:
- https://github.com/OSSGames/GAME-SDL-ACTION-UHexen
- https://uhexen.sourceforge.net/
The shareware wad is here: https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/games/action/UHexen_0-601.zip

Regards

Hi Martin, I compiled UHexen, dropping the binary and DLL's into UHexen_0-601 I get,
Code: [Select]
H:\tmp\hexen>uhexen.exe
Starting Hexen!
V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
DEMO IWAD detected!
Z_Init: Init zone memory allocation daemon.
MN_Init: Init menu system.
CT_Init: Init chat mode data.
S_InitScript
SN_InitSequenceScript: Registering sound sequences.
I_Init: Setting up machine state.
SDL Audio opened successfully.
ST_Init: Init startup screen.
Executable: U-Hexen 0.5 build Aug  2 2025.
R_Init: Init Hexen refresh daemonTextures Flats Sprites Colormaps Done.
P_Init: Init Playloop state.
Numsprites:300
D_CheckNetGame: Checking network game status.
SB_Init: Loading patches.
SDL: Using video driver:OS2

Killed by SIGSEGV
pid=0x5188 ppid=0x0062 tid=0x0001 slot=0x00ac pri=0x0200 mc=0x0001 ps=0x0010
H:\TMP\HEXEN\UHEXEN.EXE
cs:eip=04b0:00000000      ss:esp=1f38bb5a:001efb78      ebp=00000053
 ds=1f38c045      es=0000      fs=0002      gs=0000     efl=1b35a301
eax=001efc28 ebx=1ffc9d7c ecx=001efc3c edx=001efc60 edi=001efb20 esi=001eff8c
Creating 5188_01.TRP
Moved 5188_01.TRP to W:\var\log\app\688e5e16-5188_01-UHEXEN-exceptq.txt

And looking at the trp file, the call stack has _VSDL_InitGraphics as the culprit.
I'll play more, there are a lot of warnings in the compile, but not hopeful.
After I'll look at the source that Tellie pointed to and see about compiling that to use our current environment.