2008-08-31 08:46:43 +00:00
|
|
|
;
|
|
|
|
; Example file for the OpenTTD Base Graphics replacement sets.
|
|
|
|
; This file consists of basically two different parts:
|
|
|
|
; * metadata
|
|
|
|
; * information about the files
|
|
|
|
;
|
|
|
|
; Metadata contains information about the name, version and palette
|
|
|
|
; of the graphics set.
|
|
|
|
;
|
2008-09-03 20:51:59 +00:00
|
|
|
; == Getting started ==
|
|
|
|
; - you can't add comments after values
|
|
|
|
; - you have to fill the MD5 checksum for each file
|
|
|
|
; - you may not miss any of the metadata or files items
|
|
|
|
; - `openttd -h` lists all graphics replacements sets it found to be correct
|
|
|
|
; - `openttd -d grf=1` shows warnings/errors when parsing an .obg file
|
|
|
|
; - `openttd -I <name>` starts OpenTTD with the given set (case sensitive)
|
2008-12-20 20:44:47 +00:00
|
|
|
; - adding `graphicsset = <name>` to the misc section of openttd.cfg makes
|
2008-09-03 20:51:59 +00:00
|
|
|
; OpenTTD start with that graphics set by default
|
|
|
|
; - there is a command line tool for all platforms called md5sum that can
|
|
|
|
; create the MD5 checksum you need.
|
|
|
|
; - all files specified in this file are search relatively to the path where
|
|
|
|
; this file is found, i.e. if the graphics files are in a subdir you have
|
|
|
|
; to add that subdir to the names in this file to! It will NOT search for
|
|
|
|
; a file named like specified in here.
|
|
|
|
|
2008-08-31 08:46:43 +00:00
|
|
|
[metadata]
|
2008-09-03 20:51:59 +00:00
|
|
|
; the name of the pack, preferably less than 16 characters
|
|
|
|
name = example
|
2009-08-09 19:04:42 +00:00
|
|
|
; the short name (4 characters), used to identify this set
|
2008-09-03 20:51:59 +00:00
|
|
|
shortname = XMPL
|
|
|
|
; the version of this graphics set (read as single integer)
|
|
|
|
version = 0
|
|
|
|
; a fairly short description of the set
|
2009-10-17 20:34:09 +00:00
|
|
|
; By adding '.<iso code>' you can translate the description.
|
|
|
|
; Note that OpenTTD first tries the full ISO code, then the first
|
|
|
|
; two characters and then uses the fallback (no '.<iso code>').
|
|
|
|
; The ISO code matching is case sensitive!
|
2009-10-22 16:01:28 +00:00
|
|
|
; So en_US will be used for en_GB if no en_GB translation is added.
|
2009-10-22 15:20:38 +00:00
|
|
|
; As a result the below example has 'howdie' for en_US and en_GB but
|
2009-10-17 20:34:09 +00:00
|
|
|
; 'foo' for all other languages.
|
2008-09-03 20:51:59 +00:00
|
|
|
description = foo
|
2009-10-17 20:34:09 +00:00
|
|
|
description.en_US = howdie
|
2008-09-03 20:51:59 +00:00
|
|
|
; palette used by the set; either DOS or Windows
|
|
|
|
palette = DOS
|
2008-08-31 08:46:43 +00:00
|
|
|
|
|
|
|
; The files section lists the files that replace sprites.
|
|
|
|
; The file names are case sensitive.
|
|
|
|
[files]
|
2008-09-03 20:51:59 +00:00
|
|
|
; GRF file with the base sprites
|
|
|
|
base = TRG1.GRF
|
|
|
|
; GRF file with logos, original terrain generator sprites
|
|
|
|
logos = TRGI.GRF
|
|
|
|
; GRF file with extra arctic sprites
|
|
|
|
arctic = TRGC.GRF
|
|
|
|
; GRF file with extra tropical sprites
|
|
|
|
tropical = TRGH.GRF
|
|
|
|
; GRF file with extra toyland sprites
|
|
|
|
toyland = TRGT.GRF
|
|
|
|
; NewGRF file using Actions 5, 7, 9 and A to replace sprites
|
2009-08-13 14:24:13 +00:00
|
|
|
; Must use a GRF ID starting with FF so it cannot be selected from
|
|
|
|
; the in-game NewGRF list and (thus) be loaded twice.
|
2008-09-03 20:51:59 +00:00
|
|
|
extra = OPENTTDD.GRF
|
2008-08-31 08:46:43 +00:00
|
|
|
|
|
|
|
; The md5s section lists the MD5 checksum for the files that replace them.
|
|
|
|
; Note that the list of files is case sensitive. Each GRF listed in the
|
|
|
|
; files section must be listed here with it's MD5 checksum, otherwise you
|
|
|
|
; will get a lot of warnings when starting OpenTTD.
|
|
|
|
[md5s]
|
|
|
|
TRG1.GRF = 9311676280e5b14077a8ee41c1b42192
|
|
|
|
TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
|
|
|
|
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
|
|
|
|
TRGC.GRF = ed446637e034104c5559b32c18afe78d
|
|
|
|
TRGT.GRF = fcde1d7e8a74197d72a62695884b909e
|
|
|
|
OPENTTDD.GRF = f829f62c137d6d7c6e272c481b796dd5
|
|
|
|
|
|
|
|
; The origin section provides the possibility to put and extra line into
|
|
|
|
; the warning that a file is missing/corrupt. This can be used to tell
|
|
|
|
; them where to find it. It works on the filename specified in the
|
|
|
|
; files section and if that is not found it will fall back to the default
|
|
|
|
; as shown below here.
|
|
|
|
[origin]
|
|
|
|
default = You can find it on your Transport Tycoon Deluxe CD-ROM.
|
|
|
|
OPENTTDD.GRF = This file was part of your installation.
|