Friday, June 19, 2015

Gash - Writable

Today I filled in the ToFiles method and the setters on all the NextGenGraphics properties. There is code to serialize all the graphics into their binary representations, but right now I'm trying to get it to read in some EGA resources and then spit them back out without modifying them (essentially decompressing the EGAGRAPH). That's not quite working correctly; sprites, pictures, and fonts make it through safely, but tiles, other images, and miscellaneous resources (e.g. the Terminator-style text) get mangled to varying degrees.
All tiles have a 2px-high line through them and the scoreboard is messed up, but sprites are fine.
I am fairly baffled as to how anything is getting mangled; no actual parsing or image processing is done - it's all using the deferred processing system to avoid doing unnecessary work. Further investigation will be done tomorrow.

No comments:

Post a Comment