Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Fri Feb 22, 2019 3:31 pm

All times are UTC

Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Jun 10, 2018 10:21 pm 
User avatar

Joined: Thu Jul 21, 2016 11:10 am
Posts: 32
Hello here, I'm new with nml and code in general, I'm interested in learning it.
I tried to follow the steps of tutorial, but I'm in trouble at some point.
I think an image can explain more than many words, so this is an image of what I've done so far
1.png [192.05 KiB]
Not downloaded yet

The files are copied directly from the tutorial, I tried to make as few mistakes as possible, but this is what comes out and I have not idea of how to move forward.

Thanks to those who will help :bow:

PostPosted: Mon Jun 11, 2018 3:53 am 

Joined: Wed May 24, 2017 12:51 pm
Posts: 38
Location: East Texas
The first letter of the file name should be lowercase so it's english.lng not English.lng.

Unless otherwise stated, all my code is GPL v2.

PostPosted: Mon Jun 11, 2018 4:32 am 
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4691
Location: home
The error is about a duplicate ##grflangid line.
Each language has its own ID, see the table under "LanguageIDs" at ... uage_files (1st column).
Apparently you have at least 2 files with language ID 1, ie more than one file that claims to be the English(GB) translation. Since the computer cannot know which file is speaking the truth, it wants you to fix this by changing the ##grflangid line of the files until there is one language file for each language.

Being a OpenTTD developer does not mean I know what I am doing.
Also, other OpenTTD developers may have different opinions.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.