Author Topic: Please test - OpenTTD v12.1  (Read 23273 times)

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 342
  • Karma: +7/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #15 on: June 01, 2025, 12:09:24 am »
Yes, there no output visible or hidden as i run it on the command line.
with or without redirecting stderr with 2>&1 and/or to a text file.

Ordinary applications woulld complain about missing .dlls and configuration files etc. but this one doesn't even show usage.

So if I add -h it output text on the console... OpenTTD 12.2 ... Seem as if it find the files downloaded and list those, but trying random parameters doesn't start anything. It just finish right away.

The version v1.4 from 2014 start up without parameters and offer to download stuff (before it freeze).

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #16 on: June 17, 2025, 08:02:14 pm »
Hello Paul

Do you think you can please give it a try to port OpenTTD 14.1 or 15 beta?
https://www.openttd.org/

Regards

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

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2543
  • Karma: +197/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #17 on: June 18, 2025, 11:13:36 am »
Probably...... based on older ports - does SDL1 or SDL2 work better?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #18 on: June 21, 2025, 04:13:05 pm »
Hello

I would prefer to try SDL2.

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

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2543
  • Karma: +197/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #19 on: July 12, 2025, 08:59:58 am »
one complication - https://github.com/OpenTTD/OpenTTD/pull/11018

In spite of the above, I got an openttd.exe with 14.1. BUT for me, it just gives an empty black window. Nothing obvious from enabling a debug log. Perhaps an SDL2 issue?

Anyhow, don't expect muc, but https://smedley.id.au/tmp/openttd-14.1-os2-20250712.zip
« Last Edit: July 12, 2025, 10:25:59 am by Paul Smedley »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #20 on: July 12, 2025, 04:50:00 pm »
Thanks Paul

Here it is running on my 5.1.1. VM. It asked to download some files, no sound for the moment, and I only tested windowed mode.
Let me try it a little but more.

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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #21 on: July 12, 2025, 04:58:06 pm »
Hello again

The game seems playable from here. I even max it up to HD resolution and I can play with it.

- Full screen support is not working, maybe a limitation of the SDL2 port
Quote
[2025-07-12 09:56:32] dbg: [driver:0] SDL_SetWindowFullscreen() failed: SDL_SetP
ixelFormatPalette() passed a palette that doesn't match the format

I'm still trying to work out if I need to download some sounds to have some audio.

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

David McKenna

  • Hero Member
  • *****
  • Posts: 903
  • Karma: +34/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #22 on: July 12, 2025, 05:17:55 pm »
It works here too. You need to download sound effects and base music separately (from the 'Check online content' menu). The sound effects work fine here, but I can't get music to play (is it MIDI). Pretty good overall though!

Regards,

EDIT: looks like it need a 'music driver' defined but none of the offered ones worked - and it is MIDI. Wonder if Kai could be used for this...
« Last Edit: July 12, 2025, 05:54:52 pm by David McKenna »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #23 on: July 12, 2025, 07:49:50 pm »
Hello

I can not produce sound here. My ArcaOS 5.1.1 (VBox guest) has Uniaud driver and system sounds works fine.
SDL2 and SDL2_mixer are installed. (from netlabs RPM)

On OpenTTD I went to "Check Online Content" and make sure Installed
- Base Music - OpenMSX
- Base sounds - OpenSFX
- Base Graphics - OpenGFX were installed on the first run and are also listed there as "installed"

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

David McKenna

  • Hero Member
  • *****
  • Posts: 903
  • Karma: +34/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #24 on: July 12, 2025, 08:03:21 pm »
Martin,

  Yes, I am using UniAud and ArcaOS 5.1.1 in a VBox session too. Did you go into 'Game Options'-> 'Sound' and choose 'OpenFSX' in the 'Base Sounds' drop-down box? Same with 'Base Music' drop-down and 'OpenMSX', but that doesn't seem to work. You can also edit the openttd.cfg file in \Home\OpenTTD by hand. I set my resolution to 1280x960 there to get a larger game screen...

  This is the best OpenTTD I've used yet.


Regards,

Roderick Klein

  • Hero Member
  • *****
  • Posts: 739
  • Karma: +14/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #25 on: July 12, 2025, 09:40:48 pm »
It works here.

No sound but graphics are loaded.

Roderick

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2543
  • Karma: +197/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #26 on: July 12, 2025, 10:18:15 pm »
As I mentioned, all of the OS2 specific code was removed before the release of OpenTTD 14. This has just the vare minimum changes needed to make it compile.

Did music work in older releases?

Roderick Klein

  • Hero Member
  • *****
  • Posts: 739
  • Karma: +14/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #27 on: July 12, 2025, 11:09:55 pm »
I think music required midi support. I think audio samples did work. I am not certain its so long ago ? :-)
Martin can you confirm if the audio effects worked ?

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2543
  • Karma: +197/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #28 on: July 12, 2025, 11:55:12 pm »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5361
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #29 on: July 13, 2025, 02:51:56 pm »
Did you go into 'Game Options'-> 'Sound' and choose 'OpenFSX' in the 'Base Sounds' drop-down box? Same with 'Base Music' drop-down and 'OpenMSX',

Thanks David. I was missing that. Now I have sound effects.

About the Music. I installed the "OpenMSX", enabled it on the Game settings, have an ArcaOS that can runs MIDI (Timidity and Timidity MCD) and I got no music. Maybe the issue is what Paul is saying, that some part of the code was removed.

But for me this game port is a keeper !!!

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