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

Post by G-Klav »

I have the latest alpha, the one from the 12th of May.

Could it be something else?
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 »

And it still doesn't work? Which GRF file, and where did you get it?
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
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

The town name GRFs don't work, that's a known Patch issue. They're purely experimental as of yet. Not Ready for Prime Time. Patience....
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

They do work, just not perfectly.
Have you got newtownnames on in ttdpatch.cfg?
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Well, yes, that's what I meant - you do get the townnames, but they don't stay.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Am I the only person who saw this line?
G-Klav wrote:I get an error message saying that the grf file isn't designed for TTDPatch.
The town names GRF sure doesn't do that for me.
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
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 was probably a bit unclear - it's my GRF with the Cyrillic characters that doesn't work. :oops:

My town names will work surely, but:

Oracle, your spreadsheet doesn't work for me (I'm using Open Office...).

I'll use transcripted Russian names while I (with your help ;) ) try to find out what's wrong. It's going to take a while to convert my list with 70+ names to Hexadecimal code (I can't write it fluently...)
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 »

And where is that GRF? If it's not working, then there's probably something wrong with the GRF. The best (only?) way to fix that is to look at the GRF.
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
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 »

The problem is that it's a copy & paste job, since I didn't know how to make a GRF from scratch. The .NFO file should be correct though.

Here it is.
Attachments
rysk.grf
(32.4 KiB) Downloaded 75 times
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 »

The NFO is missing a few vital bits:
- Sprite 0 must be a 4 byte pseudo sprite and tell how many more sprites appear in the file
- An action 8 must appear somewhere before the action A that tells TTDPatch which sprites are supposed to be replaced.

*Then* you put those 687 real sprites.
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
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 »

DaleStan wrote:The NFO is missing a few vital bits:
- Sprite 0 must be a 4 byte pseudo sprite and tell how many more sprites appear in the file
- An action 8 must appear somewhere before the action A that tells TTDPatch which sprites are supposed to be replaced.

*Then* you put those 687 real sprites.
Thanks! :)

I might as well post the file with the town names. It doesn't work either, probably since I don't fully understand Action F.
Attachments
russian.grf
(1.03 KiB) Downloaded 64 times
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 »

Sprite 0 specifies one sprite more than actually exists. You aren't the only person to make this mistake. When counting the number of sprites, don't count sprite 0.

Your action 8 is missing its GRFID (OK, so strictly the GRFID is the first 4 bytes of "Russian Town Names v0.31 (17 May 2005)", leaving you with the name "ian Town Names v0.31 (17 May 2005)")

TTDPatch tells me:
"Error loading new graphics. File "newgrf/russian.grf" has invalid sprite #5 (code 18/14)"

To figure out what that message means, go RTFW.
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
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 »

Thanks a lot - now it's working!

About the Cyrillic charcters - I don't want to replace any sprites, just add new ones...
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 »

G-Klav wrote:About the Cyrillic charcters - I don't want to replace any sprites, just add new ones...
Can't do that. You have to replace the Latin-1 characters if you want Cryllic characters.
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 »

You should probably use the regular russian codepage too, so replace the positions 160..255 with the characters from ISO-8559-5. But that's the way it works in A. Skrobov's russian character set already, so why don't you just use that? It's been posted earlier in this thread.
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 »

Patchman wrote:You should probably use the regular russian codepage too, so replace the positions 160..255 with the characters from ISO-8559-5. But that's the way it works in A. Skrobov's russian character set already, so why don't you just use that? It's been posted earlier in this thread.
Doesn't his set replace the sprites in trg1r.grf? I downloaded a set, which did that at least.
Well, if I must replace the characters I'd rather have it like it's now, transcripted.

Here's the file, it should work for all languages (I'm learning! :mrgreen: ), but it's only tested with German (yes, I'm using the German version :shock: ).

Does anyone want to host it?
Attachments
russian.grf
(1.09 KiB) Downloaded 64 times
Last edited by G-Klav on 18 May 2005 22:06, edited 1 time in total.
G-Klav

Note: my avatar is best viewed with the 'silver' scheme on the forums.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

G-Klav wrote:
Patchman wrote:You should probably use the regular russian codepage too, so replace the positions 160..255 with the characters from ISO-8559-5. But that's the way it works in A. Skrobov's russian character set already, so why don't you just use that? It's been posted earlier in this thread.
Doesn't his set replace the sprites in trg1r.grf? I downloaded a set, which did that at least.
Well, if I must replace the characters I'd rather have it like it's now, transcripted.
It does replace the characters, but that's not the only way to do it. It's easy enough to use grd2grf to convert the .exe file into a regular grf file that replaces the sprites only when active.

Using that system has the advantage that you can have the regular latin characters alongside with the cyrillic characters, but more importantly that russian people can use their regular keyboard mapping to type in the game, which is IMHO the most important point if you ever plan to have this used by russian people.
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 »

Patchman wrote:
It does replace the characters, but that's not the only way to do it. It's easy enough to use grd2grf to convert the .exe file into a regular grf file that replaces the sprites only when active.

Using that system has the advantage that you can have the regular latin characters alongside with the cyrillic characters, but more importantly that russian people can use their regular keyboard mapping to type in the game, which is IMHO the most important point if you ever plan to have this used by russian people.
Where can I find grd2grf, then? BTW, I'll upload a corrected version of the transcripted .grf to my above post in a minute :)
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 »

GRDtoGRF can be found here.
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 »

Sorry, it's "grdtogrf", and Google finds that. But anyway, to save you the work, I've run it on the ttd-rus.exe file and made a newgrf file out of it. It doesn't have a useful GRFID or anything, but it should be useful as a basis.
Attachments
ttd-rus.grf
(11.11 KiB) Downloaded 64 times
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.
Post Reply

Return to “General TTDPatch”

Who is online

Users browsing this forum: No registered users and 2 guests