Game Development Community

Another else with PNG problems?

by Thomas \"Man of Ice\" Lund · in Torque Game Engine Advanced · 09/11/2006 (11:14 pm) · 1 replies

(Bah - cant change the typo in the subject after cration - should read "Anyone else")

-----

Before screaming bug and trying to track this down, I would like to ask if others have seen something similar:

Has anyone else had sporadic problems with a "DAMAGE: before/after X block Y at Z" crash in dbgheap.c trying to load a PNG and failing while the engine creates a texture?

I'm currently playing around with the terrains, and sporadically I'm getting a crash in a totally unrelated PNG used in a GUI control.

If not, then its most likely something I've introduced somewhere - if someone else has seen this, then I'll try to track it down in the GG engine code

#1
09/12/2006 (6:20 am)
I haven't seen this problem but one of the things I did was to replace the older png code that is in TSE with the newer png code that is in TGE. That might fix your problem a lot quicker. It is basically a copy and recompile test.

I also replaced the zlib as well with the newer one from TGE (although that takes a bit more work with the removal and addition of files in the build process, still pretty much a no brainer). Both work well in the new TSE.