hiya,
PckViewII can edit SCANG.DAT (as of 2019 feb).
rules:
a) you cannot create a SCANG.DAT, only edit an existing SCANG.DAT
b) it must be in the GEODATA folder of the Configurator's basepath.c) to add an icon, first export one of the existing icons to PNG, then import that PNG at the end of the table (4x4 8-bpp indexed)
d) open the new icon in PckView's editor and open the Palette table.
e) click the "Locked" text at the top of the editor to enable painting ...
f) click on a palette-swatch in the Palette table and click on a pixel of the icon in the editor to color that pixel with the color/index of the swatch.
g) paint your new icon one pixel at a time (there's only 16 pixels in an icon)
h) rinse & repeat
i) save file when done (no warnings are given in Pckview2...)
I suggest editing a
copy of SCANG.DAT, keep the original file intact.
https://www.ufopaedia.org/index.php/SCANG.DAThttps://www.ufopaedia.org/index.php/Image_Formats#SCR_.26_DATthe format of the file is very simple: each group of 16 bytes make up a 4x4 image, each byte is a palette-id
ps. I'm presently working on a new app that will package w/ Mapview2: McdView that ought mimic the functionality of Volutar's MCDEdit ...
pps. the first 35 icons are reserved for units and items on the battlefield, so count starts at #36 ( less than #36 = #0 aka no scang )