DB loco in wrong year

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

I think it should be 00 actually. I'm just about to test that to see if it makes any difference. As you said, I doubt it, though.
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

Update: found the bug.
The ICE-TD was included in the GRF because it holds passengers. However, the sprite looked like this:

Code: Select all

23 * 7	 00 00 02 01 0F 07 14
i.e. the GRF was specifying that two properties were being set when only one was. Changing the 02 to 01 fixed the bug, but obviously TTDPatch interprets this situation by implying that there is a property 00 with value 00 00 on the sprite. Is this a bug in GRFCodec or the GRF-handling routines in the Patch, Josef?

The updated version of passload.grf (please download it if you use it) is in its topic in the Graphics forum.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Oracle wrote:Is this a bug in GRFCodec or the GRF-handling routines in the Patch, Josef?
Obviously it was a bug in your grf file... if you give faulty input, you get faulty output...
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 8 guests