Page 1 of 1

DCxx text not being preserved (a50)

Posted: 13 May 2005 06:47
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.

Posted: 13 May 2005 07:23
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)

Posted: 13 May 2005 08:16
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.

Posted: 13 May 2005 10:08
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.