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

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2244
  • Karma: +170/-0
    • View Profile
Please test - OpenTTD v12.1
« on: March 13, 2022, 02:11:21 am »
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

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #1 on: March 13, 2022, 04:16:20 pm »
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
« Last Edit: March 13, 2022, 04:20:11 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2244
  • Karma: +170/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #2 on: March 13, 2022, 09:56:54 pm »
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

  • Sr. Member
  • ****
  • Posts: 361
  • Karma: +29/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #3 on: March 14, 2022, 02:34:15 pm »
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?
« Last Edit: March 15, 2022, 08:05:36 am by Jochen Schäfer »

David McKenna

  • Hero Member
  • *****
  • Posts: 806
  • Karma: +25/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #4 on: March 14, 2022, 03:21:32 pm »
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

  • Hero Member
  • *****
  • Posts: 2244
  • Karma: +170/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #5 on: April 18, 2022, 02:26:27 am »
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

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #6 on: April 18, 2022, 03:52:07 am »
Hi Paul

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

Regards

« Last Edit: April 18, 2022, 03:58:01 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4982
  • Karma: +109/-1
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #7 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

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

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2244
  • Karma: +170/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #8 on: April 18, 2022, 08:56:21 am »
Hey Dave,

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

  • Hero Member
  • *****
  • Posts: 4982
  • Karma: +109/-1
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #9 on: April 18, 2022, 04:23:38 pm »
Hey Dave,

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

  • Hero Member
  • *****
  • Posts: 4982
  • Karma: +109/-1
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #10 on: April 18, 2022, 06:17:52 pm »
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

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4937
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Please test - OpenTTD v12.1
« Reply #11 on: April 18, 2022, 11:47:34 pm »
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

  • Hero Member
  • *****
  • Posts: 2244
  • Karma: +170/-0
    • View Profile
Re: Please test - OpenTTD v12.1
« Reply #12 on: April 19, 2022, 04:51:27 am »
Hey guys,
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.