results in a 8 textures per row at 64px per texture, small textures are not upscaled but bigger ones are downscaled.
edit: This writes a full color PNG. I had no luck with 8 bit PNGs in imagemagick. PNG8:filename.out.png gave big loss of colors. -color 256 altered the input images instead of the whole montage.
Yes, JPEG. Looks good and is as small as a proper 256 color PNG (which I could not create in decent quality on the command line; GIMP is fine however…)
for wad in *.wad; do /home/hannes/spiele/quake/quakeforge/bin/bin/wad -x --nomip ${wad} && rename + _+ *.pcx && montage -geometry 64x64>+1+1 -tile 16 -background black -title “${wad}” -fill white *.pcx ${wad}.png && convert -quality 90 ${wad}.png ${wad}.jpg && rm ${wad}.png *.pcx; done
wad -x --nomip file.wad
for i in *.pcx; do pcxtoppm ${i} > ${i}.ppm; done
for i in *.ppm; do ppmhist -noheader ${i} >> colorcounts ; done #creates a file with R G B and counts, not summarized but with one line per occurance per image file.
Trying this for mirroring a SMF forum at the moment:
wget -m -nv -nH --append-output=my.log --no-parent --no-clobber --continue --timeout=10 --adjust-extension --convert-links --page-requisites --keep-session-cookies --user-agent=“Spirit at quaddicted.com archiving this great piece of Quake/id history” http://url
–header=“accept-encoding: gzip” does NOT work with -m since wget cannot READ the downloaded gzipped files.
Keygrip is the easiest tool I could find. Runs well with Wine.
Open the block editor to find the block you want to edit. Then select it in the thumbnail list. “Insert” → “New Message”, “stufftext” “screenshot”.
Save as demo. Done!
edit: I can only insert to every 16th block, what the hell.