Menu

#31 Exsample "tests" in Package 2.0.7 crashes

open
nobody
None
5
2004-03-01
2004-03-01
No

After I successfully compiled (with Borland C++ Builder 5)
the encoder I was trying to get krdemo (under tests)
running. I had to face so many small crashes due to bad
DAT files.

One of the crash was caused by title.dat I found splash
has been removed in the title.xml v2 and saying "No
longer in use since there is a splash screen"

This is causing a 0 value for numRGBA in
bool KrResourceVault::LoadDatFile( SDL_RWops* data )

U32 numRGBA = SDL_ReadLE32( data );

and it crashes at:
memoryPoolRGBA = new GlLinearMemoryPool( sizeof(
KrRGBA ) * numRGBA );

I couldn't get krdemo running properly until I un-comment
the splash section in title.xml and copy the splash.gif
from v1.

I know, that's not a bug in kyra library. But I just want to
report it here to avoid having more frustrated users in
similar situation :-)

BTW, what can I do to fix this instead of include the
splash file which is not in use.

Phuoc Can HUA

Discussion


Log in to post a comment.

MongoDB Logo MongoDB