Hello,
My Windows version of EnRLE almost works. I can open and watch the sprites I encode in ResEdit's rle8/D viewers (NovaTools), and I can use them to create shän's, but Nova crashes when it tries to load them. As an experiment, I EnRLEed a red-tinted Vell-Os Dart using my program and using the official w00tware EnRLE. When compared side-by-side in a hex editor, the RLEs are nearly identical. There is only one difference I can see. In SpriteWorld RLEs (the format Nova uses), each block of pixel data is followed by a few "pad bytes" so that the block of data ends on a 4-byte boundary. This speeds up memory access, I believe. My program writes null bytes in this pad area, but the offical EnRLE actually puts non-zero bytes there. My question is this: does anyone out there know what EnRLE is putting in the pad bytes? I would guess that it is a checksum of some sort, which would explain why Nova has an assertion error when it tries to load the sprite. I do not know how it is computed, though.
-Vaumnou
------------------
Did you know that 63.8% of quoted statistics are made up on the spot?
"He's too late. SEE?!? THE CLIFFS OF INSANITY!!! Hurry up!"
"You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. .... Radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat." - Albert Einstein
(This message has been edited by Vaumnou (edited 05-21-2003).)