News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

Please test - OpenTTD v12.1

Started by Paul Smedley, March 13, 2022, 02:11:21 AM

Previous topic - Next topic

Jan-Erik Lärka

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

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

Probably...... based on older ports - does SDL1 or SDL2 work better?

Martin Iturbide

Hello

I would prefer to try SDL2.

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

Paul Smedley

#19
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

Martin Iturbide

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

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

#22
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...

Martin Iturbide

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

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

It works here.

No sound but graphics are loaded.

Roderick

Paul Smedley

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

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 ?


Martin Iturbide

Quote from: David McKenna on July 12, 2025, 08:03:21 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.