OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Games => Topic started by: Paul Smedley on September 03, 2020, 07:08:34 am

Title: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 03, 2020, 07:08:34 am
Hi All,

http://smedley.id.au/tmp/openttd-1.10.3-os2-20200903.zip

This is the current release of Open Transport Tycoon for OS/2

Note this is binaries only - it's necessary to install a set of graphics/sounds/etc from https://www.openttd.org/downloads/openttd-releases/latest.html

I've only tested enough to see the main page opens.

Also needs sdl 1.2 libraries.

Cheers,

Paul
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Martin Iturbide on September 03, 2020, 03:33:26 pm
Thanks Paul. I will try it out.

I was checking your website and it seems that the "subcategory" of the software on this page is not working:
https://os2ports.smedley.id.au/index.php?page=games

Regards.
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: roberto on September 03, 2020, 05:02:01 pm
Hello
I wanted to try this game.
But the installation is making me difficult.

The necessary library says it is the * sdl * but by another place I have seen that it says the * SDL *,
the question is which of the two?
I have tried both and it does not start me.
On the other hand, it says that you have to edit the * openttd.cfg * file, but I can't find it.


[D:\openttd-1.10.3-os2-20200903]dir open*

The volume label in drive D is DATS.
The Volume Serial Number is B4A7:75BD.
Directory of D:\openttd-1.10.3-os2-20200903

 9/08/10 22:34         11.620      0 a---  openmsx.obm
31/03/10 15:28     13.128.144    124 a---  opensfx.cat
31/03/10 15:28          9.356      0 a---  opensfx.obs
 3/09/20  6:32      5.184.499    488 a---  openttd.exe
 3/09/20  5:33      1.793.771      0 a---  openttd.map

 With *sdl*
[D:\openttd-1.10.3-os2-20200903]openttd.exe
SYS0191: SDL12 cannot be run in an OS/2 session.

 With *SDL*
[D:\openttd-1.10.3-os2-20200903]openttd.exe

[D:\openttd-1.10.3-os2-20200903]openttd.exe

[D:\openttd-1.10.3-os2-20200903]
Saludos
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Martin Iturbide on September 03, 2020, 05:23:52 pm
Hi Robert.

Can you post which SDL12.DLL version and byte size do you have installed?

Regards
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: roberto on September 03, 2020, 06:13:02 pm
This
2016/06/30  13:58:05  10527     C:\usr\lib\SDL12.dll
SDL anmp 1.2.15-5 i686

Saludos
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 03, 2020, 10:59:21 pm
Thanks Paul. I will try it out.

I was checking your website and it seems that the "subcategory" of the software on this page is not working:
https://os2ports.smedley.id.au/index.php?page=games

Regards.

Works here in Chrome?
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 03, 2020, 11:00:38 pm
This
2016/06/30  13:58:05  10527     C:\usr\lib\SDL12.dll
SDL anmp 1.2.15-5 i686

Saludos

I'm using SDL-1.2.15-20160303.zip from hobbes....
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 04, 2020, 05:02:02 am
Thanks Paul. I will try it out.

I was checking your website and it seems that the "subcategory" of the software on this page is not working:
https://os2ports.smedley.id.au/index.php?page=games

Regards.

Works here in Chrome?

OK I think I reproduced. No idea why that was happening - I did some random stuff in cms made simple and it seems ok now?
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: roberto on September 05, 2020, 12:02:13 pm
Thanks for the zip, but I can't start, I'm about to leave it as impossible.
popuplog.os2 show
------------------------------------------------------------

09-05-2020  11:28:11  SYS2070  PID 00be  TID 0001  Slot 0082
D:\OPENTTD-1.10.3-OS2-20200903\OPENTTD.EXE
SDL12
193
------------------------------------------------------------
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 05, 2020, 12:19:18 pm
Thanks for the zip, but I can't start, I'm about to leave it as impossible.
popuplog.os2 show
------------------------------------------------------------

09-05-2020  11:28:11  SYS2070  PID 00be  TID 0001  Slot 0082
D:\OPENTTD-1.10.3-OS2-20200903\OPENTTD.EXE
SDL12
193
------------------------------------------------------------

That suggests an incompatible sdl12.dll with different exports to the one I linked against.

Can you check with sdl12 is being loaded using chkdll32 or pmdll?
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: roberto on September 05, 2020, 02:57:06 pm
With the pmdll all the dlls are displayed fine.
With the chkdll32, it shows this error:

[D:\openttd-1.10.3-os2-20200903]chkdll32 -l openttd.exe
  File is not a valid OS/2 .EXE or .DLL file                               ******this is the error show******

Loading DLL 'libcx0' --> C:\USR\LIB\LIBCX0.DLL.                   ****** The rest is a long list of dlls, which is all ok. I cut it *******


  Loading DLL 'DOSCALLS' --> loaded.
  Loading DLL 'MDM' --> C:\MMOS2\DLL\MDM.DLL.
    Loading DLL 'MMPM' --> C:\MMOS2\DLL\MMPM.DLL.
      Loading DLL 'DOSCALLS' --> loaded.

