Skip to content

palconv Console Command

Simon Judd edited this page Sep 11, 2013 · 2 revisions

Arguments

None

Description

Convert the currently selected palette from 6-bit VGA mode to 8-bit mode. If the entry is not a palette, or is already in 8-bit mode, it will be destroyed by this command; so make sure first that it is indeed a 6-bit palette. (A VGA 6-bit palette will appear as a normal palette but extremely dark, since the maximum brightness value for each color channel is 63 instead of 255. SLADE 3 will shift each value both forward and backward, so 0×00aabbcc becomes 0xaabbccaa. This is more accurate than simply multiplying by four since a value of 63 becomes 255 and remains the maximum, instead of becoming 252 and losing a bit of brightness. But if the value was 8-bit to begin with, the two most significant bits are lost.)

Clone this wiki locally