also writing size & spp to dump, included script for reading dump

untested though