Author Topic: SDL Help  (Read 2710 times)

christech

  • Full Member
  • ***
  • Posts: 148
  • Karma: +2/-0
    • View Profile
SDL Help
« on: August 16, 2022, 05:59:38 pm »
I am trying to get OpenTTD and SDLPoP to run but I get an error message about SDL not being able to run in a DOS window. I have SDL installed with YUM. Any suggestions? I tried installing the SDL DLL's from Hobbes but I get the same error.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: SDL Help
« Reply #1 on: August 16, 2022, 07:09:00 pm »
Hi ChisTech

I'm trying "SDLPoP_1-16.zip". I'm using ArcaOS 5.0.7 and when I run "prince.exe" I get:
Quote
[C:\HOME\DESKTOP\SDLPOP_1-16\SDLPOP_V1.16]prince
SYS1804: The system cannot find the file SDL2.

[C:\HOME\DESKTOP\SDLPOP_1-16\SDLPOP_V1.16]

I think that "prince.exe" are requesting different SDL libraries that are not on the RPM.

The ones on the RPM are:
SDL2200.dll
SDL2I200.dll
SDL2M200.dll

The ones that asks "prince.exe" are listed on the PMDLL image I'm attaching.
- SDL2.DLL
- SDL2IMG.DLL
- SDL2MIX.DLL

Those DLLs are listed on "SDL2_2-0-4_2020-09-07.zip"

This happens because (long story short) we have two different ports of SDL2.

Regards
« Last Edit: August 16, 2022, 07:33:25 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: SDL Help
« Reply #2 on: August 16, 2022, 07:28:44 pm »
Hi

Checking OpenTTD 12.1, it uses the SDL2 libraries from the RPM.

But you will get an error when try to load, you need to also get these files to complete game package.

https://www.openttd.org/downloads/opengfx-releases/latest
https://www.openttd.org/downloads/opensfx-releases/latest
https://www.openttd.org/downloads/openmsx-releases/latest

If I don't recall wrong you need to put the .tar files inside the /baseset.

There was a discussion about OpenTTD here.

Regards
« Last Edit: August 16, 2022, 07:32:18 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.