generalized map loading from Polycode *.entity2d file