To save the entire background use VAR map[0] BGSAVE Layer, map SAVE "DAT:map",map However, if you need to store metadata about the map, then you should use PRGEDIT to use text file instead of binary files.