I'm back. I finally found what was causing those stupid black holes: it was simply a pice of code I didn't remove after doing some early tests. Oh well. Anyway, now I've got a new problem (well, not exacly new): some of the foreground tiles are transparent.
This is starting to become quiet boring. Is there anyone interested in finishing this?
About the filtering, fractal interpolation would really rock. The problem is that I was trying to create a completly automated patch. So unless someone knows about some DLL that allows me to use that filter...
Oh, about the extra color, I don't think it's black (because every pallete has his black entry). However, I've just realized that GEARS says that the number of colors is stored incremented by one
. By the way, the number of colors was actually there, the problem is that it's a 2 byte value instead of a 4 bytes one (as noted in GEARS).