Update to FEIDIAN

I updated FEIDIAN, and this one actually matters.

Remember the bug MadMalkav turned up in v0.8b that caused bitmaps to corrupt when using his Final Fantasy Tactics tile definition? We couldn’t figure out why, so I told him to just dump 16 columns since that always works. I also added a FORCE_PROPER_WIDTH variable that apparently did absolutely nothing.

Today when Nightwolve was trying to dump 15 columns of 8×8 from Ys IV: The Dawn of Ys, the same thing happened again. After scratching my head for an hour I finally figured out what was wrong — the arse who wrote the bitmap document I’ve been following for all these years failed to mention all data has to be in DWORDs, not BYTEs.

It took 10 extra lines in every bitmap read or write instance, but now FEIDIAN has zero problems regardless of how many columns you’re using or what size the tiles are. It will always properly pad everything so it ends up in DWORDs. I’d like to give a friendly finger to whoever wrote that s–tty format spec for all the trouble it’s caused me.

You suck.

Related Posts

Related posts brought to you by Yet Another Related Posts Plugin.


About this entry