Friday, June 21, 2013

Title screen palette

Man, who would have thought the palette would have been the bitch part of this.

This turned out to be one of those situations where I have no idea why they did what they did. 

Changing the palette worked fine until I noticed part of it just magically reverted itself a little way through the title screen.  Turns out to achieve the text fading and transparency effects they do with the text that rolls across the screen, they keep about a million fucking modified copies of four of the palette's colors, and swap them in and out over time.  Once I picked through all of this and started generating all of these in the ROM export, everything was good.

Triple compression on this thing.  Compressed tiles, referenced by a compressed block of data that lays them out, all processed by a compressed block of code, and then they throw this giant table of colors in here, presumably to.. make up for the space saved by compressing the whole thing, I guess.  Sigh.  Whatever, it works now.


RetroHelix said...

Good work! Must be really satisfying to know you completed this work.

Anonymous said...

yaaaaaaaaaaaaaaaaaaaaaaaaaaay Im glad we have a grandmaster working on this :D if you were here my boys would throw gold at you're feet