Where does opntitle.dat come from?

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
bwalker
Engineer
Engineer
Posts: 3
Joined: 29 Dec 2019 06:48

Where does opntitle.dat come from?

Post by bwalker »

Hi Devs,

Great work. Really enjoy the game.

I'm looking at the source code to learn more.

I've noticed that the opntitle.dat in the source code is significantly different from the opntitle.dat in an installation. The installation I'm using is Windows based.

Are you able to enlighten me on the difference? Why? And am I able to access the appropriate 'repo'?

Brett

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5453
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Re: Where does opntitle.dat come from?

Post by PikkaBird »

opntitle.dat is the title screen background and is just a renamed savegame AFAIA.

User avatar
jfs
Chief Executive
Chief Executive
Posts: 667
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Where does opntitle.dat come from?

Post by jfs »

Yes it's just a regular savegame file, renamed.
Usually selected through a title game contest, here's the contest for the 1.9 title screen: viewtopic.php?f=29&t=84827

bwalker
Engineer
Engineer
Posts: 3
Joined: 29 Dec 2019 06:48

Re: Where does opntitle.dat come from?

Post by bwalker »

PikkaBird wrote:
29 Dec 2019 08:36
opntitle.dat is the title screen background and is just a renamed savegame AFAIA.
Thanks Pikka,

I was aware of this. But it doesn't explain the difference.

bwalker
Engineer
Engineer
Posts: 3
Joined: 29 Dec 2019 06:48

Re: Where does opntitle.dat come from?

Post by bwalker »

jfs wrote:
29 Dec 2019 09:00
Yes it's just a regular savegame file, renamed.
Usually selected through a title game contest, here's the contest for the 1.9 title screen: viewtopic.php?f=29&t=84827
Oh, I didn't know about the competitions,
thanks jfs.

I should be able to find the title screen for the 1.9 release on the 1.9 branch. Makes sense now.

I'll have a look.

Brett

User avatar
FLHerne
Tycoon
Tycoon
Posts: 1539
Joined: 12 Jul 2011 12:09
Location: St Ives, Cambs, UK

Re: Where does opntitle.dat come from?

Post by FLHerne »

The `opntitle.dat` used in master is a very old savegame, which gives it a secondary purpose for testing - it's immediately obvious if the code to read and convert savegames from previous versions gets broken, and it's compatible with virtually all OpenTTD versions (back to 0.3.x or something) for comparison..
Temporary Permanent signature filling text. Content coming soon delayed indefinitely! Oh, and I have had a screenshot thread.
Linux user (XMonad DWM/KDE, Arch), IRC obsessive and rail enthusiast. No longer building robots; now I ring church bells.
Author of an incredibly boring stickied post about NewGRFs.

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9358
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Where does opntitle.dat come from?

Post by planetmaker »

Some old competitions with all entries are actually still online in their entirety. If you search these forums you might find all from all competition rounds (they started with 1.0 iirc):

https://devs.openttd.org/~planetmaker/titlegame-1.1/
https://devs.openttd.org/~planetmaker/titlegame-1.2/
https://devs.openttd.org/~planetmaker/titlegame-1.3/
https://devs.openttd.org/~planetmaker/titlegame-1.4/
https://devs.openttd.org/~planetmaker/titlegame-1.5/
https://devs.openttd.org/~planetmaker/titlegame-1.6/
https://devs.openttd.org/~planetmaker/t ... .9/round1/

The actual winning entries might have been slightly edited for smaller savegame size (e.g. deleting all irrelevant content not ever becoming visible)

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 1 guest