Page 1 of 1

EGAHEAD bug

Posted: Fri Nov 26, 2010 6:02 am
by levellass
So after some confusion and annoyance exporting Modkleen created graphics, I discovered something interesting.

Firstly, Modkeen doesn't put the last slot into EGAHEAD. That is, the word giving the length of EGAGRAPH. It is thus 3 bytes shorter than it should be. Fortunately this doesn't have many effects.

However, with Keen Dreams it is four slots short, (8 bytes since KD uses 4-byte slots) which actually means several tiles in KD aren't patched. This means any level using the last four tiles, and they are used, they're some of the fire tiles, crashes. It also gives problems when exporting graphics.

Just thought I'd leave this out there in case anyone else comes across similar bugs when making their own programs.