Town name sets

Get help, info, news and advice about the Transport Tycoon Deluxe patch.

Moderator: TTDPatch Moderators

User avatar
G-Klav
Chairman
Chairman
Posts: 866
Joined: 20 Nov 2002 16:28
Location: Bjärred, Skåne (Scania), Sweden

Town name sets

Post by G-Klav »

I may be stupid to post this right now, but as I can't connect to the TTD Patch site ATM (no response), would someone please be so kind and try to answer my question? :)

Is it possible to add new sets of town names without the TTD Translator program, using TTD Patch?
I'm thinking of a set of Russian town names (written in Cyrillic alphabet of course ;) )...
G-Klav

Note: my avatar is best viewed with the 'silver' scheme on the forums.
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

Yes, you can, using Action F in a GRF file. It's not too difficult to code although it's not been heavily used so there might still be a few bugs with it.
User avatar
G-Klav
Chairman
Chairman
Posts: 866
Joined: 20 Nov 2002 16:28
Location: Bjärred, Skåne (Scania), Sweden

Post by G-Klav »

Hmm, can you show me an example?
Thanks for answering, BTW :)
G-Klav

Note: my avatar is best viewed with the 'silver' scheme on the forums.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

I'm not aware of any downloads right now, but in the meantime you can work on drawing the Crylic characters; TTD doesn't have crylic characters, so you'll have to replace the Latin-1 characters. How many cryllic characters are there?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I think George is already using cyrillic characters, so they must be available somewhere.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

G-Klav wrote:Hmm, can you show me an example?
Thanks for answering, BTW :)
Well, I've attached two half-finished files. (Half-finished here means that I think that they should work but they haven't been rigorously tested.)
The US Set town names GRF hasn't been released officially up to now and shouldn't really be counted as working perfectly yet, but you can try it and see it in action, as well as decoding it.
The second file is my Action F creator Excel spreadsheet, which seems to work and has been used in making the first file, although I've just extracted this sheet from my big US spreadsheet so I hope it works properly. Credit for the hex-generating code goes to Owen. Stick your 70+ town names down the left hand side, press the button and it will generate the Action F at the bottom, which then needs to go into a GRF. However, it's no good for creating town names "properly", i.e. with multiple parts and so on - it will only do whole names.
Attachments
Action F creator spreadsheet.xls
(35.5 KiB) Downloaded 151 times
ustowns.grf
Only to be used for testing.
(2.03 KiB) Downloaded 137 times
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

The Japanset is trying to have a town-names file also, but as pointed out previously, that part of the Patch appears to be Not Ready for Prime Time.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Have you tried it again? This problem should've been fixed since alpha 49.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

Just trying it out now, I seem to get duplicate town names in almost every game, despite this being impossible according to newgrf.txt. I think I've checked the code for repeated names, so it must be the patch.
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Patchman wrote:I think George is already using cyrillic characters, so they must be available somewhere.
They are for example in the translation of Artem Skrobov.
BTW, alpha 50 breaks the letter 'Ш'
Image Image Image Image
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

George wrote:BTW, alpha 50 breaks the letter 'Ш'
That must be because of adding the Ø and ø characters to the newspaper size font. However, it shouldn't overwrite those characters if they are present in trg1.grf. Do you have a link to the cyrillic character download so I can test this?
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Almost overlooked that one...
Oracle wrote:Just trying it out now, I seem to get duplicate town names in almost every game, despite this being impossible according to newgrf.txt. I think I've checked the code for repeated names, so it must be the patch.
Confirmed, it seems as if the town names are generated with another town name setting, because they are not sorted alphabetically either. I'll have to see what Csaba says about this.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
G-Klav
Chairman
Chairman
Posts: 866
Joined: 20 Nov 2002 16:28
Location: Bjärred, Skåne (Scania), Sweden

Post by G-Klav »

Oracle wrote:
G-Klav wrote:Hmm, can you show me an example?
Thanks for answering, BTW :)
Well, I've attached two half-finished files. (Half-finished here means that I think that they should work but they haven't been rigorously tested.)
Thank you!

I'm planning to include the cyrillic characters in a separate grf file, would that work?
G-Klav

Note: my avatar is best viewed with the 'silver' scheme on the forums.
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

Patchman wrote:I'll have to see what Csaba says about this.
Strangely enough, it doesn't happen to me, neither with alpha 49 nor alpha 50... While testing, I've found another bug, though :? If you select a town name style, start a new game, leave it and start another one, the names revert back to German.

I wish I had more time to work on the Patch, but these fixes have to wait...
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Csaboka wrote:While testing, I've found another bug, though :? If you select a town name style, start a new game, leave it and start another one, the names revert back to German.
That's not a new bug, it's been there since the first testing I did with the original US town names GRF.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

That's OK, but I thought I've fixed it since then. It seems it came back somehow...
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Oh, I see. I haven't started a new game since a50 came out, so I don't know if it's still there for me. Oracle made a new GRF but it's still having (other) problems. I figure by the time I finish the test game I'm on and start a new one, it'll be time enough for another similar test.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Patchman wrote:
George wrote:BTW, alpha 50 breaks the letter 'Ш'
That must be because of adding the Ø and ø characters to the newspaper size font. However, it shouldn't overwrite those characters if they are present in trg1.grf. Do you have a link to the cyrillic character download so I can test this?
http://ttdrussia.net/ttd/section9.php
Win http://mix.web.ur.ru/ttdrus.zip
Dos http://mix.web.ur.ru/ttdrusd.zip
Image Image Image Image
User avatar
G-Klav
Chairman
Chairman
Posts: 866
Joined: 20 Nov 2002 16:28
Location: Bjärred, Skåne (Scania), Sweden

Post by G-Klav »

I get an error message saying that the grf file isn't designed for TTDPatch.
How can I solve that?
G-Klav

Note: my avatar is best viewed with the 'silver' scheme on the forums.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Get the lastest alpha: http://www.ttdpatch.net/src
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Post Reply

Return to “General TTDPatch”

Who is online

Users browsing this forum: No registered users and 2 guests