OpenTTD 1.9.0-RC1 released

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

User avatar
jfs
Tycoon
Tycoon
Posts: 1760
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: OpenTTD 1.9.0-RC1 released

Post by jfs »

leifbk wrote: I don't use sound in OpenTTD at all (got my own Jazz Jukebox, thank you, and the SFX is a nuisance), so do I really need Fluidsynth? And are the installation instructions correct in pointing me to a /data dir in .openttd?
If you don't want music, you can compile without Fluidsynth. You can also disable the extmidi driver with --disable-midi flag to configure and get only the "null" music driver.
leifbk
Chairman
Chairman
Posts: 814
Joined: 23 Dec 2013 16:33
Location: Bærum, Norway

Re: OpenTTD 1.9.0-RC1 released

Post by leifbk »

jfs wrote:
leifbk wrote: I don't use sound in OpenTTD at all (got my own Jazz Jukebox, thank you, and the SFX is a nuisance), so do I really need Fluidsynth? And are the installation instructions correct in pointing me to a /data dir in .openttd?
If you don't want music, you can compile without Fluidsynth. You can also disable the extmidi driver with --disable-midi flag to configure and get only the "null" music driver.
Sure, I can probably do that. I'm wondering, however, if all the n00buntu lusers will think it's a good idea to install an obsolete version of FluidSynth to get OpenTTD going. I just grabbed the opengfx-r1070.zip, extracted it, and moved the files to the new dir ~/.openttd/data - of which I still am very unsure if it's correct. My other GFXes are in the ~/.openttd/content_download/baseset directory and that looks all different:

Code: Select all

leif@balapapa ~/.openttd/content_download/baseset $ ls -l
total 684756
-rw-r--r-- 1 leif users   5181440 mai   17  2014 OpenGFX-0.5.0.tar
-rw-r--r-- 1 leif users   5324800 april  8  2015 OpenGFX-0.5.2RC1.tar
-rw-r--r-- 1 leif users   5324800 aug.  15  2016 OpenGFX-0.5.2.tar
-rw-r--r-- 1 leif users   5212160 mars   9  2014 OpenGFX-nightlyv5092.tar
-rw-r--r-- 1 leif users   5324800 nov.   9  2014 opengfx.tar
-rw-r--r-- 1 leif users   5324800 des.   9 17:54 opengfx-v6917.tar
-rw-r--r-- 1 leif users  13168640 des.  25  2014 OpenSFX-0.2.3.tar
-rw-r--r-- 1 leif users 328161280 jan.   1  2014 zBase-r251.tar
-rw-r--r-- 1 leif users 328161280 aug.  15  2016 zBase-v5588.tar
My Settings still show an older version of OpenGFX:
Selection_066.png
Selection_066.png (13.45 KiB) Viewed 3025 times
Edit: I checked if I had a distro version of OpenGFX installed, and it was there:

Code: Select all

balapapa ~ # emerge -s opengfx
  
[ Results for search key : opengfx ]
Searching...

*  games-misc/opengfx
      Latest version available: 0.5.4-r1
      Latest version installed: 0.5.4-r1
      Size of files: 9 413 KiB
      Homepage:      http://bundles.openttdcoop.org/opengfx/
      Description:   OpenGFX data files for OpenTTD
      License:       GPL-2
I unmerged it and restarted OpenTTD, but it's still showing the same old OpenGFX version. But now I'm at least able to select the NoSound sound set.
leifbk
Chairman
Chairman
Posts: 814
Joined: 23 Dec 2013 16:33
Location: Bærum, Norway

Re: OpenTTD 1.9.0-RC1 released

Post by leifbk »

I finally managed to get r1070 working, by removing all the old OpenGFX files from ~/.openttd/content_download/baseset, and moving the r1070 files to ~/.openttd/baseset. Now there's 36 sprites missing:
Selection_067.png
Selection_067.png (29.69 KiB) Viewed 3016 times
Selection_068.png
Selection_068.png (13.65 KiB) Viewed 3016 times

Code: Select all

leif@balapapa ~/.openttd/baseset $ ls -l
total 5020
-rw-r--r-- 1 leif users   15823 mars   9 13:14 changelog.txt
-rw-r--r-- 1 leif users   18092 mars   9 13:14 license.txt
-rw-r--r-- 1 leif users 2660459 mars   9 13:14 ogfx1_base.grf
-rw-r--r-- 1 leif users  285439 mars   9 13:14 ogfxc_arctic.grf
-rw-r--r-- 1 leif users  778764 mars   9 13:14 ogfxe_extra.grf
-rw-r--r-- 1 leif users  465351 mars   9 13:14 ogfxh_tropical.grf
-rw-r--r-- 1 leif users  253144 mars   9 13:14 ogfxi_logos.grf
-rw-r--r-- 1 leif users  622490 mars   9 13:14 ogfxt_toyland.grf
-rw-r--r-- 1 leif users    8706 mars   9 13:14 opengfx.obg
-rw-r--r-- 1 leif users   12832 mars   9 13:14 readme.txt
leif@balapapa ~/.openttd/baseset $ ls -l ../content_download/baseset/
total 653804
-rw-r--r-- 1 leif users  13168640 des.  25  2014 OpenSFX-0.2.3.tar
-rw-r--r-- 1 leif users 328161280 jan.   1  2014 zBase-r251.tar
-rw-r--r-- 1 leif users 328161280 aug.  15  2016 zBase-v5588.tar
leif@balapapa ~/.openttd/baseset $ 
I checked online content and selected upgrades, and it installed OpenGFX 0.5.2 for me. Nice :mrgreen:
Brumi
President
President
Posts: 920
Joined: 18 Jul 2009 17:54

