Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Mon Oct 23, 2017 4:23 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Romanian Town Names grf
PostPosted: Mon Jun 01, 2015 9:38 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Tue Apr 25, 2006 10:22 am
Posts: 261
Location: Bucharest
Hy,
Because in-game Romanian town names didn't provide enough city names, I created a nml file with 319 romanian city names. I didn't understant from NML Tutorial how to create from 0, so i took a nml file from http://dev.openttdcoop.org/projects/dut ... repository and modified the nml. I want to know if the file is ok to compile, before I go to http://www.tt-wiki.net/wiki/NMLTutorial ... on#Windows and try all the steps. Thank you


LE: I get this error

C:\nml>nmlc -c --grf ronames.grf ronames.nml
←[K←[33m nmlc warning: Default language file "lang\english.lng" doesn't exist←[0
m
←[Knmlc ERROR: "ronames.nml", line 7: Unknown string "STR_GRF_NAME"


LE: See viewtopic.php?f=26&t=73136&p=1150141#p1150141 for grf


Attachments:
ronames.nml [7.28 KiB]
Downloaded 23 times

_________________
ImageImage


Last edited by ColdIce on Mon Jun 01, 2015 10:26 am, edited 1 time in total.
Top
   
PostPosted: Mon Jun 01, 2015 10:12 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9021
Location: Sol d
You also need the lang file (like the error indicates). You find it in the lang folder at the link you provided. Preferentially just checkout the whole source (all files in that repo) instead of only the main source file and it should compile just fine.

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Mon Jun 01, 2015 10:14 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Tue Apr 25, 2006 10:22 am
Posts: 261
Location: Bucharest
I did it. Now i test it. will be back soon with a result

LE:

It works! Me so happy :D

So here it is!

319 names, taken from wikipedia.

LE: added to 683 names


Attachments:
ronames.grf [6.94 KiB]
Downloaded 42 times

_________________
ImageImage
Top
   
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 12 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-2017 phpBB Limited

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