DCxx text not being preserved (a50)

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

DCxx text not being preserved (a50)

Post by DaleStan »

Load the attached game with the attached (Windows) GRF files somewhere in newgrfw.cfg.

You should see a Oil-fired Power Station and a Water Desalinization Plant.

Now remove the GRF files, and load it again. This time, you'll see a Sweet Factory and a Cotton Candy Forest.

Both GRF files set the industry names with DCxx text IDs. This bug can be duplicated (AFAICT) in any game that contains at least one of these industries.

In a similar vein, the names will revert to their toyland versions if you disable the GRF files in the GRF status window. Was this intentional?

ttdpatch.cfg included for completeness.
Attachments
DCxxText.rar
(126.94 KiB) Downloaded 42 times
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
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

There's a misunderstanding here. Persistent text IDs don't mean that the texts themselves will be persistent, only that the ID will be persistent, so it can be saved in the news history, among other things. If TTD tries to use a persistent text ID whose text became unavailable, you should see "--- GRF text not found ---" instead.

The second thing is that TTDPatch doesn't store the names of the industries - this information comes from the action 0s of your GRFs while activating them. So, if your GRF is disabled, the names revert according to the slot TTDPatch chose to put your new industry in (usually something that isn't available in the current climate)
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

:oops:
So, I'm wrong again. :roll: I seem to be doing a lot of that lately. Sorry.

Permission to have the floor open and swallow me up?

OT-ish: Please take these "Bug Reports" in the best possible way. I guess I prefer to show my appreciation by putting my time and energy into making your work worthwhile, rather than just tell you "Good job", "Great job", "I like the new feature", &c.
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
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

DaleStan wrote::oops:
So, I'm wrong again. :roll: I seem to be doing a lot of that lately. Sorry.

Permission to have the floor open and swallow me up?
No, no. If anyone should be blamed, it's me for not writing clear descriptions. It's my fault that I couldn't make clear how it should work.
DaleStan wrote:OT-ish: Please take these "Bug Reports" in the best possible way. I guess I prefer to show my appreciation by putting my time and energy into making your work worthwhile, rather than just tell you "Good job", "Great job", "I like the new feature", &c.
I should thank you for this. New GRF features are worth nothing without someone actually drawing things for them, so I'm glad you try using this feature even though it's half-finished.
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 19 guests