Here's the Land View Utilities pack for you, with a script which generates land view files for the first image you've created.
land_view.7z (1.2 MB)
You can easily create more "rgmapXX.png" files, and create land view files for more levels. You can also modify "viframe.png" to get different frame than the default tower window (just remember to keep transparency in some areas).
The script just calls tools which I included in the pack:
Code:
REM First generate palette for the land view
png2bestpal.exe -o "rgmap00.pal" -m "color_tbl_landview.txt" "rgmap00.png" "viframe.png"
REM Now convert land view PNG file into KeeperFX format (8-bit RAW file)
pngpal2raw.exe -o "rgmap00.raw" -p "rgmap00.pal" -f raw -l 100 "rgmap00.png"
rnc.exe "rgmap00.raw"
REM Convert tower frame PNG file into KeeperFX format (8-bit sprite with RLE-compressed alpha channel)
pngpal2raw.exe -o "viframe00.dat" -p "rgmap00.pal" -f hspr -l 50 "viframe.png"
rnc.exe "viframe00.dat"