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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5512
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #75 on: August 05, 2025, 05:55:57 am »
Tried with 16 bit colour, same output. Guess it is old enough that 256 colour was common and that is what it wants. It's a shame as it compiles nicely with OW, besides having to compile every binary separately.

Martin Iturbide

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

I don't know how they compile it on 2018. Here it is working.
Like I said before I didn't noticed that UHexen2 (h2.exe) existed. (thanks Tellie for letting me know that)

Regards
« Last Edit: August 06, 2025, 04:40:28 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5512
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #77 on: August 06, 2025, 06:46:44 am »
Interesting. The only one that runs here is the version on Hobbes, where the executable is hexos2.exe and includes HEXEN.WAD.
Trying the h2.exe from 1.59 that you referenced gives me the same error about no full screen modes available when copied to Hexen 2 (the Windows full program I think)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5512
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #78 on: August 06, 2025, 07:27:00 am »
Here's the h2.exe I compiled, perhaps your environment is different then mine.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5409
  • Karma: +47/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #79 on: August 06, 2025, 04:23:35 pm »
Hello Dave

It seems that your compiled version is not compatible with the data files of the 2018 compile ( h2.exe from 1.59 )
Quote
[C:\DESKTOP\UHEXEN2]h2
Hammer of Thyrion, release 1.5.10 (2025-06-20)
running on Hexen2 engine 1.29 (OS/2)
More info / sending bug reports:  http://uhexen2.sourceforge.net
basedir is: C:\DESKTOP\UHEXEN2
Detected byte order: LE
Found SDL version 1.2.15
Host_Init
Server using protocol 19 (Raven/MP/1.12)
Added packfile C:\DESKTOP\UHEXEN2\data1\pak0.pak (701 files, 20870 crc)

FATAL ERROR: Old version of Hexen II demo isn't supported


I'm trying to find some other data files for Hexen II.

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5512
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #80 on: August 06, 2025, 04:53:32 pm »
Perhaps this will update the pak files. The documentation is severely lacking. There were probably forums or such covering this stuff.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5409
  • Karma: +47/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Games with older SDL and FSLIB
« Reply #81 on: August 06, 2025, 07:21:32 pm »
No, it seems it is not compatible with the pak0.pak demo that I have.

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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5512
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #82 on: August 06, 2025, 09:57:27 pm »
OK, got it running.
Download the zip at https://archive.org/details/hexen-2 and unzip. Replace h2.exe with the binary I attached up thread. Start as h2.exe -window -width 640 -height 480
Code: [Select]
H:\tmp\Hexen 2>h2.exe -window -width 640 -height 480
Hammer of Thyrion, release 1.5.9 (2018-05-31)
running on Hexen2 engine 1.29 (OS/2)
More info / sending bug reports:  http://uhexen2.sourceforge.net
basedir is: H:\tmp\Hexen 2
Detected byte order: LE
Found SDL version 1.2.15
Host_Init
Server using protocol 19 (Raven/MP/1.12)
Added packfile H:\tmp\Hexen 2\data1\pak0.pak (696 files)
Added packfile H:\tmp\Hexen 2\data1\pak1.pak (523 files)
Playing the registered version.
UDP_Init: WARNING: gethostbyname failed (Unknown host)
UDP, Local address: 192.168.0.105 (lan0)
UDP Initialized
Exe: 21:47:04 May 31 2018
32.0 megabyte heap
Console initialized.
No fullscreen video modes available
1480k surface cache
Video Mode: 640x480x8

Sound Initialization
SDL audio spec  : 22050 Hz, 512 samples, 2 channels
SDL audio driver: OS/2 DART, 32768 bytes buffer
Audio: 16 bit, stereo, 22050 Hz, using SDLAudio
Could not initialize Timidity
SDL detected 2 CD-ROM drives
CDAudio_Init: Unable to open CD-ROM drive CDaudio01 ()
MIDI_DRV: disabled at compile time.
No joystick devices found

======== Hexen II Initialized =========

execing hexen.rc
execing default.cfg
execing config.cfg
couldn't exec autoexec.cfg
Shutting down SDL sound

Couldn't capture a screen shot, it was blank (black).
It does capture the mouse until closed, ctrl-esc brings up the window list but no mouse.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5512
  • Karma: +134/-1
    • View Profile
Re: Games with older SDL and FSLIB
« Reply #83 on: August 06, 2025, 10:22:44 pm »
Just in case it take more, here's all the binaries and the SDL I installed in Hexen 2.