OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Games => Topic started by: Paul Smedley 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
-
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
-
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
-
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?
-
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,
-
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.
-
Hi Paul
Both gave me an exceptq trap on my Thinkpad L420. (not a VM)
Regards
-
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.
-
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
-
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?
-
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.
-
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
-
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.