Re: OpenTTD 1.9.0-RC1 released

Post by Brumi »

Yeah, there was definitely something wrong with the Jenkins job that did the build: https://jenkins.openttdcoop.org/job/opengfx/204/
In the log, there is a mention of the changeset 05c5f8a96c4d which is quite an old one.

It turns out that the branch 'default' has two heads: 6f74041189f2 (which is the 'good' one) and 05c5f8a96c4d (tagged with 'nml2nfo'). The Jenkins job probably took the wrong head for the build.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: OpenTTD 1.9.0-RC1 released

Post by planetmaker »

Brumi wrote:Yeah, there was definitely something wrong with the Jenkins job that did the build: https://jenkins.openttdcoop.org/job/opengfx/204/
In the log, there is a mention of the changeset 05c5f8a96c4d which is quite an old one.

It turns out that the branch 'default' has two heads: 6f74041189f2 (which is the 'good' one) and 05c5f8a96c4d (tagged with 'nml2nfo'). The Jenkins job probably took the wrong head for the build.
Indeed... something strange happened for the automatically triggered build. Thanks for the notifications. It's probably related to moving the sources to github. For now I triggered a manual build of the latest version, now found at http://bundles.openttdcoop.org/opengfx/ ... es/LATEST/
leifbk
Chairman
Chairman
Posts: 814
Joined: 23 Dec 2013 16:33
Location: Bærum, Norway

Re: OpenTTD 1.9.0-RC1 released

Post by leifbk »

planetmaker wrote:Indeed... something strange happened for the automatically triggered build. Thanks for the notifications. It's probably related to moving the sources to github. For now I triggered a manual build of the latest version, now found at http://bundles.openttdcoop.org/opengfx/ ... es/LATEST/
Thanks. Downloaded, extracted opengfx-v7007.tar and put into ~/.openttd/content_download/baseset. Seems to work OK, still missing 1 sprite, though.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: OpenTTD 1.9.0-RC1 released

Post by planetmaker »

leifbk wrote:
planetmaker wrote:Indeed... something strange happened for the automatically triggered build. Thanks for the notifications. It's probably related to moving the sources to github. For now I triggered a manual build of the latest version, now found at http://bundles.openttdcoop.org/opengfx/ ... es/LATEST/
Thanks. Downloaded, extracted opengfx-v7007.tar and put into ~/.openttd/content_download/baseset. Seems to work OK, still missing 1 sprite, though.
Yep, that's what I noted as well. I need to figure out which is still missing. Do you (or anyone else) know by heart which one is missing?
Brumi
President
President
Posts: 920
Joined: 18 Jul 2009 17:54

Re: OpenTTD 1.9.0-RC1 released

Post by Brumi »

The remaining 3 are not in their correct places:
ogfx_new_sprites.png
ogfx_new_sprites.png (4.81 KiB) Viewed 2935 times
Checking extra-openttd-gui.pnml:

Code: Select all

replacenew ottd_gui176(OTTD_GUI, "", 176) {
	[   0,  0,  20,  20,   0,   0, "sprites/png/gui/group_liveries.png"]         // train group livery icon
	[   22,  0,  20,  20,   0,   0, "sprites/png/gui/group_liveries.png"]         // road vehicle group livery icon
	[   44,   0,  10,  10,   0,   0, "sprites/png/gui/group_liveries.png"]         // boat group livery icon
	[   66,   0,  10,  10,   0,   0, "sprites/png/gui/group_liveries.png"]         // aircraft group livery icon
}
I have no knowledge of NML whatsoever, but are the heights and widths of the boat and aircraft icons really 10? I think those should be 20.

Also, the Jenkins build job has the following warning:

Code: Select all

nmlc warning: "sprites/extra/extra-openttd-gui.pnml", line 316: Exceeding the limit of 175 sprites for sprite replacement type 'OTTD_GUI', extra sprites may be ignored
Based on all of this, I created a patch file:
extra-openttd-gui.pnml.patch
(1.19 KiB) Downloaded 83 times
DISCLAIMER: I have not been able to try this patch at all :) Setting up the environment to compile OpenGFX is taking a bit longer. So make sure you try it if it works!

EDIT: Finally got the build environment working in the meantime. Seems to be working fine for me, no missing sprites!
User avatar
Gwyd
Chief Executive
Chief Executive
Posts: 721
Joined: 17 Apr 2017 16:52
Location: Western Ile-de-France Region

Re: OpenTTD 1.9.0-RC1 released

Post by Gwyd »

Since I wrote that bit of the file, I know for a fact the boat bit should be 20*20, my mistake there. Not sure about the start of that block, perhaps it should be 175, seeing how the train sprite is missing.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: OpenTTD 1.9.0-RC1 released

Post by planetmaker »

Brumi wrote:The remaining 3 are not in their correct places:
(...)
EDIT: Finally got the build environment working in the meantime. Seems to be working fine for me, no missing sprites!
Indeed it looks fine. I applied the patch and committed it to the repo.

It has been included in OpenGFX 0.5.5 which now is also conveniently available from ingame content download bananas.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: nihues and 23 guests