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
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
Problems with language files
Moderator: Graphics Moderators
Re: Problems with language files
The first letter of the file name should be lowercase so it's english.lng not English.lng.
Re: Problems with language files
The error is about a duplicate ##grflangid line.
Each language has its own ID, see the table under "LanguageIDs" at https://newgrf-specs.tt-wiki.net/wiki/N ... 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.
Each language has its own ID, see the table under "LanguageIDs" at https://newgrf-specs.tt-wiki.net/wiki/N ... 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 retired OpenTTD developer does not mean I know what I am doing.
Who is online
Users browsing this forum: No registered users and 29 guests