Error! Cannot open file .... /data/0 since r1162

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
FlipFlipsen
Engineer
Engineer
Posts: 70
Joined: 22 Dec 2002 09:38

Error! Cannot open file .... /data/0 since r1162

Post by FlipFlipsen »

Hello, I get the following error with this nighty.

And sorry, I posted in the wrong forum.
Attachments
OTTD-win32-nightly_build-r1162-2.jpg
OTTD-win32-nightly_build-r1162-2.jpg (15.49 KiB) Viewed 1905 times
OTTD-win32-nightly_build-r1162-1.jpg
OTTD-win32-nightly_build-r1162-1.jpg (7.09 KiB) Viewed 1905 times
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

Someone hasn't been reading the changelog, it seems. :wink:
r1157 | dominik | 2004-12-18 17:00:10 +0100 (Sat, 18 Dec 2004) | 2 lines

Enhanced the config file (openttd.cfg) to use another section type. "List sections" as opposed to "variable sections" contain a list of values, separated by a new line. This is now used for the [newgrf] group. You have to edit each line in this section from e.g. "0 = firstset.grf" to only "firstset.grf".
This means that you'll have to go to your OpenTTD folder and edit your openttd.cfg file. I'm sure that you have some newgrf files in it. From all the lines with newgrf files, remove the number and the equal sign. So

Code: Select all

[newgrf]
0 = newstatsw.grf
1 = arcticsetw.grf
should become

Code: Select all

[newgrf]
newstatsw.grf
arcticsetw.grf
Post again if it doesn't work.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
TrueSatan
Transport Coordinator
Transport Coordinator
Posts: 291
Joined: 16 Jul 2003 18:33

Post by TrueSatan »

remove the 0 from
[newgrf]
0 = <anygrfset.grf>
remove any number on every grfset ;-)
if you have read the logfile....
*hehe*
by the way the wiki also refers to the new
handling of the [newgrf] section of openttd.cfg .

edit: *damn* dominik was faster.... and that on sunday morning ;-)
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 43 guests