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

Paul Smedley

Hi all,

Again thanks to Martin for the suggestion,  I spent a few  hours building OpenTTD v12.1 (https://www.openttd.org/)

https://smedley.id.au/tmp/openttd-12.1-os2-20220313.zip  - please  see the readme.os2 for installation instructions - including where to download  the required additional files.

Cheers,

Paul

Martin Iturbide

#1
Hi Paul

I'm trying again OpenTTD from scratch on real hardware.
- Got openttd-12.1-os2-20220313.zip
- Installed sdl2, sdl2_mixer, sdl2_ttf & sdl2_image (from RPM)
- Downloaded opengfx, opensfx, openmsx and located the files on ./baseset
  -- First I put the unzipped file directly on  ./baseset and later I just set the .tar files there.
If I run openttd I get an exception. Here it is the log file.

What else can you see I may be missing, because I got it working on my VM yesterday.

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

Paul Smedley

Hey Martin,

That's a very different trap to what  we were getting yesterday -  appears to stem from SDL. I have no real idea on how to resolve.

Cheers,

Paul

Jochen Schäfer

#3
The crash is happening in LIBCN.
@Paul: did you explicitely link LIBCN to OpenTTD? My observation is, that it is often needed. I guess, some startup code is needed.

@Martin: Which SDL2 version you are running with?

David McKenna

Hey Paul,

  I can get it to run, but the small window updates only once per second, so is very difficult to use. Tried changing refresh rate but it doesn't seem to make any difference. After a short while I get a trap in DIVE.DLL (attached).

Regards,

Paul Smedley

Updated to  v12.2

Full package - SDL2 based - https://smedley.id.au/tmp/openttd-12.2-os2-20220416.zip
openttd.exe only - SDL1.2 based - https://smedley.id.au/tmp/openttd-12.2-os2-20220418-sdl12.zip

I'm interested to  hear if the SDL1.2 build performs better than the SDL2 build.

Martin Iturbide

#6
Hi Paul

Both gave me an exceptq trap on my Thinkpad L420. (not a VM)

Regards

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

Dave Yeo

Hi Martin, I had the same, fixed by downloading and installing the graphics etc from openttd.org as described in the readme.os2

Hi Paul, tried both, both really slow and I lost interest. This is a 3.1Ghz I5 with lots of memory.

Paul Smedley

Hey Dave,

Quote from: Dave Yeo on April 18, 2022, 06:35:44 AM
Hi Paul, tried both, both really slow and I lost interest. This is a 3.1Ghz I5 with lots of memory.

Interesting - I remember older versions (I'm talking 5+ years ago) being playable - I wonder what has changed.

Cheers,

Paul

Dave Yeo

Quote from: Paul Smedley on April 18, 2022, 08:56:21 AM
Hey Dave,

Quote from: Dave Yeo on April 18, 2022, 06:35:44 AM
Hi Paul, tried both, both really slow and I lost interest. This is a 3.1Ghz I5 with lots of memory.

Interesting - I remember older versions (I'm talking 5+ years ago) being playable - I wonder what has changed.

Cheers,

Paul

Maybe expects 3D acceleration?

Dave Yeo

Revisiting, it seems to be the mouse pointer that's the problem. Freshly booted system to a Panorama install (last test was SNAP), CPU usage is about zero, as soon as the mouse pointer hovers over the OpenTTD window, the mouse pointer changes to orange and things become unusable in the OpenTTD window with one core at about 2% cpu.
I guess see if there's an option to disable the mouse pointer grab, it would fix things.

Martin Iturbide

Quote from: Dave Yeo on April 18, 2022, 06:35:44 AM
Hi Martin, I had the same, fixed by downloading and installing the graphics etc from openttd.org as described in the readme.os2

Thanks Dave, I forgot about the baseset files.

Both run, but pointer is very slow, just like everyone else is reporting. I don't notice any difference between SDL 1 or SDL2.

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

Paul Smedley

Hey guys,
Quote from: Martin Iturbide on April 18, 2022, 11:47:34 PM
Both run, but pointer is very slow, just like everyone else is reporting. I don't notice any difference between SDL 1 or SDL2.

Interesting - I'll have to see if I can disable the code that changes the mouse cursor and see if that improves things.

Cheers,

Paul.

Jan-Erik Lärka

I'm trying to run OpenTTD (the SDL v1.2 version can still be downloaded) but here it just ... finish without anything apparent on screen almost right away. No errors seen and nothing else that tell me what's going on.

I've placed the three .tar files in a sub folder \baseset relative to openttd.exe

Dave Yeo

Quote from: Jan-Erik Lärka on May 31, 2025, 01:17:41 PM
I'm trying to run OpenTTD (the SDL v1.2 version can still be downloaded) but here it just ... finish without anything apparent on screen almost right away. No errors seen and nothing else that tell me what's going on.

I've placed the three .tar files in a sub folder \baseset relative to openttd.exe

Did you check console output?
openttd.exe 2>&1 | tee openttd.log