Saludos

Title: Re: OpenTTD 1.10.3 for OS/2
Post by: roberto on September 05, 2020, 03:06:50 pm
If I try to run the older version it shows me this:

[D:\openttd-1.4.0-os2-20140504\openttd]openttd
Fontconfig error: Cannot load default config file

Killed by SIGSEGV
pid=0x006b ppid=0x005e tid=0x0001 slot=0x00b9 pri=0x0200 mc=0x0001 ps=0x0010
D:\OPENTTD-1.4.0-OS2-20140504\OPENTTD\OPENTTD.EXE
OPENTTD 0:002fdfab
cs:eip=005b:0030dfab      ss:esp=0053:00add1e0      ebp=00000000
 ds=0053      es=0053      fs=150b      gs=0000     efl=00010202
eax=00000000 ebx=000002d3 ecx=00000000 edx=00000000 edi=0000387c esi=00000002
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

[D:\openttd-1.4.0-os2-20140504\openttd]
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Pete on September 05, 2020, 05:47:43 pm
Hi Paul

Cannot test OTTD as I do not have the needed graphics files.

I can test https://os2ports.smedley.id.au/index.php?page=games and report that No, it does not work.
Using Seamonkey there is no content below the line "This section contains all ported games and related applications" and the menu on the left has Internet apps listed or, sometimes, Tools and Utilities but not Games.


Regards

Pete


Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Dave Yeo on September 05, 2020, 06:57:21 pm
Here, the menu on the left seems to work, but no actual games listed on the games page.
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 05, 2020, 11:27:45 pm
Hey Pete,

Cannot test OTTD as I do not have the needed graphics files.

I can test https://os2ports.smedley.id.au/index.php?page=games and report that No, it does not work.
Using Seamonkey there is no content below the line "This section contains all ported games and related applications" and the menu on the left has Internet apps listed or, sometimes, Tools and Utilities but not Games.

Graphics files can be downloaded from https://www.openttd.org/downloads/opengfx-releases/latest.html


re: website, I'll keep investigating, I have no idea what's wrong with cms made (not so) simple :(
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: roberto on September 06, 2020, 12:34:52 am
Paul, Thanks, but it's just a game, and I don't even know if I'd like it, don't put in any more effort, unless you
 feel like it, of course. It was mostly out of curiosity and to support your work.

Saludos
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 27, 2020, 11:47:13 am
re: website, I'll keep investigating, I have no idea what's wrong with cms made (not so) simple :(

well it ain't pretty - but I moved all the content from CMS made Simple to wordpress - new site now at https://os2ports.smedley.id.au - should be functional except for a couple of placeholders (like the GCC 9.x page)
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Andi B. on September 27, 2020, 03:14:10 pm
Paul, to my eyes the new site looks a bit ugly :-). Fonts are much to big. Maybe useful for smartphone kiddies but not for standard computer users. See picture.
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Martin Iturbide on September 27, 2020, 03:20:53 pm
Hi

In my case, I found the structure of the site working fine, and that is the important thing on wordpress, since the style (theme) can be changed without much problem.

Maybe I can suggest Paul to play a little bit with different themes, but it is excellent to have the pages and links working.

Regards
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 28, 2020, 03:12:19 am
Hey Andi,

Paul, to my eyes the new site looks a bit ugly :-). Fonts are much to big. Maybe useful for smartphone kiddies but not for standard computer users. See picture.

As I said "well it ain't pretty". Now that I have the content moved over, I'll play around with different themes and font sizes etc. The end goal here was to make the site easier to update. Wordpress is way easier to use than CMSMS.

There's a reason the old site hadn't been updated in a year - and it's got nothing to do with me not updating things.

Cheers,

Paul
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 28, 2020, 03:35:09 am
Hey Andi,

Paul, to my eyes the new site looks a bit ugly :-). Fonts are much to big. Maybe useful for smartphone kiddies but not for standard computer users. See picture.

As I said "well it ain't pretty". Now that I have the content moved over, I'll play around with different themes and font sizes etc. The end goal here was to make the site easier to update. Wordpress is way easier to use than CMSMS.

There's a reason the old site hadn't been updated in a year - and it's got nothing to do with me not updating things.

I did a very quick and dirty change to a different theme - which seems to look 'prettier'. Will play more tonight.
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Dave Yeo on September 28, 2020, 05:52:53 am
Looks pretty good here, works fine with scripting disabled too.
Title: Re: OpenTTD 1.10.3 for OS/2
Post by: Paul Smedley on September 28, 2020, 08:08:28 am
Hey Dave,

Looks pretty good here, works fine with scripting disabled too.

Thanks for the feedback - the theme I changed to is definitely more readable. I'll admit I only checked it last night with latest Chrome on linux, and at lunchtime I tweaked the theme with Chrome on Windows 10 - I hadn't had a chance to check with Firefox (on OS/2, Windows or Linux).

Cheers,

Paul