The Dink Network

Reply to Re: Dink HD - Good Shadows Patch

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 18th 2017, 03:20 AM
seth.gif
Seth
Peasant He/Him Japan
 
Cool - ok, the problem is the .png loader doesn't know how to properly read 2bit (middle piece of the dialog background.. it's PNG_COLOR_TYPE_GRAY, so it might be 1 bit actually) or 4bit (\graphics\lands\grass\grass-04.png) images. (your converter chooses 4 bit if it's 16 colors or less, probably)

So a fix would be to force 8 bit when doing your conversion to png and just ignore those formats, or fix the loader.

I committed a few small changes - png loader now respects the "checkboard fix" flag, and no longer crashes if a surface failed to load. (it will still assert in debug mode and look crazy though!)